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&...]