当我尝试在Worklight 6.2中更新iphone的构建时,它给出了以下异常。应用程序适用于Android甚至直接更新正在按预期发生。但是,对于iPhone,它在构建和安装新的ipa时工作正常。每当构建更新时,它都会抛出异常(仅适用于iOS)。
[11/6/15 17:12:04:816 SGT] 00000095 com.worklight.core.auth.impl.LoginContext E FWLSE0059E:登录领域' WLDirectUpdateNullLoginModule'失败。无法删除原始文件' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \插件-资源\ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip_temp.base64'复制到' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \ widget -resources \ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip.base64&#39 ;. [项目abcApp] com.worklight.gadgets.GadgetRuntimeException:无法为abc @ iphone @ v1.0 for skin创建base64编码文件:default 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.getUpdateZipLength(DirectUpdateAuthenticator.java:345) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.testSkin(DirectUpdateAuthenticator.java:245) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.processRequest(DirectUpdateAuthenticator.java:130) 在com.worklight.core.auth.impl.LoginContext.processRequest(LoginContext.java:200) 在com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:557) 在com.worklight.core.auth.impl.AuthenticationContext.processRealms(AuthenticationContext.java:457) 在com.worklight.core.auth.impl.AuthenticationContext.pushCurrentResource(AuthenticationContext.java:431) 在com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:75) 在com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:230) 在com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194) 在com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85) 在com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:949) 在com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1029) 在com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78) 在com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:885) 在com.ibm.ws.webcontainer.osgi.DynamicVirtualHost $ 2.run(DynamicVirtualHost.java:252) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink $ TaskWrapper.run(HttpDispatcherLink.java:584) 在com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439) 在com.ibm.ws.threading.internal.Worker.run(Worker.java:421) 在java.lang.Thread.run(未知来源) 引起:java.io.IOException:无法删除原始文件' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ TEMP \ default_node \ SMF_WebContainer \ abcApp \ abcApp \插件资源\ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip_temp.base64'复制到' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \ widget -resources \ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip.base64' 在org.apache.commons.io.FileUtils.moveFile(FileUtils.java:2109) at com.worklight.gadgets.serving.handler.GetApplicationUpdatesHandler.getBase64EncodedFile(GetApplicationUpdatesHandler.java:418) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.getUpdateZipLength(DirectUpdateAuthenticator.java:343) ......还有19个
[11/6/15 17:12:04:816 SGT] 00000095 com.worklight.core.auth.impl.LoginContext E FWLSE0117E:错误代码:4,错误说明:AUTHENTICATION_ERROR,错误消息:发生错误时使用loginModule执行身份验证WLDirectUpdateNullLoginModule,用户身份不可用。 [project abcApp] [project abcApp] [11/6/15 17:12:05:565 SGT] 00000095 com.worklight.core.auth.impl.LoginContext E FWLSE0059E:登录领域' WLDirectUpdateNullLoginModule'失败。无法删除原始文件' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \插件-资源\ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip_temp.base64'复制到' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \ widget -resources \ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip.base64&#39 ;. [项目abcApp] com.worklight.gadgets.GadgetRuntimeException:无法为abc @ iphone @ v1.0 for skin创建base64编码文件:default 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.getUpdateZipLength(DirectUpdateAuthenticator.java:345) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.testSkin(DirectUpdateAuthenticator.java:245) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.processRequest(DirectUpdateAuthenticator.java:130) 在com.worklight.core.auth.impl.LoginContext.processRequest(LoginContext.java:200) 在com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:557) 在com.worklight.core.auth.impl.AuthenticationContext.processRealms(AuthenticationContext.java:457) 在com.worklight.core.auth.impl.AuthenticationContext.pushCurrentResource(AuthenticationContext.java:431) 在com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:75) 在com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:230) 在com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194) 在com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85) 在com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:949) 在com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1029) 在com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78) 在com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:885) 在com.ibm.ws.webcontainer.osgi.DynamicVirtualHost $ 2.run(DynamicVirtualHost.java:252) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink $ TaskWrapper.run(HttpDispatcherLink.java:584) 在com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439) 在com.ibm.ws.threading.internal.Worker.run(Worker.java:421) 在java.lang.Thread.run(未知来源) 引起:java.io.IOException:无法删除原始文件' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ TEMP \ default_node \ SMF_WebContainer \ abcApp \ abcApp \插件资源\ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip_temp.base64'复制到' C:\ Program Files \ IBM \ WebSphere \ Liberty \ usr \ servers \ wlserver \ workarea \ org.eclipse.osgi \ bundles \ 75 \ data \ temp \ default_node \ SMF_WebContainer \ abcApp \ abcApp \ widget -resources \ ABC-iphone-1.0-7ff817131d192dbb7139e9b4937811096e67a866 \直接更新\ ABC-iphone-1.0-default.zip.base64' 在org.apache.commons.io.FileUtils.moveFile(FileUtils.java:2109) at com.worklight.gadgets.serving.handler.GetApplicationUpdatesHandler.getBase64EncodedFile(GetApplicationUpdatesHandler.java:418) 在com.worklight.core.auth.ext.DirectUpdateAuthenticator.getUpdateZipLength(DirectUpdateAuthenticator.java:343) ......还有19个
[11/6/15 17:12:05:565 SGT] 00000095 com.worklight.core.auth.impl.LoginContext E FWLSE0117E:错误代码:4,错误说明:AUTHENTICATION_ERROR,错误消息:发生错误时使用loginModule执行身份验证WLDirectUpdateNullLoginModule,用户身份不可用。 [project abcApp] [project abcApp]
答案 0 :(得分:0)
这是Worklight 6.2最近的一次回归,已修复。
请从IBM Fix Central下载并安装最新的6.2 iFix(修复程序位于服务器组件中,因此请确保安装它)。