2016-07-26 77 views
0

我們試圖從Worklight appcenter控制檯訪問可部署文件(.apk,.ipa)以更新新版本的應用程序,但它拋出了以下錯誤。我們注意到所有應用程序都發生了同樣的情況,而不僅僅是任何特定的應用程序。Worklight Appcenter控制檯給出錯誤

請注意,它之前工作正常。但是由於某個問題,我們最近不得不更新自由概況(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 

下面是環境的詳細信息:

工作燈版本:6.2.0.01-20151118-0709, 自由簡介:8.5.5.9, 操作系統:Windows Server 2008,

+0

您是否試圖訪問appcenter目錄併發生此錯誤?你能詳細說明一下嗎?理想情況下,將其更新爲自由配置文件(8.5.5.9)應該不會導致問題。 –

+0

我們在所有應用程序的應用程序屬性屏幕中出現錯誤。 – user4367

回答

0

PI24446。您需要安裝相應的ifix。最好是安裝最新的Worklight的ifix。

通常,這是登錄到Application Center控制檯的用戶的問題。 ifix應該修復問題,如果不是,那麼至少它會在日誌文件中給你詳細的異常消息,告訴你什麼是錯誤的。通常,問題是用戶的登錄名與LDAP相比(如果您使用的是LDAP)的案例不匹配。也可能是由於應用程序安全問題被禁用,因此根本沒有用戶登錄,這是Application Center控制檯不支持的。

關於應用程序安全性,請驗證server.xml是否包含<功能> appSecurity-1.0 < /功能>。

關於如何詳細配置應用程序安全性,請參見the Knowledge Center about Liberty

+0

謝謝格奧爾格。已驗證的server.xml,它包含 appSecurity-1.0 appSecurity-2.0 user4367

+0

我從來沒有在同一個server.xml中使用appSecurity-1.0和appSecurity-2.0,因此我沒有這方面的經驗。我認爲appSecurity-2.0還需要servlet-3.0功能才能保證Web應用程序的安全。事實上,我只有一個使用appSecurity-1.0的自由,另一個自由使用appSecurity-2.0和servlet-3.0。我從來沒有嘗試其他組合。 –

+0

另請參閱http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/rwlp_feature_appSecurity-2.0.html。在測試文檔中也有一些更好的解釋,請參閱http://www.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/rwlp_superfeat.html –

相關問題