[jboss-user] [jBPM] - jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand

Nurlan Rakhimzhanov do-not-reply at jboss.com
Tue Jul 10 00:16:55 EDT 2012


Nurlan Rakhimzhanov [https://community.jboss.org/people/nurlan.rakhimzhanov] created the discussion

"jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand"

To view the discussion, visit: https://community.jboss.org/message/747077#747077

--------------------------------------------------------------
Hi, guys!
I am new to jbpm5, I tried to run jbpm5.3 on jboss7, but it shows:

log:
09:31:23,517 INFO   org.hibernate.tool.hbm2ddl.SchemaUpdate org.hibernate.tool.hbm2ddl.SchemaUpdate (http--127.0.0.1-8080-6) schema update complete
09:31:23,518 INFO   org.hibernate.util.NamingHelper org.hibernate.util.NamingHelper (http--127.0.0.1-8080-6) JNDI InitialContext properties:{}
09:31:23,522 WARN   https://community.jboss.org/message/747077#747077#747077/org.hibernate.hql.QuerySplitter jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand (http--127.0.0.1-8080-6) no persistent classes found for query class: select processInstanceInfo.processInstanceId from org.jbpm.persistence.processinstance.ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type
09:31:24,231 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError
          at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) resteasy-jaxrs-2.3.2.Final.jar:
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) jbossweb-7.0.13.Final.jar:
          at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) jbossweb-7.0.13.Final.jar:
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) jboss-as-web-7.1.1.Final.jar:7.1.1.Final
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) jbossweb-7.0.13.Final.jar:
          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) jbossweb-7.0.13.Final.jar:
          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) jbossweb-7.0.13.Final.jar:
          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) jbossweb-7.0.13.Final.jar:
          at java.lang.Thread.run(Thread.java:680)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
Caused by: java.lang.ExceptionInInitializerError
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.SessionInitializer.(SessionInitializer.java:25) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.TaskManagement.(TaskManagement.java:51) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at java.lang.reflect.Method.invoke(Method.java:597)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) resteasy-jaxrs-2.3.2.Final.jar:
          ... 23 more
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not connect task client Mina(127.0.0.1:9123)
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.(StatefulKnowledgeSessionUtil.java:127) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          ... 39 more
Caused by: java.lang.IllegalArgumentException: Could not connect task client Mina(127.0.0.1:9123)
          at org.jbpm.integration.console.TaskClientFactory.newAsyncInstance(TaskClientFactory.java:109) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.registerWorkItemHandler(StatefulKnowledgeSessionUtil.java:329) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:158) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          ... 40 more


09:31:48,310 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
          at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) resteasy-jaxrs-2.3.2.Final.jar:
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) jbossweb-7.0.13.Final.jar:
          at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) jbossweb-7.0.13.Final.jar:
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) jboss-as-web-7.1.1.Final.jar:7.1.1.Final
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) jbossweb-7.0.13.Final.jar:
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) jbossweb-7.0.13.Final.jar:
          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) jbossweb-7.0.13.Final.jar:
          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) jbossweb-7.0.13.Final.jar:
          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) jbossweb-7.0.13.Final.jar:
          at java.lang.Thread.run(Thread.java:680)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.SessionInitializer.(SessionInitializer.java:25) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.ProcessManagement.(ProcessManagement.java:38) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final
          at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:89)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125)  https://community.jboss.org/message/747077#747077#747077/classes: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at java.lang.reflect.Method.invoke(Method.java:597)  https://community.jboss.org/message/747077#747077#747077/classes.jar:1.6.0_33 jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.Unhand
          at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) resteasy-jaxrs-2.3.2.Final.jar:
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) resteasy-jaxrs-2.3.2.Final.jar:
          ... 23 more




in browser:


is there some suggestion or hints?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/747077#747077]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120710/eb6b14cd/attachment-0001.html 


More information about the jboss-user mailing list