[jboss-jira] [JBoss JIRA] Resolved: (AS7-1192) Classloader Thread.currentThread().getContextClassLoader() no longer inspects WEB-INF/lib

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Jul 5 18:00:24 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved AS7-1192.
------------------------------

    Resolution: Won't Fix


No, by spec {{WEB-INF/lib}} is not a class path root.  You can put your file in a JAR in {{WEB-INF/lib}} or directly in {{WEB-INF/classes}} if you want.

> Classloader Thread.currentThread().getContextClassLoader() no longer inspects WEB-INF/lib
> -----------------------------------------------------------------------------------------
>
>                 Key: AS7-1192
>                 URL: https://issues.jboss.org/browse/AS7-1192
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Naming, Web
>    Affects Versions: 7.0.0.CR1
>         Environment: Windows 7 64 bit with java 1.6 U24 installed (both 64 bit - default version) and with 32 bit installed.
> Eclipse Indigo 32 bit running with 32 bit jvm by using command line option  -vm C:\s\java32\bin\javaw.exe
> JBoss Tools 3.3.0-M2 installed within Eclipse
> Jboss AS 7.0.0.CR1 running using 64 bit JVM from Dos using unmodified standalone.bat
> Also when started via Eclipse server runtime.
>            Reporter: Gerry Matte
>              Labels: class, jndi, loader, naming, properties
>         Attachments: eclipse-as7.log, jndiTests.war.zip, jndiTests.zip, readme.txt
>
>
> Web applications on JBoss AS 6 and earlier could use the class loader to find and load a properties file stored in WEB/lib
> Jboss 7 seems to not find the properties file.
> Until now I believed that this folder was considered to be part of the classpath for a webapp.  Perhaps it is not ?
> I will attach a test eclipse project and a war file either to this bug report or to the forum posting.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list