[jboss-user] [jBPM] - jbpm 5.1 not getting installed properly

Seshadri Jagannathan do-not-reply at jboss.com
Sat Feb 11 23:59:56 EST 2012


Seshadri Jagannathan [https://community.jboss.org/people/seshadri.j] created the discussion

"jbpm 5.1 not getting installed properly"

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

--------------------------------------------------------------
Hi

i wish to show a demo to my client on jbpm. 
I downloaded jbpm 5.1 full installer and installed through ant.install.demo. i tried to run the jbpm console. the console is opening. but when i clicked on the "Processes" to see the example there.. i am getting the following error.  [using jdk 1.5 and ant 1.6.. is this ok ?] . i can expose it to your team  thru teamviewer to  get it properly installed.

URL: ' http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions' 
Action: 'org.jboss.bpm.console.client.process.UpdateDefinitionsAction' 
Exception: 'class com.google.gwt.http.client.RequestException'
HTTP 500: 
HTTP Status 500 - 
--------------------------------------------------------------------------------
type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception 
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
 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:717)
 org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
 org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
 org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
 org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
 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:585)
 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:717)
 org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:130)
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
 org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
 org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
 org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
 org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
 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:585)
 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:717)
 org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.reflect.InvocationTargetException
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
 org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
 org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
 org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
 org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
 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:585)
 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:717)
 org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause 
java.lang.ClassCastException: [Ljava.lang.Object;
 org.drools.marshalling.impl.OutputMarshaller.writePropagationContexts(OutputMarshaller.java:716)
 org.drools.marshalling.impl.OutputMarshaller.writeFactHandles(OutputMarshaller.java:280)
 org.drools.marshalling.impl.OutputMarshaller.writeSession(OutputMarshaller.java:107)
 org.drools.marshalling.impl.DefaultMarshaller.marshall(DefaultMarshaller.java:136)
 org.drools.persistence.SessionMarshallingHelper.getSnapshot(SessionMarshallingHelper.java:72)
 org.drools.persistence.info.SessionInfo.update(SessionInfo.java:81)
 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:585)
 org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
 org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
 org.hibernate.ejb.event.EntityCallbackHandler.preCreate(EntityCallbackHandler.java:49)
 org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:48)
 org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
 org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
 org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
 org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
 org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
 org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
 org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
 org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17)
 org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
 org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
 org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
 org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
 org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
 org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
 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:585)
 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:717)
 org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the JBoss Web/ http://2.1.3.ga/ 2.1.3.GA logs.
--------------------------------------------------------------------------------
JBoss Web/ http://2.1.3.ga/ 2.1.3.GA 
also trying to trying to test through eclipse. there also the following is error is existing.. pls help.

org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
 at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
 at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
 at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
 at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
 at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:254)
 at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:182)
 at org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
 at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
 at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:40)
 at com.sample.ProcessTest.main(ProcessTest.java:24)
Caused by: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level
 at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:161)
 at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)
 at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
 ... 9 more
Best Regards,
Sesh
--------------------------------------------------------------

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

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/20120211/1d16d08d/attachment-0001.html 


More information about the jboss-user mailing list