"cpob" wrote : The thing is, you HAVE to do one of those.  You have to deploy a 
process definition to the jBPM engine for it to be available.  Once it is 
deployed, it is forever in the database, which will never have to be deployed 
again (even between server restarts).

cpob,

Thanks for the reply, it was very helpful. So if I understand you correctly, 
you are saying that I either have to load my business process programmatically 
in my code, or I have to manually deploy it to a running JBoss server. Two 
questions:

1. Is there a way to deploy a process archive (PAR) into the JBoss server 
deploy directory in the same manner as a JAR, WAR, or SAR, and if so, what is 
the impact on versioning?

2. One of the configuration files in the starter's kit, specifically 
jbpm/src/resources/jbpm.sar/jbpm.properties, has a commented out section for 
the property jbpm.files.dir, which has the comment above it that says: 
"uncomment the next line to use the file systemm instead of the database for 
storing files related to a process definition." 

How does this come into play? I understand that this means processes will be 
stored on the file system, but does this mean that they are *loaded* from the 
filesystem as well, and should be deployed to that directory, or does this 
means that an upload to the server or programmatic loading of the process 
definition still must be done, and the engine will write to that directory 
instead of the database. Additionally, do you lose versioning if you store on 
the filesystem vs. the database? 

Thanks for your help.

Brad

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956266#3956266

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956266

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to