[
http://jira.jboss.com/jira/browse/JBAS-5151?page=comments#action_12396150 ]
Adrian Brock commented on JBAS-5151:
------------------------------------
1) Discussions should be in the forums, not the release notes. Especually if the
discussion
is just uneducated guess work like above.
2) This issue was already identified two weeks ago (and repeated for those that are
unobservant
by Ales last week) in the forum thread on the issue Heiko
linked to above (JBAS-5119), so why you are trying to *guess* the problem when it is
already known?
3) The root of the war or an ear should not be in the classpath
Try loading WEB-INF/xyz.txt in Tomcat if you don't believe me
4) The correct fix is put resources in WEB-INF/classes where they belong
5) The fact that it was there before was a bug in the UnifiedClassLoader. The old
deployment layer
included the root URL of a deployment (probably originally to give it a name that is easy
for debugging?)
regardless.
6) For backwards compatibilty we need some configuration (with a WARNing to say the
feature is deprecated)
to add the root the deployment classpath for ears and wars.
This should be in the relevant structure deployers that determines what goes in the
classpath,
not hacked somewhere else.
Resource loading fails for WEB-INF/xyz.txt
------------------------------------------
Key: JBAS-5151
URL:
http://jira.jboss.com/jira/browse/JBAS-5151
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ClassLoading
Reporter: Heiko Braun
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.Beta4
Heiko Braun wrote:
> With recent versions it seems that loading resources from WEB-INF
> seems to be broken for a lot of WS tests. Have there been any
> classloader changes that may explain this?
--
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