You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jamie M <ja...@yahoo.com> on 2002/10/15 16:20:22 UTC

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(UnifiedLoaderRepository2.java:166)
        at
org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:283)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: JBoss-3.0.3_Tomcat-4.1.12 & struts 1.1-b2 & tiles problem

Posted by James Mitchell <jm...@telocity.com>.
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:jamienz@yahoo.com]
> Sent: Tuesday, October 15, 2002 10:20 AM
> To: struts-user@jakarta.apache.org
> 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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



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