[jboss-dev-forums] [Design of POJO Server] - Re: Finding RealClassLoader in ServiceDeployer

adrian@jboss.org do-not-reply at jboss.com
Thu Jan 29 09:54:27 EST 2009


The hierarchy search is just a hack for lazy users.

Thomas should be passing in the RealClassLoader in the first place,
i.e. the (sub-)deployment classloader.

The one he was actually passing in is the wrapper ejb classloader which 
has other side affects like it is associated with the EJB's enc when used as the context classloader.

This "fix" corrects the problem for JMX but not for other uses of that "deployment"
classloader.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205597#4205597

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205597



More information about the jboss-dev-forums mailing list