Bugs item #620890, was opened at 2002-10-09 19:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=620890&group_id=22866
Category: CatalinaBundle Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Theo Harper (btharper) Assigned to: Scott M Stark (starksm) Summary: Struts with JBoss 3.0.3_Tomcat_4.1.12 Initial Comment: 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. ---------------------------------------------------------------------- Comment By: Halil-C. G�rsoy (che---) Date: 2002-10-17 12:32 Message: Logged In: YES user_id=455149 Hi Folks, after i have copied all JAR's (commons-...) from the lib-Dir in the struts-validator.war into the the lib directory from my default config i was able to deploy jakarta-struts-1.1-b2-blank.war and the exampels without any further problems in JB 3.0.3/TC 4.1.12 With should work as a q&d workaround until this is fixed. ---------------------------------------------------------------------- Comment By: Theo Harper (btharper) Date: 2002-10-09 21:20 Message: Logged In: YES user_id=73492 I have found commons-digester in jboss-3.0.3_tomcat- 4.1.12/tomcat-4.1.x/server/lib/commons-digester.jar. It's getting loaded up when the tomcat service starts. ---------------------------------------------------------------------- Comment By: Theo Harper (btharper) Date: 2002-10-09 21:11 Message: Logged In: YES user_id=73492 It seems that the Digester is getting loaded by a classLoader not associated with the WebApp, the WebappClassLoader is not being called when new org.apache.commons.digester.Digester() is executed (I assume something has loaded it already). This means the classLoader used by the Digester only has itself on its classpath. I have attached some output that might help ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=620890&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
