I see this error before, but I can't remember what it is, I need more information to be able to test your situation.

On Fri, Nov 13, 2009 at 5:11 PM, Mauricio Salatino <salaboy@gmail.com> wrote:
Yes, I see that.. but it sounds strange.
Because that file mapping is inside the persistence-jpa module, that contains the ProcessInstanceInfo class.


2009/11/13 Vijay K Pandey <VPandey@mdes.ms.gov>

The error stacktrace points to  

 

java.lang.IllegalArgumentException: Unknown entity: org.drools.persistence.processinstance.ProcessInstanceInfo

 

It means you are missing the mapping of the above class in your persistence.xml

 

You might want to make sure that you have the following entities mapped

 

    <class>org.drools.persistence.session.SessionInfo</class>

    <class>org.drools.persistence.processinstance.WorkItemInfo</class>       

          <class>org.drools.persistence.processinstance.ProcessInstanceInfo</class>

          <class>org.drools.persistence.processinstance.variabletypes.JPAPersistedVariable</class>

          <class>org.drools.persistence.processinstance.variabletypes.VariableInstanceInfo</class>

          <class>org.drools.persistence.processinstance.variabletypes.SerializablePersistedVariable</class>                         

Vijay

-----Original Message-----
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of ramram8
Sent: Friday, November 13, 2009 12:56 PM
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Drools flow web console (5.1.M1) deployment in JBoss

 

 

Hi I am having problems to start a new process instance. Please can someone

help in this topic or can someone post a link that could assist me to

resolve the problem.

 

Really i dont where to search to fix this issue

 

Thanks in advance.

 

09:55:39,500 ERROR [STDERR] java.lang.IllegalArgumentException: Unknown

entity: org.drools.persistence.processinstance.ProcessInstanceInfo

09:55:39,500 ERROR [STDERR] at

org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)

09:55:39,500 ERROR [STDERR] at

org.drools.persistence.processinstance.JPAProcessInstanceManager.addProcessInstance(JPAProcessInstanceManager.java:33)

09:55:39,500 ERROR [STDERR] at

org.drools.process.instance.AbstractProcessInstanceFactory.createProcessInstance(AbstractProcessInstanceFactory.java:37)

09:55:39,500 ERROR [STDERR] at

org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1706)

09:55:39,500 ERROR [STDERR] at

org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1682)

09:55:39,500 ERROR [STDERR] at

org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:289)

09:55:39,515 ERROR [STDERR] at

org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:52)

09:55:39,515 ERROR [STDERR] at

org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:14)

09:55:39,515 ERROR [STDERR] at

org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)

09:55:39,515 ERROR [STDERR] at

org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)

09:55:39,515 ERROR [STDERR] at

org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:125)

09:55:39,515 ERROR [STDERR] at

org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)

09:55:39,515 ERROR [STDERR] at

org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)

09:55:39,515 ERROR [STDERR] at

org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)

09:55:39,515 ERROR [STDERR] at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

09:55:39,515 ERROR [STDERR] at

sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

09:55:39,515 ERROR [STDERR] at

sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

09:55:39,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown

Source)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

09:55:39,515 ERROR [STDERR] at

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

09:55:39,515 ERROR [STDERR] at

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

09:55:39,515 ERROR [STDERR] at

org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

09:55:39,515 ERROR [STDERR] at

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

09:55:39,515 ERROR [STDERR] at

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)

09:55:39,515 ERROR [STDERR] at

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

09:55:39,515 ERROR [STDERR] at

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

09:55:39,515 ERROR [STDERR] at

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

09:55:39,515 ERROR [STDERR] at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

09:55:39,515 ERROR [STDERR] at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

09:55:39,515 ERROR [STDERR] at

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

09:55:39,515 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)

09:55:39,531 ERROR [STDERR] Nov 13, 2009 9:55:39 AM

org.jboss.resteasy.core.SynchronousDispatcher handleWebApplicationException

SEVERE: failed to execute

javax.ws.rs.WebApplicationException: java.lang.RuntimeException: Could not

rollback transaction

at

org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:194)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at

org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)

at

org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)

at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)

at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)

at

org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)

at

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)

at

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

at

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

at

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at

org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

at

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

at

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)

at

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.RuntimeException: Could not rollback transaction

at

org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:283)

at

org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)

at

org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:125)

at

org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)

at

org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)

at

org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)

... 36 more

Caused by: java.lang.RuntimeException: Could not execute command

at

org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:280)

... 41 more

Caused by: java.lang.IllegalArgumentException: Unknown entity:

org.drools.persistence.processinstance.ProcessInstanceInfo

at

org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)

at

org.drools.persistence.processinstance.JPAProcessInstanceManager.addProcessInstance(JPAProcessInstanceManager.java:33)

at

org.drools.process.instance.AbstractProcessInstanceFactory.createProcessInstance(AbstractProcessInstanceFactory.java:37)

at

org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1706)

at

org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1682)

at

org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:289)

at

org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:52)

at

org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:14)

at

org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)

--

View this message in context: http://old.nabble.com/Drools-flow-web-console-%285.1.M1%29-deployment-in-JBoss-tp25952512p26337317.html

Sent from the drools - user mailing list archive at Nabble.com.

 

_______________________________________________

rules-users mailing list

rules-users@lists.jboss.org

https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -