[jBPM Development] - Not showing processes in jbpm cosole
by Hanumantharao satuluri
Hanumantharao satuluri [http://community.jboss.org/people/hanu.satuluri] created the discussion
"Not showing processes in jbpm cosole"
To view the discussion, visit: http://community.jboss.org/message/610758#610758
--------------------------------------------------------------
Hi Everyone,
I am very new to jbpm. I have installed JBPM5.0 full installer in my machine. My requirement is to run jbpm cosole in Tomcat server and deploy the processes in the console. I have confiured the jbpm into Tomcat. When I open the jbpm-console and click on process overview the following error is coming:
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: null org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319) org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230) org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
java.lang.RuntimeException: Could not initialize stateful knowledge session: null org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:149) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:157) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
java.lang.ExceptionInInitializerError org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:97) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:157) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:105) org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:97) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:157) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416) org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:105) org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:97) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:157) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412) org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272) org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246) org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:105) org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:97) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:157) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:67) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
Could anyone please help on this.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/610758#610758]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]