[jBPM] - JBPM5 Process with mysterious Error
by mrmoe
mrmoe [http://community.jboss.org/people/mrmoe] created the discussion
"JBPM5 Process with mysterious Error"
To view the discussion, visit: http://community.jboss.org/message/592021#592021
--------------------------------------------------------------
Hi,
I try to get my own process running in the jbpm-console. I build a package via guvnor, this performs successfully. Afterwards, i try to run this process, the Process starts but aborted when its ended with a HTTP 500 exception. I looked into the log file and found the following exception:
( The jboss told me that he cant store the instance object. Why? And how it is possible to store a process correctly or how can i avoid storing a process?)
I used JBOSS 4.2.3, a MySQL Database and Eclipse 3.6.x. It would be really great if someone could help me.
javax.persistence.PersistenceException: java.lang.IllegalArgumentException: IOException while storing process instance 2: java.lang.Object
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:527)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:167)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:297)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:219)
at org.jbpm.integration.console.CommandDelegate.startProcess(CommandDelegate.java:233)
at org.jbpm.integration.console.ProcessManagement.newInstance(ProcessManagement.java:79)
at org.jboss.bpm.console.server.FormProcessingFacade.startProcessWithUI(FormProcessingFacade.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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(Thread.java:662)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/592021#592021]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[jBPM] - JBPM4-Creating a user
by Dhivya Swaminathan
Dhivya Swaminathan [http://community.jboss.org/people/dhivyateg] created the discussion
"JBPM4-Creating a user"
To view the discussion, visit: http://community.jboss.org/message/592006#592006
--------------------------------------------------------------
Hi,
I am using jbpm4.And has added a single user in example.identities and executed the ant command a"ant load.example.identities.This blocks the access for the default users like mike,alex and peter.I have given the new user values as shown in the screenshots.*Also need help about how the task form values are retrieved in next nodes and need a good stepwise example to understand.*
Please help.The highlited queries are changed by me in example.identities.
INSERT INTO JBPM4_ID_GROUP VALUES (1,0,'manager','manager','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES (2,0,'administrator','administrator','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES (3,0,'user','user','security-role',NULL);
INSERT INTO JBPM4_ID_GROUP VALUES(4,0,'sales','sales',NULL,NULL);
INSERT INTO JBPM4_ID_USER VALUES (1,0,'alex','password','Alex',NULL, mailto:'alex(a)jbpm.org 'alex(a)jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (2,0,'mike','password','Mike',NULL, mailto:'mike(a)jbpm.org 'mike(a)jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (3,0,'peter','password','Peter',NULL, mailto:'peter(a)jbpm.org 'peter(a)jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (4,0,'mary','password','Mary',NULL, mailto:'mary(a)jbpm.org 'mary(a)jbpm.org');
INSERT INTO JBPM4_ID_USER VALUES (5,0,'dhivya','password','Dhivya',NULL,'dhivya(a)jbpm.org (mailto:'dhivya(a)jbpm.org)');
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (1,0,1,2,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (2,0,2,1,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (3,0,3,3,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (4,0,3,4,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (5,0,4,3,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (6,0,4,4,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (7,0,5,3,NULL);
INSERT INTO JBPM4_ID_MEMBERSHIP VALUES (8,0,5,4,NULL);
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/592006#592006]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[Datasource Configuration] - Try to use the external database following document, but not work.
by Yan Wang
Yan Wang [http://community.jboss.org/people/ywang4362a] created the discussion
"Try to use the external database following document, but not work."
To view the discussion, visit: http://community.jboss.org/message/590672#590672
--------------------------------------------------------------
HI! All,
We are trying to use oracle database as external database for AS6.0. We are following the jboss_jca_guide. But encount several problems.
1. 2.5 Change Database for the JMS services is invalid, see my previous post and kindly replied.
2. 2.7 Specify Database Dialect for Java persisetnce API, there is no such file: <JBoss_Home>/server/all/ deploy/ejb3.deployer/META-INF/persistence.properties
3. 2.8. Change Other JBoss AS Services to Use the External Database, we follow 2.8.1 The Easy Way. However, after we run jboss, it does not use our external database (I donot see any table is created in my oracle database). For sure, we change JNDI name in oracle-ds.xml and we put oracle-ds.xml to <JBoss_Home>/server/all/deploy/. We also remove <JBoss_Home>/server/all/deploy/hsqldb-ds.xml file.
Anyone can give us the hints?
Thanks a lot!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590672#590672]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month