Maximo Anywhere - 拍照 - 应用程序功能问题

Maximo Anywhere - Take Photo - App Feature Issue

我正在尝试使用 iPad 中的 "Take Photo" 功能,但在保存时出现以下错误。拍照正常,点提交时在任何地方都能看到照片的细节,问题开始。

我已经在 app-features.properties、build.properties 中进行了配置更改。

错误日志:

[ERROR   ] FWLSE0048E: Unhandled exception caught: SRVE0190E: File not found: /anywhereAttachment

java.io.FileNotFoundException: SRVE0190E: File not found: /anywhereAttachment

at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:528)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:127)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88)

at com.worklight.core.auth.impl.AuthenticationFilter.execute(AuthenticationFilter.java:215)

at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)

at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:220)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:968)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1056)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4553)

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.handleRequest(DynamicVirtualHost.java:301)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:954)

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.run(DynamicVirtualHost.java:266)

at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:776)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

 [project MaximoAnywhere]

SRVE0190E: File not found: /anywhereAttachment

此错误意味着当您将 MaximoAnywhere.ear 部署到 MobileFirst Server 时,Anywhere Attachment servlet(出于某种原因)未成功部署。

您能否将 MaximoAnywhere/bin 目录中 MaximoAnywhere.war 中的 web.xml 与 运行 MobileFirst Server 中的 web.xml 进行比较?您应该在 运行 MobileFirst 服务器版本中找到一些缺失的部分。

通常,如果它们不匹配,这是由于 MobileFirst 行为(错误?/功能?),其中 strip/rewrite 如果 MaximoAnywhere.war 已构建,则 web.xml使用与 MobileFirst 服务器不同版本的 MobileFirst 构建库。我们发布并记录了 MobileFirst 服务器 iFix 的确切版本以匹配我们打包的 MobileFirst 构建库以尝试防止此问题,但如果您的 MobileFirst 服务器版本不同步,它仍然可能发生。

您只需将 web.xml 中缺少的信息剪切并粘贴到已部署的 MaximoAnywhere.war web.xml。

您在任何地方都缺少 attachmentServlet 部署,

在/bin 目录的MaximoAnywhere.war 中寻找War,如果您使用的是websphere,那么您需要部署websphere jvm 的war 部分。查找您的 build.properties 并检查您使用的是本地服务器还是远程服务器并正确部署。