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 "Matthew J. Duftler" <du...@watson.ibm.com> on 2001/07/24 16:03:46 UTC
RE: Fault Code = SOAP-ENV:Server.Exception: Fault String: java. lang.NoSuchMethodError
Hi Stephan,
In the shell window where you start Tomcat from, the classpath used to start
Tomcat will usually be displayed. Is your xerces.jar listed before all the
other jar files?
Thanks,
-Matt
-----Original Message-----
From: Neuhaus, Stephan, myview [mailto:stephan.neuhaus@myview.de]
Sent: Monday, July 23, 2001 11:51 AM
To: 'soap-user@xml.apache.org'
Subject: RE: Fault Code = SOAP-ENV:Server.Exception: Fault String: java.
lang.NoSuchMethodError
Hello,
I am having the same problem as described below and unfortunately
upgrading to Xerces 1.4.1 did not solve it.
Here is the response from the TcpTunnelGui tool :
HTTP/1.0 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 472
Date: Mon, 23 Jul 2001 15:42:09 GMT
Server: Apache Tomcat/4.0-b6 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=030912D4F571C9813232F31413170183;Path=/soap
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.NoSuchMethodError</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any help would be appreciated.
Stephan Neuhaus
-----Original Message-----
From: Sri Sankaran [mailto:Sri.Sankaran@sas.com]
Sent: Monday, July 23, 2001 4:51 PM
To: 'soap-user@xml.apache.org'
Cc: 'smithrr@switchpoint.net'
Subject: RE: Fault Code = SOAP-ENV:Server.Exception: Fault String: java.
lang.NoSuchMethodError
I had exactly the same symptoms. They vanished when I upgraded form
Xerces 1.4.0 to 1.4.1.
Sri
-----Original Message-----
From: Matthew J. Duftler [mailto:duftler@watson.ibm.com]
Sent: Monday, July 23, 2001 10:37 AM
To: soap-user@xml.apache.org
Subject: RE: Fault Code = SOAP-ENV:Server.Exception: Fault String:
java.lang.NoSuchMethodError
Hi Rebekah,
Please use the TcpTunnelGui tool, as described in the docs, to capture
the response from the server. Then post the captured response here. The
stack-trace is most likely being sent back in the Fault Details, which are
not being displayed on the command-line.
Thanks,
-Matt
-----Original Message-----
From: Rebekah's Email [mailto:smithrr@switchpoint.net]
Sent: Saturday, July 21, 2001 7:04 PM
To: soap-user@xml.apache.org
Subject: Fault Code = SOAP-ENV:Server.Exception: Fault String:
java.lang.NoSuchMethodError
greetings...
When I run this from the command line...
java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
...I get the following error:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
I get no errors when I run the admin script from the browser. I
have following the install instructions to the best of my understanding. I
have read that this error occurs when there is no JAXP compliant parser on
the classpath, but I have Xerces1.2.3 (supposedly compliant) at the
beginning of my classpath. I have also tried Xerces1.4 to no avail.
I am confused that it appears to be work if I run from Tomcat
http://localhost:8080/soap/servlet/rpcrouter, as well as
http://localhost:8080/soap/admin (as well as the supported functions from
this page).
Thank for any suggestions.