[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Re: WebAppClassLoader getURLs() override

adrian@jboss.org do-not-reply at jboss.com
Thu Aug 28 10:27:12 EDT 2008


The issue here is
WebappClassLoader.toURLs() returning a lot of data that gets added
to the RMI streams as "annotations".

We don't want this, so this either needs to be fixed by

* returning

  | @Override 
  | public URL[] getURLs()
  | {
  |    return new URL[0]; // Optimize away the Memory Allocation
  | }
  | 
in JBoss's subclass
org.jboss.web.tomcat.service.WebAppClassLoader

* Making Tomcat use JBoss's classloader directly, i.e. no Tomcat WebappClassLoader
at all

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

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



More information about the jboss-dev-forums mailing list