The cause of the failure is that ClassPoolDomain was not copying the structure of a domain
when the domain's parent is a ClassLoaderToLoader adapter.
I have committed a temporary ugly hack, but I need to figure out how can I retrieve the
classLoader in this scenario:
if (domain.getParent() instanceof ClassLoaderToLoaderAdapter)
| {
| // how to get the domain.getParent()'s classloader???
| ClassLoader loader = ...;
| ClassPool parentPool =
ClassPoolRepository.getInstance().registerClassLoader(loader);
| poolDomain = new JBossClClassPoolDomain(domain.getName(), parentPool,
domain.getParentPolicy(), registry);
| }
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262546#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...