You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jpablo <jp...@spcom.com.ar> on 2001/12/04 15:56:54 UTC
Re[2]: SAX / Struts problem SAXNotRecognizedException
Thanks! I did it, but now I have this exception:
[01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root Cause
java.lang.ClassFormatError: org/apache/xerces/framework/XMLErrorReporter (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:469)
at java.lang.ClassLoader.defineClass(ClassLoader.java:419)
at com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemClass(DynamicClassLoa
An dont understand why... Any clue?
EA> Try putting JAXP 1.0.1 JARs before xerces.jar in your application classpath.
EA> This is the most popular of the known workarounds. Another workaround is to
EA> use an older version of Xerces which comes with the Xalan distribution.
EA> Reportedly, this problem does not occur in WebSphere 4.0
EA> ----------------
EA> Alex Esterkin
EA> =============================================================
EA> -----Original Message-----
EA> From: jpablo [mailto:jpablo@spcom.com.ar]
EA> Sent: Monday, December 03, 2001 14:40
EA> To: Struts Users Mailing List
EA> Subject: Re: SAX / Struts problem SAXNotRecognizedException
EA> I still triyng to make it work, But I still getting the same
EA> exception, Under what condicion this exception is thrown? Any help
EA> will be really appreciated. Thanks in advance.
j>> When WebSphere tries to start the Action servlet it throws the
j>> following exception:
j>> [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup X Root Cause
j>> org.xml.sax.SAXNotRecognizedException:
EA> http://xml.org/sax/features/raw-names
j>> at
EA> org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)
j>> at
EA> org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)
j>> What can be the problem?? I'm using the last version of xerces...
j>> What jars I need in my classpath???
EA> --
EA> Juan Pablo Villaverde
EA> Tec. en Infraestructura de Redes
EA> Soluciones Punto Com S.A.
EA> http://www.spcom.com.ar
EA> --
EA> To unsubscribe, e-mail:
EA> <ma...@jakarta.apache.org>
EA> For additional commands, e-mail:
EA> <ma...@jakarta.apache.org>
EA> --
EA> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
EA> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A.
http://www.spcom.com.ar
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Re[2]: SAX / Struts problem SAXNotRecognizedException
Posted by Rob Parker <rp...@bstonetech.com>.
I have run into that problem before with corrupted class files - you might
want to download a new xerces.jar to replace your current file. Hope that
helps,
Rob
-----Original Message-----
From: jpablo [mailto:jpablo@spcom.com.ar]
Sent: Tuesday, December 04, 2001 8:57 AM
To: Struts Users Mailing List
Subject: Re[2]: SAX / Struts problem SAXNotRecognizedException
Thanks! I did it, but now I have this exception:
[01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root Cause
java.lang.ClassFormatError:
org/apache/xerces/framework/XMLErrorReporter (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:469)
at java.lang.ClassLoader.defineClass(ClassLoader.java:419)
at
com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemClass(DynamicCla
ssLoa
An dont understand why... Any clue?
EA> Try putting JAXP 1.0.1 JARs before xerces.jar in your application
classpath.
EA> This is the most popular of the known workarounds. Another workaround is
to
EA> use an older version of Xerces which comes with the Xalan distribution.
EA> Reportedly, this problem does not occur in WebSphere 4.0
EA> ----------------
EA> Alex Esterkin
EA> =============================================================
EA> -----Original Message-----
EA> From: jpablo [mailto:jpablo@spcom.com.ar]
EA> Sent: Monday, December 03, 2001 14:40
EA> To: Struts Users Mailing List
EA> Subject: Re: SAX / Struts problem SAXNotRecognizedException
EA> I still triyng to make it work, But I still getting the same
EA> exception, Under what condicion this exception is thrown? Any help
EA> will be really appreciated. Thanks in advance.
j>> When WebSphere tries to start the Action servlet it throws the
j>> following exception:
j>> [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup X Root Cause
j>> org.xml.sax.SAXNotRecognizedException:
EA> http://xml.org/sax/features/raw-names
j>> at
EA> org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)
j>> at
EA> org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)
j>> What can be the problem?? I'm using the last version of xerces...
j>> What jars I need in my classpath???
EA> --
EA> Juan Pablo Villaverde
EA> Tec. en Infraestructura de Redes
EA> Soluciones Punto Com S.A.
EA> http://www.spcom.com.ar
EA> --
EA> To unsubscribe, e-mail:
EA> <ma...@jakarta.apache.org>
EA> For additional commands, e-mail:
EA> <ma...@jakarta.apache.org>
EA> --
EA> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
EA> For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A.
http://www.spcom.com.ar
--
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>