[jBPM] - problem about jbpm5.1 web console
by HUI LIU
HUI LIU [http://community.jboss.org/people/brianlh] created the discussion
"problem about jbpm5.1 web console"
To view the discussion, visit: http://community.jboss.org/message/614793#614793
--------------------------------------------------------------
I have installed jbpm5.1 by "ant install.demo" and started it.
When I access jbpm5.1.0 web console http://localhost:8080/jbpm-console/app.htm http://localhost:8080/jbpm-console/app.htm and review the process list,
then an exception is thrown out.
Who can give me some advice to solve the problem?
Thanks in advance.
=================================================================
URL: '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: Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontr� une erreur interne () qui l'a emp�ch� de satisfaire la requ�te. exception org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Failed to load: org.jbpm.integration.console.ManagementFactoryImpl 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)* =================================================================
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614793#614793]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - Start JBPM5 process from web app
by Massimiliano Andriotto
Massimiliano Andriotto [http://community.jboss.org/people/argonauta] created the discussion
"Start JBPM5 process from web app"
To view the discussion, visit: http://community.jboss.org/message/614730#614730
--------------------------------------------------------------
Hi to all I need some help to activate a process from a web application deployed inside the same JBoss where guvnor runs.
I'm using eclipse to develop and to install my process inside drools-guvnor, I find it inside the defaultPackage. Using the same web interface i build the package all goes ok.
I see the process inside the jbpm-console and I'm able to start it.
Now I have a web application and I have to start the process. This is the code:
| | | | KnowledgeBuilder kbuilder = KnowledgeBuilderFactory |
| | | | | | .newKnowledgeBuilder(); |
| | | | KnowledgeBase kbase = kbuilder.newKnowledgeBase(); |
| | | | |
| | | | StatefulKnowledgeSession ksession = kbase |
| | | | | | .newStatefulKnowledgeSession(); |
| | | | ksession.startProcess("com.sample.bpmn.hello"); |
| | | | |
but I see an exception
Unknown process ID: com.sample.bpmn.hello
Thank you
Massimiliano
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614730#614730]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[Beginner's Corner] - Is this a timeout issue or something different..
by Jeremiah Twidwell
Jeremiah Twidwell [http://community.jboss.org/people/jeremy0] created the discussion
"Is this a timeout issue or something different.."
To view the discussion, visit: http://community.jboss.org/message/614743#614743
--------------------------------------------------------------
I have an issue with a large delete transaction, on the postgres database there exists quite a bit of data and the query runs long.
I increased the timeout to 15 minutes, however the issue that happens remains the same. (I did this after searching for the error message generated by jboss).
The error follows:
2011-07-12 11:36:09,223 INFO [STDOUT] Tue Jul 12 17:36:09 GMT 2011: Begin method BusVolCatTimeSeries.deleteSite()...
2011-07-12 11:36:09,328 INFO [STDOUT] Tue Jul 12 17:36:09 GMT 2011: BusVolCatTimeSeries.deleteSite() finished.
2011-07-12 11:36:09,328 INFO [STDOUT] Tue Jul 12 17:36:09 GMT 2011: DeleteCorporateConfiguration.deleteSite() begins...
2011-07-12 11:41:09,202 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id -53ea638d:c83b:4e1c76d2:414 invoked while multiple threads active within it.
2011-07-12 11:41:09,202 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action -53ea638d:c83b:4e1c76d2:414 aborting with 1 threads active!
2011-07-12 11:41:10,003 ERROR [STDERR] ******************** DBConnection.makeConnection(07/12/2011 17:41:10:003 GMT -> WFMScheduleActDO:removeAllByAlternates()) Error getting connect java:jdbc/jboss602: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >)
2011-07-12 11:41:10,035 ERROR [STDERR] 07/12/2011 17:41:10:003 GMT -> WFMScheduleActDO.removeAllByAlternates() SQLException.b: (0) Error connecting to java:jdbc/jboss602 Exception: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >)
2011-07-12 11:41:10,036 ERROR [STDERR] java.sql.SQLException: Error connecting to java:jdbc/jboss602 Exception: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ea638d:c83b:4e1c76d2:414 status: ActionStatus.ABORTING >)
I hope someone has the answer, I'm out of ideas.. thanks for any assistance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614743#614743]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - JBPM 5.1 Final Release with jboss-5.1.0.GA - Human Task Service - DB
by priyakpandey
priyakpandey [http://community.jboss.org/people/priyakpandey] created the discussion
"JBPM 5.1 Final Release with jboss-5.1.0.GA - Human Task Service - DB"
To view the discussion, visit: http://community.jboss.org/message/613821#613821
--------------------------------------------------------------
Hi,
I followed following steps then my human task could not start. It throws following exception
1. ant install.demo installed the jbpm in H2 DB.
1.1 i started the server and did basic testing through jbpm-console/ I created an instance of Evaluation process and task got create correctly
2. I changed the DB to oracle from H2. The option i used is hibernate.hbm2ddl.auto as 'create' in hibernate.cfg.xml.
2.1 did the tsting as in 1.1. Things works
2.2 stopped the servers using ant stop.demo and started again so that test data is erased and i have clean environment/
3. Now since my production environment cannot have this settings, i changed hibernate.hbm2ddl.auto as 'none' in hibernate.cfg.xml.
3.1 my human task does not start. it gives following error.
Can someone suggest why this would happen and how to fix this
tart.human.task:
[java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[java] SLF4J: Defaulting to no-operation (NOP) logger implementation
[java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[java] Exception in thread "main" javax.persistence.RollbackException: Error while commiting th
transaction
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
[java] at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSess
on.java:820)
[java] at org.jbpm.task.service.TaskServiceSession.persistInTransaction(TaskServiceSession.
ava:786)
[java] at org.jbpm.task.service.TaskServiceSession.addUser(TaskServiceSession.java:69)
[java] at org.jbpm.DemoTaskService.main(Unknown Source)
[java] Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
atch update
[java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
[java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
[java] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractF
ushingEventListener.java:321)
[java] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListen
r.java:50)
[java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
[java] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
[java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
[java] ... 4 more
[java] Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint (DRMS_PROCESS.SYS
C0037834) violated
[java]
[java] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.j
va:10768)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
[java] ... 12 more
[java] Java Result: 1
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613821#613821]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - JBPM 5.1 Final Release with jboss-5.1.0.GA - JBPM Console - Process Access
by priyakpandey
priyakpandey [http://community.jboss.org/people/priyakpandey] created the discussion
"JBPM 5.1 Final Release with jboss-5.1.0.GA - JBPM Console - Process Access"
To view the discussion, visit: http://community.jboss.org/message/614226#614226
--------------------------------------------------------------
Hi,
I am using JBPM 5.1 Final Release with jboss-5.1.0 GA. I have configured jbpm-console to use DB authentication. I am able to login into the jbpm-console. When i click on *Processes>Process Overview*, i get following error in jboss\servers\default\logs\server.log. How can i get this Fixed.
| 2011-07-08 22:53:22,294 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) INFO 08-07 22:53:22,293 (RepositoryServlet.java:allowUser:114) | lrsadm authenticated for rest api |
| 2011-07-08 22:53:22,294 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) INFO 08-07 22:53:22,294 (PackageDeploymentServlet.java:execute:141) | PackageName: defaultPackage |
| 2011-07-08 22:53:22,294 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) INFO 08-07 22:53:22,294 (PackageDeploymentServlet.java:execute:142) | PackageVersion: LATEST |
| 2011-07-08 22:53:22,295 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) INFO 08-07 22:53:22,295 (PackageDeploymentServlet.java:execute:143) | PackageIsLatest: true |
| 2011-07-08 22:53:22,295 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) INFO 08-07 22:53:22,295 (PackageDeploymentServlet.java:execute:144) | PackageIsSource: false |
| 2011-07-08 22:53:22,304 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-2) ERROR 08-07 22:53:22,302 (RepositoryServlet.java:doAuthorizedAction:78) | |
java.lang.NullPointerException
|
| at java.io.OutputStream.write(OutputStream.java:58) |
|
| at org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage(FileManagerUtils.java:188) |
|
| 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.seam.util.Reflections.invoke(Reflections.java:22) |
|
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) |
|
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) |
|
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166) |
|
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102) |
|
| at org.drools.guvnor.server.files.FileManagerUtils_$$_javassist_3.loadBinaryPackage(FileManagerUtils_$$_javassist_3.java) |
|
| at org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:269) |
|
| at org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:76) |
|
| at org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:135) |
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:625) |
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) |
|
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) |
|
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) |
|
| at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) |
|
| at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53) |
|
| at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) |
|
| 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:235) |
|
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) |
|
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) |
|
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) |
|
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) |
|
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) |
|
| 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:158) |
|
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) |
|
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) |
|
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) |
|
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) |
|
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) |
|
| at java.lang.Thread.run(Thread.java:662) |
2011-07-08 22:53:22,307 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/drools-guvnor].[PackageDeploymentServlet]] (http-localhost%2F127.0.0.1-8080-2) Servlet.service() for servlet PackageDeploymentServlet threw exception
java.lang.NullPointerException
|
| at java.io.OutputStream.write(OutputStream.java:58) |
|
| at org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage(FileManagerUtils.java:188) |
|
| 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.seam.util.Reflections.invoke(Reflections.java:22) |
|
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) |
|
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157) |
|
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) |
|
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) |
|
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166) |
|
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102) |
|
| at org.drools.guvnor.server.files.FileManagerUtils_$$_javassist_3.loadBinaryPackage(FileManagerUtils_$$_javassist_3.java) |
|
| at org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:269) |
|
| at org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:76) |
|
| at org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:135) |
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:625) |
|
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) |
|
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) |
|
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) |
|
| at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) |
|
| at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53) |
|
| at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) |
|
| 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:235) |
|
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) |
|
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) |
|
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) |
|
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) |
|
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) |
|
| 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:158) |
|
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) |
|
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) |
|
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) |
|
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) |
|
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) |
|
| at java.lang.Thread.run(Thread.java:662) |
I could see the Evaluation process listed in the in console. when i click on start and fill-in the details the process gets initiated but task does not get created. jboss\servers\default\logs\server.log does not show any error but human task throws fowllowing error,
[java] javax.persistence.RollbackException: Error while commiting the transaction
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
[java] at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSess
ion.java:820)
[java] at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:134)
[java] at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:10
9)
[java] at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHa
ndler.java:41)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(
DefaultIoFilterChain.java:713)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(
ProtocolCodecFilter.java:375)
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFil
ter.java:229)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:1
76)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.
java:119)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(Default
IoFilterChain.java:426)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoPro
cessor.java:638)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIo
Processor.java:598)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIo
Processor.java:587)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollin
gIoProcessor.java:61)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPol
lingIoProcessor.java:969)
[java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:88
6)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[java] at java.lang.Thread.run(Thread.java:662)
[java] Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
batch update
[java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
[java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
[java] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractF
lushingEventListener.java:321)
[java] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListen
er.java:50)
[java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
[java] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
[java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
[java] ... 29 more
[java] Caused by: java.sql.BatchUpdateException: ORA-02291: integrity constraint (DRMS_PROCESS.
FK27A9A56CE1EF3A) violated - parent key not found
[java]
[java] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343
)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.j
ava:10768)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
[java] ... 37 more
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614226#614226]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months