[jboss-user] [jBPM] - Re: Only the default "Evaluation" process is shown in the process list after restarting jBPM 5.2

Yanhui Xie do-not-reply at jboss.com
Mon Mar 26 04:56:57 EDT 2012


Yanhui Xie [https://community.jboss.org/people/yanhuixie] created the discussion

"Re: Only the default "Evaluation" process is shown in the process list after restarting jBPM 5.2"

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

--------------------------------------------------------------
Should the text(excerpt from UserGuide 5.2, Chapter 15) below helps?
-----------------------------
The current integration of jBPM-console with Guvnor uses the following conventions to find the artefacts it needs:
* jBPM-console looks up artefacts from all available Guvnor packages (it does not look for assets in the Global Area). You can    alternatively modify the guvnor.packages property in jBPM.console.properties to limit the lookup to only the packages you need, for example:    guvnor.packages=defaultPackage, myPackageA, myPackageB
* A process should define the correct package name attribute, which needs to match the Guvnor package name it belongs to (otherwise you won't be able to build your package in Guvnor)
* Don't forget to build all of your packages in Guvnor before trying to view available processes in the console. Otherwise jBPM-console will not be able to retrieve the pkg from Guvnor.
* Currently, the console will load the process definitions the first time the list of processes is requested in the console. At this point, automatic updating from Guvnor when the package is rebuilt is turned off by default, so you will have to either configure this or restart the application server to get the latest versions.
* Task forms that should be associated with a specific process definition should have the name "{processDefinitionId}.ftl" or "{processDefinitionId}-taskform.ftl"
* Task forms for a specific human task should have the name "{taskName}.ftl" or "{taskName}-taskform.ftl"
* The process diagram for a specific process should have the name "{processDefinitionId}-image.png"
* By default jBPM-console looks up your Guvnor instance under  http://localhost:8080/drools-guvnor http://localhost:8080/drools-guvnor. To change this, locate jbpm.console.properties and modify    the guvnor.protocol, guvnor.host, and  guvnor.subdomain property values as needed
* jBPM-console communicates with Guvnor via its REST api. The default connect and read timeouts for this communication are set to 10 seconds via the guvnor.connect.timeout,    and guvnor.read.timeout properties in jbpm.console.properties. You can edit values of these properties to set your specific timeout values (in milliseconds)
* If you are using Guvnor with JAAS authentication enabled, jBPM-console uses by default admin/admin credentials. To change this information again    locate jbpm.console.properties and change the guvnor.usr, and guvnor.pwd property values.
If you follow these rules, your processes, forms and images should show up without any issues in the jBPM-console.
--------------------------------------------------------------

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

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/20120326/4ea08f62/attachment.html 


More information about the jboss-user mailing list