You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Tom Myers <to...@dreamscape.com> on 2001/05/15 12:49:50 UTC

Re: Fault Code and Fault String

I wish everybody reporting troubles were as thorough...I wish I were
as thorough when reporting troubles...I'm not sure, but I would 
   jar -cf soapsamp.jar samples/addressbook/*.class
from within soap-2_1, which contains the samples dir, and I would
drop that jar into the jre/lib/ext of JAVA_HOME, and see if it
made the method available. Also I'd use 

   java org.apache.soap.util.net.TcpTunnelGui 8989 localhost 8080

and then watch the data going through the tunnel, referring to
localhost:8989 instead of localhost:8080. And then I would try
to think of something else...good luck.

Tom Myers

At 09:07 AM 2/15/2001 +0000, Marco.Caetano@GECITS-EU.COM wrote:
>Hello there!
>
>I'am new to SOAP... I'am trying to configure a Web Server running with IIS
>and Tomcat 3.2.1, on Windows 2000. I've downloaded SOAP 2.1, and I want to
>offer soap services through this server...
>
>JAVA_HOME: d:\jdk1.3\
>CLASSPATH: d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;d:
>\jakarta-tomcat-3.2.1\webapps\soap;.
>Tomcat home: d:\jakarta-tomcat-3.2.1\
>Added to server.xml: <Context path="/soap" docBase="webapps/soap"   debug
>="0" reloadable="true">. I've created a directory under TOMCAT_HOME
>\webapps\soap\
>
>Window MSDOS 1 - Running Tomcat
>Classpath that  runs with Tomcat:
>Using CLASSPATH: d:\soap\lib\xerces.jar;..\classes;..\lib\ant.jar;..
>\lib\jaxp.jar;..\lib\servlet.jar;..\lib\parser.jar;..\lib\webserver.jar;..
>\lib\jasper.jar;d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;.;d:
>\jdk1.3\lib\tools.jar
>
>
>Window MSDOS 2 - Running the Address Book Example
>set classpath=d:\soap\lib\xerces.jar;d:\soap\lib\soap.jar;d:
>\soap\lib\parser.jar;d:\soap\lib\mail.jar;d:\soap\lib\activation.jar;d:
>\soap\lib\parser.jar;d:\soap\lib\jaxp.jar;d:\soap\soap-2_1;.
>
>This test assumes a server URL of
>http://localhost:8080/soap/server/rpcrouter
>Deploying the addressbook service...
>Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = java.lang.NoSuchMethodError
>.
>Verify that its there
>Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = java.lang.NoSuchMethodError
>.
>.....All examples with the same error.....
>
>Why is this error??? I think that happens because the server cannot deploy
>the requested service.... Or could it be because the tomcat home have more
>than 8 chars (d:\jakarta-tomcat-3.2.1\)???
>But if that is, why is happening?
>
>Thanks
>Marco Caetano
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Fault Code and Fault String

Posted by Dan Mandell <dm...@stanford.edu>.
Marco,

Looks like you are using Tomcat 3.2.1. Try switching to 3.2.2b4. I had the
same problem.

btw- I have sent this email to 5 or 6 people, is there a FAQ in which we
can add a warning about Tomcat 3.2.1?

>I wish everybody reporting troubles were as thorough...I wish I were
>as thorough when reporting troubles...I'm not sure, but I would
>   jar -cf soapsamp.jar samples/addressbook/*.class
>from within soap-2_1, which contains the samples dir, and I would
>drop that jar into the jre/lib/ext of JAVA_HOME, and see if it
>made the method available. Also I'd use
>
>   java org.apache.soap.util.net.TcpTunnelGui 8989 localhost 8080
>
>and then watch the data going through the tunnel, referring to
>localhost:8989 instead of localhost:8080. And then I would try
>to think of something else...good luck.
>
>Tom Myers
>
>At 09:07 AM 2/15/2001 +0000, Marco.Caetano@GECITS-EU.COM wrote:
>>Hello there!
>>
>>I'am new to SOAP... I'am trying to configure a Web Server running with IIS
>>and Tomcat 3.2.1, on Windows 2000. I've downloaded SOAP 2.1, and I want to
>>offer soap services through this server...
>>
>>JAVA_HOME: d:\jdk1.3\
>>CLASSPATH: d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;d:
>>\jakarta-tomcat-3.2.1\webapps\soap;.
>>Tomcat home: d:\jakarta-tomcat-3.2.1\
>>Added to server.xml: <Context path="/soap" docBase="webapps/soap"   debug
>>="0" reloadable="true">. I've created a directory under TOMCAT_HOME
>>\webapps\soap\
>>
>>Window MSDOS 1 - Running Tomcat
>>Classpath that  runs with Tomcat:
>>Using CLASSPATH: d:\soap\lib\xerces.jar;..\classes;..\lib\ant.jar;..
>>\lib\jaxp.jar;..\lib\servlet.jar;..\lib\parser.jar;..\lib\webserver.jar;..
>>\lib\jasper.jar;d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;.;d:
>>\jdk1.3\lib\tools.jar
>>
>>
>>Window MSDOS 2 - Running the Address Book Example
>>set classpath=d:\soap\lib\xerces.jar;d:\soap\lib\soap.jar;d:
>>\soap\lib\parser.jar;d:\soap\lib\mail.jar;d:\soap\lib\activation.jar;d:
>>\soap\lib\parser.jar;d:\soap\lib\jaxp.jar;d:\soap\soap-2_1;.
>>
>>This test assumes a server URL of
>>http://localhost:8080/soap/server/rpcrouter
>>Deploying the addressbook service...
>>Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>.
>>Verify that its there
>>Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>.
>>.....All examples with the same error.....
>>
>>Why is this error??? I think that happens because the server cannot deploy
>>the requested service.... Or could it be because the tomcat home have more
>>than 8 chars (d:\jakarta-tomcat-3.2.1\)???
>>But if that is, why is happening?
>>
>>Thanks
>>Marco Caetano
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Fault Code and Fault String

Posted by Dan Mandell <dm...@stanford.edu>.
Marco,

Looks like you are using Tomcat 3.2.1. Try switching to 3.2.2b4. I had the
same problem.

btw- I have sent this email to 5 or 6 people, is there a FAQ in which we
can add a warning about Tomcat 3.2.1?

>I wish everybody reporting troubles were as thorough...I wish I were
>as thorough when reporting troubles...I'm not sure, but I would
>   jar -cf soapsamp.jar samples/addressbook/*.class
>from within soap-2_1, which contains the samples dir, and I would
>drop that jar into the jre/lib/ext of JAVA_HOME, and see if it
>made the method available. Also I'd use
>
>   java org.apache.soap.util.net.TcpTunnelGui 8989 localhost 8080
>
>and then watch the data going through the tunnel, referring to
>localhost:8989 instead of localhost:8080. And then I would try
>to think of something else...good luck.
>
>Tom Myers
>
>At 09:07 AM 2/15/2001 +0000, Marco.Caetano@GECITS-EU.COM wrote:
>>Hello there!
>>
>>I'am new to SOAP... I'am trying to configure a Web Server running with IIS
>>and Tomcat 3.2.1, on Windows 2000. I've downloaded SOAP 2.1, and I want to
>>offer soap services through this server...
>>
>>JAVA_HOME: d:\jdk1.3\
>>CLASSPATH: d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;d:
>>\jakarta-tomcat-3.2.1\webapps\soap;.
>>Tomcat home: d:\jakarta-tomcat-3.2.1\
>>Added to server.xml: <Context path="/soap" docBase="webapps/soap"   debug
>>="0" reloadable="true">. I've created a directory under TOMCAT_HOME
>>\webapps\soap\
>>
>>Window MSDOS 1 - Running Tomcat
>>Classpath that  runs with Tomcat:
>>Using CLASSPATH: d:\soap\lib\xerces.jar;..\classes;..\lib\ant.jar;..
>>\lib\jaxp.jar;..\lib\servlet.jar;..\lib\parser.jar;..\lib\webserver.jar;..
>>\lib\jasper.jar;d:\soap\lib\xerces.jar;d:\soap\lib\mail.jar;d:
>>\soap\lib\activation.jar;d:\soap\lib\soap.jar;d:\soap\soap-2_1;.;d:
>>\jdk1.3\lib\tools.jar
>>
>>
>>Window MSDOS 2 - Running the Address Book Example
>>set classpath=d:\soap\lib\xerces.jar;d:\soap\lib\soap.jar;d:
>>\soap\lib\parser.jar;d:\soap\lib\mail.jar;d:\soap\lib\activation.jar;d:
>>\soap\lib\parser.jar;d:\soap\lib\jaxp.jar;d:\soap\soap-2_1;.
>>
>>This test assumes a server URL of
>>http://localhost:8080/soap/server/rpcrouter
>>Deploying the addressbook service...
>>Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>.
>>Verify that its there
>>Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>.
>>.....All examples with the same error.....
>>
>>Why is this error??? I think that happens because the server cannot deploy
>>the requested service.... Or could it be because the tomcat home have more
>>than 8 chars (d:\jakarta-tomcat-3.2.1\)???
>>But if that is, why is happening?
>>
>>Thanks
>>Marco Caetano
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org