2015-12-11 56 views
0

我試圖在Worklight控制檯(Wl 6.2)中使用活動,通知功能通知特定版本的用戶。它沒有成功,下面的消息被扔在日誌中。
我們最近更新了IBM的iFix(Worklight v6.2.0.1 InterimFix 201511281300)。由於我們第一次嘗試使用此功能,因此無法確定是否因此修復。 任何幫助將不勝感激。活動,通知功能在Worklight 6.2中不起作用

服務器日誌:

 [12/11/15 8:59:58:564 SGT] 00000127 com.ibm.worklight.admin.actions.BaseTransaction    E RuntimeMBeanCallable.call() exception 

java.lang.reflect.UndeclaredThrowableException 在$ Proxy213.setAccessRule(來源不明) 在com.ibm.worklight.admin.actions.ApplicationEnvironmentAccessRuleChangeTransaction.prepareMBean(ApplicationEnvironmentAccessRuleChangeTransaction.java :170) 在com.ibm.worklight.admin.actions.util.RuntimeMBeanWorkerThreadCaller $ RuntimeMBeanCallable.call(RuntimeMBeanWorkerThreadCaller.java:75) 在com.ibm.worklight.admin.actions.util.RuntimeMBeanWorkerThreadCaller.callSynchronously(RuntimeMBeanWorkerThreadCaller.java :182) 在com.ibm.worklight.admin.actions.util.RuntimeMBeanPoolCaller.callRuntimeMBeans(RuntimeMBeanPoolCaller.java:93) 在com.ibm.worklight.admin.actions.BaseTransaction.prepare(BaseTransaction.java:395) 在COM。 ibm.worklight.admin.actions.BaseTransaction.internalRun(BaseTransaction.java:311) at com.ibm.worklight.admin.actions.BaseTransaction.run(BaseTransaction.java:227) at com.ibm.worklight.admin。 services.ApplicationEnvService.setVersionAccessRuleInternal(ApplicationEnvService.java:657) 在com.ibm.worklight.admin.services.ApplicationEnvService.setVersionAccessRule(ApplicationEnvService.java:514) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本機方法) 在陽光下.reflect.NativeMethodAccessorImpl.invoke(未知來源)(未知源) at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java: 63) 在org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 在有機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) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22) 在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(FindResou rceMethodHandler.java:183) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler。的java:230) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java: 230) org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 的組織。 apache.wink.server.handlers.RequestHa ndlersChain.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) 在org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67) 在org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53) 的組織。 apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22) 在org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67) 在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(RequestHandlersCh (org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67) 在org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 的組織。 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(RequestHa ndlersChain.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 com.ibm.worklight.admin。 services.RestServlet.service(RestServlet.java:39) at javax.servlet.http.HttpServlet.service(HttpServlet。java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1240) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:760) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest在com.ibm.ws.(ServletWrapper.java:443) 在com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:127) webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88) at com.ibm.worklight.admin.services.RestFilter.doFilter(RestFilter.java:61) 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.worklight.admin.common.filter.HSTSFilter.doFilter(HSTSFilter.java:110) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194) at 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.webapp.WebApp.handleRequest(WebApp.java:4499) 在com.ibm.ws.webcontainer.osgi.DynamicVirtualHost $ 2.handleRequest (DynamicVirtualHost.java:282) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:954) at com.ibm.ws.webcon tainer.osgi.DynamicVirtualHost $ 2.run(DynamicVirtualHost.java:252) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink $ TaskWrapper.run(HttpDispatcherLink.java:584) at com.ibm.ws .threading.internal.Worker.executeWork(Worker.java:439) at com.ibm.ws.threading.internal.Worker.run(Worker.java:421) at java.lang.Thread.run(Unknown Source) 由:java.io.InvalidObjectException引起:沒有構造函數對這組項目具有@ConstructorProperties:[action,createdTime,downloadLink,message,multiLanguageMes​​sagesJSON] at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory $ CompositeBuilderViaConstructor.fromCompositeData(Unknown源) at com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory $ CompositeMapping.fromNonNullOpenValue(Unknown Source) 在com.sun.jmx.mbeanserver.DefaultMXBeanMappingFactory $ NonNullMXBeanMapping.fromOpenValue(來源不明) 在com.sun.jmx.mbeanserver.ConvertingMethod.fromOpenParameters(來源不明) 在com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(來源不明) 在com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(來源不明) 在com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(來源不明) 在com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2 (未知來源) 在com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(未知來源) 在com.sun.jmx.mbeanserver.PerInterface.invoke(未知來源) 在com.sun.jmx.mbeanserver.MBeanSupport。調用(未知來源) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source) at com.ibm.ws.kernel.boot.jmx.service.MBeanServerForwarderDelegate .invoke(MBeanServerForwarderDelegate.java:197) 在com.ibm.ws.jmx.internal.DelayedMBeanActivator.invoke(DelayedMBeanActivator.java:445) 在com.ibm.ws.kernel.boot.jmx.internal.PlatformMBeanServer.invoke (PlatformMBeanServer.java:272) at com.ibm.ws.jmx.connector.server.rest.helpers.MBeanServerHelper.invoke(MBeanServerHelper.java:159) at com.ibm.ws.jmx.connector.server.rest .resources.MBeanResource.invocation(MBeanResource.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect。NativeMethodAccessorImpl.invoke(來源不明) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(來源不明) 在java.lang.reflect.Method.invoke(來源不明) 在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:75) 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 ) 在org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75) 在org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34) 在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:75) at org.apache.wink.server.internal.han dlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:188) 在org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110) 在org.apache.wink.server.handlers.RequestHandlersChain。處理(RequestHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java: 75) 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(熱曲(org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java: 53) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22) 在有機apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.OptionsMethodWADLHandler.handleRequest(OptionsMethodWADLHandler.java:51) 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:75) at org.apache.wink.server.internal.handlers。 SearchResultHandler.handleRequest(SearchResultHandler.java:33) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26) 在org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain。的java:22) 在org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75) 在org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92) at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain。在org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75) 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:75) at org.apache.wink.server.handlers。 AbstractHandlersChain.run(AbstractHandlersChain.java:60) 在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 :124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1240) at com.ibm.ws .webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:760) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443) at com.ibm.ws.webcontainer.filter.WebAppFilterChain .invokeTarget(WebAppFilterChain.java:127) 在com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88) 在com.ibm.ws.app.manager.wab.internal.OsgiDirectoryProtectionFilter.doFilter(OsgiDirectoryProtectionFilter.java:96) 在com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194) 在com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:949) at com.ibm.ws. webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1029) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78) at com.ibm.ws.webcontainer.WebContainer.handleRequest( WebContainer.java:885) ... 5個

活動日誌: 事務13752 類型:SET_APPLICATION_ENV_VERSION_ACCESS_RULE 狀態:FAILURE dateCreated會:2015-12-11T00:59:58.361Z dateUpdated:2015-12-11T00:59:59.297Z 服務器:自由 描述: appVersion: 的applicationName:ABCD 環境:iphone 版本:1.0 動作:NOTIFY createdAtDate:2015-12-11T00:59:58.299Z downloadLink: 消息:你好 錯誤: 1: mbeanName:com.worklight.common.server.jmx.api:qualifier = ABCD,type = ProjectManagement_KOM-MAP-WLSRV date:2015-12-11T00:59:58.627Z phase:PREPARE code:FAILURE 例外: UndeclaredThrowableException 詳細信息:UndeclaredThrowableException

回答

0

該異常清楚地表明在創建保存活動通知規則時出現問題。請打開PMR,以便調查和解決問題。您將收到iFix ...

+0

感謝您的幫助Idan。 – user4367

相關問題