[
http://jira.jboss.com/jira/browse/JBAS-5022?page=comments#action_12412462 ]
Remy Maucherat commented on JBAS-5022:
--------------------------------------
Actually, the patch seems related to the RMI problem. I don't know if it's a good
fix, however.
The main problem with fixing this directly in the classloader is that Jasper (and possibly
other web applications using the URL classloader for the same reason) will be broken if
running with the Ant compiler. This doesn't seem like a good idea to me.
WebAppClassLoader is not optimized for RMI
------------------------------------------
Key: JBAS-5022
URL:
http://jira.jboss.com/jira/browse/JBAS-5022
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Web (Tomcat) service
Reporter: Adrian Brock
Assigned To: Remy Maucherat
Fix For: JBossAS-5.0.0.CR1
Attachments: jboss-trunk.diff, jboss4.0.5.diff
The WebAppClassLoader used by web applications to scope classes does not override
getURLs() to return new URL[0]
This means that if a webapp makes an RMI request using a class from inside the web app,
all the WEB-INF/lib and WEB-INF/classes urls are sent across the wire as class
annotations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira