[jbpm-dev] [Design of JBoss jBPM] - Re: jBPM Classloading

camunda do-not-reply at jboss.com
Tue Sep 23 12:14:29 EDT 2008


Hi Bjoern,

did you use the proposed solution in your project?

I wanted to use it for an own problem with classloading (and I can also commit it back to jbpm after it works correctly) but have the problem, that this is leading to and endless loop, since the classloader is already needed to load the jbpm.cfg.xml in the JbpmConfiguration (InputStream jbpmCfgXmlStream = ClassLoaderUtil.getStream(resource);). 

Exception StackTrace:

  |         at org.jbpm.util.ClassLoaderUtil.getClassLoader(ClassLoaderUtil.java:50)
  |         at org.jbpm.util.ClassLoaderUtil.getStream(ClassLoaderUtil.java:83)
  |         at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:279)
  |         at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:257)
  |         at org.jbpm.JbpmConfiguration$Configs.getObjectFactory(JbpmConfiguration.java:418)
  |         at org.jbpm.JbpmConfiguration$Configs.hasObject(JbpmConfiguration.java:426)
  |         at org.jbpm.util.ClassLoaderUtil.getClassLoader(ClassLoaderUtil.java:50)
  | 

How did you solve this?

Thanks
Bernd


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

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



More information about the jbpm-dev mailing list