You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/12/03 21:29:28 UTC

DO NOT REPLY [Bug 15035] New: - Struts 1.1-b2 (using Tiles) with JBoss 3.0.3_Tomcat_4.1.12 non-existant ClassLoader problem

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15035

Struts 1.1-b2 (using Tiles) with JBoss 3.0.3_Tomcat_4.1.12 non-existant ClassLoader problem

           Summary: Struts 1.1-b2 (using Tiles) with JBoss
                    3.0.3_Tomcat_4.1.12 non-existant ClassLoader problem
           Product: Struts
           Version: 1.1 Beta 2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Digester
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: everett.toews@net-linx.com


Excerpted from SourceForge bug http://sourceforge.net/tracker/?
group_id=22866&atid=376685&func=detail&aid=620890

"JBoss-3.0.3_Tomcat-4.1.12 does to allow a WAR file to 
be deployed that uses the Struts 1.1b2. 

For example, try deploying the 
http://jakarta.apache.org/builds/jakarta- 
struts/release/v1.1-b2/jakarta-struts-1.1-b2-blank.war 
causes a ClassNotFoundException (XmlDefinition) when 
reading tiles-defs.xml. 

Deploying this with JBoss3.0.2_Tomcat-4.0.4 works 
okay. 

Deploying to a vanilla Tomcat4.1.12 (downloaded from 
jakarta.apache.org) works okay. 

It looks like the class loader used by common-digester 
is not the one created from WEB-INF/classes and WEB- 
INF/lib but the classes loader common-digester was 
loaded from. Commons-digester has the option to use 
the thread context class loader but this is not enabled."

The partial reply to this bug from Scott M Stark (starksm) was:

"The struts layer has to allow the Digester to use the thread 
context class loader. Tomcat-4.0.4 does not use the 
common-digester package and so in this case the WEB-
INF/lib version is used and the Digester class loader is the 
web app class loader. Report this a problem in the 
configuration of struts. You need to be able to specify that 
the thread context class loader is used to create objects."

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>