Worklight Appcenter控制台出错

时间:2016-07-26 00:53:57

标签: ibm-mobilefirst worklight-server worklight-appcenter

我们试图从Worklight appcenter控制台访问可部署文件(.apk,.ipa)以更新应用程序的新版本,但它抛出了以下错误。我们注意到所有应用程序都发生了同样的情况,而不仅仅是任何特定的应用程序。

请注意,以前工作正常。但是由于某个问题,我们最近不得不更新自由概况(8.5.5.9)。但不太确定是否会产生问题或其他任何问题。

非常感谢任何帮助。

[7/25/16 16:25:19:590 SGT] 000000ac com.ibm.puremeap.services.DirectoryService                   E {
   "id": "72278944-b8c7-4faa-adfe-1716786a8a28",
   "message": "FWLAC0000E: A server error was detected.",
   "params": [
   ],
   "productVersion": "6.2.0.01-20151118-0709"
}
com.ibm.puremeap.resources.exceptions.SystemException
   at com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.getAreFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.java:413)
   at com.ibm.puremeap.services.DirectoryService.addFavoriteFlag(DirectoryService.java:450)
   at com.ibm.puremeap.services.DirectoryService.__retrieve2__(DirectoryService.java:430)
   at com.ibm.puremeap.services.DirectoryService.__retrieve__(DirectoryService.java:394)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
   at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:183)
   at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)
   at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)
   at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
   at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
   at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
   at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
   at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
   at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
   at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:133)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1290)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:778)
   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:152)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:94)
   at com.ibm.puremeap.services.RestFilter.doFilter(RestFilter.java:60)
   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1021)
   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1143)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4869)
   at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:297)
   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:997)
   at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:262)
   at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:955)
   at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:341)
   at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:471)
   at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:405)
   at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:285)
   at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:66)
   at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)
   at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)
   at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929)
   at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
   at com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.areFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.java:442)
   at com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.getAreFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.java:408)
   ... 83 more

以下是环境细节:

Worklight版本:6.2.0.01-20151118-0709, Liberty Profile:8.5.5.9, 操作系统:Windows Server 2008,

1 个答案:

答案 0 :(得分:0)

PI24446。您需要安装相应的ifix。最好安装最新的工作灯ifix。

通常,这是登录到Application Center控制台的用户的问题。 ifix应该解决问题,如果没有,那么至少它会在日志文件中提供有关错误的详细异常消息。通常,问题是用户的登录名与LDAP(如果您使用的是LDAP)的情况不匹配。它也可能是自由中的应用程序安全性被禁用,因此根本没有用户登录,但Application Center控制台不支持。

关于应用安全性,请验证server.xml是否包含< feature> appSecurity-1.0< / feature>。

关于如何详细配置应用程序安全性,请参阅the Knowledge Center about Liberty