[jboss-user] [jBPM] - Accessing bpmn files from jBPM5 console.

bpmn2user do-not-reply at jboss.com
Sun Feb 13 17:18:23 EST 2011

bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"Accessing bpmn files from jBPM5 console."

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

One can access the bpmn files from jBPM console using two options:

1.) Keep all the process files in a directory and provide the name of this directory  using  a parameter -Djbpm.console.directory to an application server (e.g., JBOSS/Tomcat).
2.) The bpmn files can also be retrieved from Guvnor, i.e., instead of reading from filesystem.

Currently the code looks for the second option first, i.e, read form Guvnor.If the files are not found, it would look into the local directory specified.
This approach takes significantly more time if the bpmn files are located in the local file system as it would wait for timeout associated with REST calls for process and image files.

I modified the code to change the sequence, i.e look into file system first and Guvnor later. I worked fine for me and I would like share the code if someone wants to use.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110213/6be0ac4e/attachment-0001.html 

More information about the jboss-user mailing list