Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] replied to the
discussion
"JBPM Configuration files question"
To view the discussion, visit:
http://community.jboss.org/message/533434#533434
--------------------------------------------------------------
1. Is there a way to tell JBPM where the jbpm.hibernate.cfg.xml file
is?
Yes, you can specify that in your jbpm.cfg.xml file as follows:
<jbpm-configuration>
....
<process-engine-context>
....
<hibernate-configuration>
<cfg resource="custom-jbpm.hibernate.cfg.xml" />
</hibernate-configuration>
....
</process-engine-context>
....
</jbpm-configuration>
There are three ways of providing location to the file:
- resource attribute to select from classpath
- file attribute to select from file system
- url attribute
1. Is there a place where I can find the documentation about all the
configurations I can setup with the jbpm.cfg.xml? I could't find any documentation
about how to edit such file.
Unfortunately there is probably no official documentation as far as I know, but
source code is quite good to get such information.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/533434#533434]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]