Yep, same problem here. It seems to be because JBoss now uses some of the Jakarta-commons code for loading XML files, more specifically common-digester. I raised a bug on sourceforge and am still awaiting a reply. One fix is to change the code in the digester to always use the current threads context class loader.
Theo -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 16:13 To: Struts Users Mailing List Subject: RE: JBoss-3.0.3_Tomcat-4.1.12 & struts 1.1-b2 & tiles problem There are a fwe documented classloader issues with JBoss 3.0.3 and the JDK 1.4 - this may be part of it. "James Mitchell" <[EMAIL PROTECTED]> on 10/15/2002 10:38:22 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) Subject: RE: JBoss-3.0.3_Tomcat-4.1.12 & struts 1.1-b2 & tiles problem I also use JBoss-3.0.3_Tomcat-4.1.12. I think this version is a bit buggy, when I deploy struts-example (after JBoss boot up), I get ClassNotFoundExceptions for any one of several classes in the commons-validator, after verifying that they are there, I hit refresh and the page loads correctly. If I deploy the jar file first, and the app afterward, I do not see those errors. Hasn't been a big deal for me, but I'm sure they are working on it. Have tried asking on JBoss-user? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org > -----Original Message----- > From: Jamie M [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 10:20 AM > To: [EMAIL PROTECTED] > Subject: JBoss-3.0.3_Tomcat-4.1.12 & struts 1.1-b2 & tiles problem > > > hi, > > I've installed jboss, and when I deploy the struts > blank application I get an exception which appears to > be caused by tiles (see stacktrace below - please > excuse yahoo's formatting). > > I've not deployed anything else, or changed the blank > app or JBoss' config. The class that can't be found > IS in the struts.jar, and that jar is in the war file. > The same blank app works fine in tomcat when its > outside of JBoss. > > Any ideas? (other than 'post to the JBoss list..'). > > jamie > > 15:13:36,962 ERROR [Digester] Begin event threw > exception > java.lang.ClassNotFoundException: > org.apache.struts.tiles.xmlDefinition.XmlDefinition > at > org.jboss.mx.loading.UnifiedLoaderRepository2.loadClass(UnifiedLoa > derRepository2.java:166) > at > org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoad > er.java:283) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:255) > at > org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRul > e.java:252) > at > org.apache.commons.digester.Digester.startElement(Digester.java:1237) > at > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488) > at > org.apache.crimson.parser.Parser2.content(Parser2.java:1779) > at > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507) > at > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) > at > org.apache.crimson.parser.Parser2.parse(Parser2.java:305) > at > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) > at > org.apache.commons.digester.Digester.parse(Digester.java:1514) > at > org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:355 ) > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile( > I18nFactorySet.java:527) > at > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles > (I18nFactorySet.java:464) > > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> ------------------------------------------------------------------------ --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. ------------------------------------------------------------------------ --- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>