jBPM now is not fully ready to go as workflow engine, but it is perfect as
?rule engine?. Java codes also a process so graphical representation is very
convenient. I wrote a small ProcessLauncher and all work well. I have only one
small problem. I work with JBoss and want to put jbpm.jar to server lib folder
(nor into .ear file). But ProcessClassLoader doesn?t ?see? my actions. I looked
to the code and found next (ClassLoaderUtil.class):
public static ClassLoader getProcessClassLoader(ProcessDefinition
processDefinition) {
return new ProcessClassLoader(ClassLoaderUtil.class.getClassLoader(),
processDefinition);
}
May be better to replace this part by:
public static ClassLoader getProcessClassLoader(ProcessDefinition
processDefinition) {
return new
ProcessClassLoader(Thread.currentThread().getContextClassLoader(),processDefinition)
}
In this case we can put jbpm.jar into the server folder.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942576#3942576
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942576
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user