"richard.opalka(a)jboss.com" wrote : "richard.opalka(a)jboss.com" wrote :
| | Thus we're getting null for JBossWebMetaData ctx loader which isn't true
in case we're deploying such .sar archive using hot deploy feature (JBossAS is already
running). The problem is on JBossAS bootstrap when we have such .sar archive in the deploy
directory.
|
| I don't see a ctx loader on JBossWebMetaData?
| That doesn't make any sense.
|
| But it sounds like your real problem is that you just want the classloader for the
webapp?
| That's obtainable just by doing DeploymentUnit.getClassLoader()
|
| From AbstractWarDeployment::start()
| which obviously doesn't get invoked until the MBean has its dependencies
satisfied
| (i.e. jbossweb is running)
|
| | ClassLoader warLoader = unit.getClassLoader();
| | thread.setContextClassLoader(warLoader);
| |
| | <snip/>
| |
| | webApp = new WebApplication(metaData);
| | webApp.setClassLoader(warLoader);
| |
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186720#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...