[jboss-user] [jBPM Development] - JBPM-2875 enhance classloader strategy for OSGi

HuiSheng Xu do-not-reply at jboss.com
Thu May 27 04:36:23 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] created the discussion

"JBPM-2875 enhance classloader strategy for OSGi"

To view the discussion, visit: http://community.jboss.org/message/545020#545020

--------------------------------------------------------------
Hi guys,

I really need this feature to let jbpm4 run in an OSGi envrionment.

Now jBPM4 only use Thread.currentThread().getContextClassLoader() to load resources or class.  But in an OSGi environment, the contextClassLoader may be not for the jbpm4 bundle,  So jBPM4 won't find any xml configuration resource from classloader,  then lots of errors occured.

So I need when jbpm4 find resource or class, it not only use contextClassLoader, but also use it's owner classloader, e.g. JpdlParser.class.getClassLoader().

Any opinions are appreciated.  Thank you very much.

 https://jira.jboss.org/browse/JBPM-2875 https://jira.jboss.org/browse/JBPM-2875

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/545020#545020]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100527/c3bc1452/attachment.html 


More information about the jboss-user mailing list