-
1. Re: Process Deployment Issue
koen.aers Jun 21, 2006 7:22 AM (in response to kazam)Kazam,
Are you sure that in addition to every action handler every custom class that your action handler uses is available on the classpath (i.e. on the system classpath, the jboss server classpath, the webapp classpath or your process archive)?
Regards,
Koen -
2. Re: Process Deployment Issue
kazam Jun 21, 2006 12:26 PM (in response to kazam)Thanks very much Koen, it did work.
I placed my classes.jar in the JBOSS_HOME/bin directory[could have been anywhere I suppose] and put the jar file in the CLASSPATH for JBOSS Application Server.
However, is this the way it is supposed to be. Shouldn't the classes be just part of the archive. The documentation Chapter 16, 16.1.2 and 16.2http://docs.jboss.com/jbpm/v3/userguide/jpdl.html
, describe about placing the custom classes under classes directory in the process archive.
ANT SCRIPT
Lastly, my ant script seemed to go through but deployed nothing. It generated however, the following warnings10:01:23,375 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node]; using defaults. 10:01:23,609 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults. 10:01:24,046 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults. 10:01:24,375 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults .......................................................................................................... ............... more similar warnings
About Jbpm.cfg.xml
------------------------
I also tried to configure the jbpm.cfg.xml using the jbpm.files.dir, but I probably wasn't using it correctly. This property isn't documented anywhere for the jbpm.cfg.xml. What extra benefits will it give over not storing the process archive in the database.
Thanks, again for a fast reply. -
3. Re: Process Deployment Issue
koen.aers Jun 22, 2006 4:27 AM (in response to kazam)The recommended approach is indeed storing the classes in your processarchive. This is one of the options I suggested above, but maybe I should have put it first. You shouldn't use the jbpm.files.dir property anymore, it is a legacy property used before for database that were not able to handle binary objects easily. These issues have been resolved in the meantime.
Regards,
Koen