[jboss-jira] [JBoss JIRA] Commented: (JBAS-5268) jboss-web.xml class loading info not used by WarClassLoaderDeployer
Aleksander Adamowski (JIRA)
jira-events at lists.jboss.org
Wed Jun 11 07:14:18 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5268?page=comments#action_12416450 ]
Aleksander Adamowski commented on JBAS-5268:
--------------------------------------------
In out team we've discovered that JBoss 4.2 loads this specification if you place <loader-repository> directly in <jboss-web>, without enclosing it in <class-loading>.
This violates the DTD of course, and the XML file won't be valid. But it works. Try it and post a comment whether it worked.
> jboss-web.xml class loading info not used by WarClassLoaderDeployer
> -------------------------------------------------------------------
>
> Key: JBAS-5268
> URL: http://jira.jboss.com/jira/browse/JBAS-5268
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service, ClassLoading
> Affects Versions: JBossAS-5.0.0.Beta4
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-5.0.0.CR1
>
>
> A war with a parent first class loading specification in its jboss-web.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
> <jboss-web>
> <!-- Use parent first class loading model -->
> <class-loading java2ClassLoadingCompliance="true">
> <loader-repository>jboss.cts:war=bb_localaccess_webaccesstest_web.war</loader-repository>
> </class-loading>
> ...
> is not seeing this information propagated to the WarClassLoaderDeployer.
--
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
More information about the jboss-jira
mailing list