You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by se...@se.ibm.com on 2001/02/05 16:20:59 UTC

Processing SOAP request java.lang.NoSuchMethodError


Hi All !

Trying to run the GetAddress example but get the folloing error-message in
Tomcat 3.2.1 command-window

I'm running on IIS server and have deployed AddressFetcher

2001-02-05 12:36:32 - Ctx( /soap ): Reading
C:\jakarta-tomcat\webapps\soap\WEB-I
NF\web.xml
2001-02-05 12:36:32 - Ctx( /soap ): Loading -2147483646 jsp
2001-02-05 12:36:32 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-05 12:36:32 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
>>(Mon Feb 05 12:37:15 GMT+01:00 2001) Processing SOAP request...
java.lang.NoSuchMethodError
        at org.apache.soap.util.xml.QName.<init>(QName.java:80)
        at org.apache.soap.util.xml.QName.matches(QName.java:146)
        at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.
java:182)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
04)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)

Thanks Peter Iderup




 PALETTEN
Office:+4640258129
Mobile: +46707930329
Home: +46435441803
Notesmail: Peter Iderup/Sweden/IBM
email: se17389@se.ibm.com



Re: Processing SOAP request java.lang.NoSuchMethodError

Posted by William Brogden <wb...@bga.com>.

se17389@se.ibm.com wrote:
> 
> Hi All !
> 
> Trying to run the GetAddress example but get the folloing error-message in
> Tomcat 3.2.1 command-window
> 
> I'm running on IIS server and have deployed AddressFetcher
> 
> 2001-02-05 12:36:32 - Ctx( /soap ): Reading
> C:\jakarta-tomcat\webapps\soap\WEB-I
> NF\web.xml
> 2001-02-05 12:36:32 - Ctx( /soap ): Loading -2147483646 jsp
> 2001-02-05 12:36:32 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
> 2001-02-05 12:36:32 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
> >>(Mon Feb 05 12:37:15 GMT+01:00 2001) Processing SOAP request...
> java.lang.NoSuchMethodError
>         at org.apache.soap.util.xml.QName.<init>(QName.java:80)
>         at org.apache.soap.util.xml.QName.matches(QName.java:146)

This should go on the FAQ - the servlet engine is finding an older
library for XML parsing, such as JSDK.JAR  or something similar.
In QName there is a call to a method that does not appear in
the older JAR file.  You need to make sure that Xerces.jar is the
first library the engine finds.
-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Re: Processing SOAP request java.lang.NoSuchMethodError

Posted by William Brogden <wb...@bga.com>.

se17389@se.ibm.com wrote:
> 
> Hi All !
> 
> Trying to run the GetAddress example but get the folloing error-message in
> Tomcat 3.2.1 command-window
> 
> I'm running on IIS server and have deployed AddressFetcher
> 
> 2001-02-05 12:36:32 - Ctx( /soap ): Reading
> C:\jakarta-tomcat\webapps\soap\WEB-I
> NF\web.xml
> 2001-02-05 12:36:32 - Ctx( /soap ): Loading -2147483646 jsp
> 2001-02-05 12:36:32 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
> 2001-02-05 12:36:32 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
> >>(Mon Feb 05 12:37:15 GMT+01:00 2001) Processing SOAP request...
> java.lang.NoSuchMethodError
>         at org.apache.soap.util.xml.QName.<init>(QName.java:80)
>         at org.apache.soap.util.xml.QName.matches(QName.java:146)

This should go on the FAQ - the servlet engine is finding an older
library for XML parsing, such as JSDK.JAR  or something similar.
In QName there is a call to a method that does not appear in
the older JAR file.  You need to make sure that Xerces.jar is the
first library the engine finds.
-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2