[jboss-user] [jBPM] - Re: How to make console reload process instances after a recycle

Demian Calcaprina do-not-reply at jboss.com
Sun Aug 7 08:13:31 EDT 2011


Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: How to make console reload process instances after a recycle"

To view the discussion, visit: http://community.jboss.org/message/619800#619800

--------------------------------------------------------------
Hi man,

I don't know it this can be the problem, but inside the console server you can find hibernate.cfg.xml inside WEB-INF/lib/jbpm-bam-<<version>>.jar//hibernate.cfg.xml

This has by default "create" and may be interfering with the configuration you have in persistence.xml.

I think this will be fixed after 5.1.Final, as it was here:
 https://github.com/droolsjbpm/jbpm/blob/5.1.x/jbpm-bam/src/main/resources/hibernate.cfg.xml https://github.com/droolsjbpm/jbpm/blob/5.1.x/jbpm-bam/src/main/resources/hibernate.cfg.xml

And now it is not in master anymore:
 https://github.com/droolsjbpm/jbpm/tree/master/jbpm-bam/src/main/resources https://github.com/droolsjbpm/jbpm/tree/master/jbpm-bam/src/main/resources

The console uses audit tables (ProcessInstanceLog, VariableInstanceLog, NodeInstanceLog) to show the information, and not runtime tables. So if these tables are re-created, you will se running processes but no data in audit tables.

About the human tasks, check the persistence.xml inside WEB-INF-lib/jbpm-human-tasks-<<version>>.jar//META-INF to see if it is in create.

Regards,

Demian
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110807/de782360/attachment.html 


More information about the jboss-user mailing list