"adrian(a)jboss.org" wrote :
| I don't see a ctx loader on JBossWebMetaData?
| That doesn't make any sense.
Here's our code:
| // JSE endpoints
| else if (dep.getAttachment(JBossWebMetaData.class) != null)
| {
| JBossWebMetaData webMetaData = dep.getAttachment(JBossWebMetaData.class);
| ClassLoader classLoader = webMetaData.getContextLoader();
| if (classLoader == null)
| {
| // [JBWS-2246] hack for .sar deployments incorporating web services
deployments
| classLoader = dep.getInitialClassLoader();
| }
| dep.setRuntimeClassLoader(classLoader);
| }
"adrian(a)jboss.org" wrote : That's obtainable just by doing
DeploymentUnit.getClassLoader()
Yes, this is exactly what my current hack is doing.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186726#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...