"adrian(a)jboss.org" wrote : Help requests should really go in the user's
forum:
|
http://www.jboss.org/index.html?module=bb&op=viewforum&f=228
|
Sorry.. dont know how I got here. I will repost in the other.
"adrian(a)jboss.org" wrote :
| You should make sure you unhook anything that references the old
| classes or classloader in undeploy() so they can be garbage collected,
| otherwise you'll leak classes and memory (which sounds like your real problem).
|
At redeploy, we create a new engine for application. I will double check the undeploy
logic however.
"adrian(a)jboss.org" wrote :
| AFAIK, there's no deployer that uses the classloader directly. But we do have
| deployers that pass the classloader into the component frameworks via their metadata,
| which uses DeploymentUnit.getClassLoader().
| e.g.
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deploye...
|
| The closest we've got to what you are doing, uses our AnnotationScanning
framework
| to create metadata objects from annotated classes,
|
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deploye...
| they don't deal with the classloader explicitly.
I will check these.. thank you.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235378#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...