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 HariNam Singh <hs...@elite.com> on 2001/06/27 00:27:06 UTC

Soap error on new installation

Hi,

I installed SOAP on Tomcat a few hours ago, and still can't get my sample
service to run properly.

As I saw lots of notes on XML parser, I made sure that mine was in the
front. As it still didn't work, I got the latest from jaxp. Then 1.4.1
Xerces. Then 1.2.1 Xerces. Neither of those made it work. Plus, the error
message totally undescript. See below, what the http tunneling tool snaps
up:

HTTP/1.0 500 Internal Server Error Content-Type: text/xml; charset=utf-8
Content-Length: 475 Set-Cookie2:
JSESSIONID=g20woj32b1;Version=1;Discard;Path="/soap" Set-Cookie:
JSESSIONID=g20woj32b1;Path=/soap Servlet-Engine: Tomcat Web Server/3.2.2
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun
Microsyste<?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>org/apache/soap/rpc/RPCMessage</faultstring>  
 <faultactor>/soap/servlet/rpcrouter</faultactor> 
</SOAP-ENV:Fault>  </SOAP-ENV:Body> </SOAP-ENV:Envelope> ms Inc.) 







Here is the classpath
C:\javasoft\jakarta-tomcat-3.2.2\bin>startup
Setting your CLASSPATH statically.

Using CLASSPATH:
c:\javasoft\xerces-1_2_1\xerces.jar;c:\javasoft\jakarta-tomcat-
3.2.2\classes;c:\javasoft\jaf-1.0.1\activation.jar;;c:\javasoft\javamail-1.2
\ima
p.jar;c:\javasoft\javamail-1.2\mailapi.jar;c:\javasoft\javamail-1.2\smtp.jar
;c:\
javasoft\javamail-1.2\mail.jar;c:\javasoft\javamail-1.2\pop3.jar;c:\dev\swif
tmqp
lay;c:\javasoft/swiftmq_2_1_1/jars/jcert.jar;c:\javasoft/swiftmq_2_1_1/jars/
jms.
jar;c:\javasoft/swiftmq_2_1_1/jars/jndi.jar;c:\javasoft/swiftmq_2_1_1/jars/j
net.
jar;c:\javasoft/swiftmq_2_1_1/jars/jsse.jar;c:\javasoft/swiftmq_2_1_1/jars/j
ta-s
pec1.jar;c:\javasoft/swiftmq_2_1_1/jars/smqclient.jar;c:\javasoft/swiftmq_2_
1_1/
jars/swiftmq.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\ant.jar;c:\javasoft\ja
kart
a-tomcat-3.2.2\lib\jasper.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\servlet.j
ar;c
:\javasoft\jakarta-tomcat-3.2.2\lib\webserver.jar

Starting Tomcat in new window


I tried jdk 1.4.0 beta at first, and then switched back to 1.3.

I got a whole bunch of error messages earlier that were related to the
deployed service, like that it couldn't find the class, or my class used
some imports that were missing. Thus, I thought, I was pretty close to
getting it work, when I got those resolved.


Thanks a lot,
HariNam

Re: Soap error on new installation

Posted by pravin pachbhai <pr...@yahoo.com>.
 SET
CLASSPATH=C:\soap\samples\addressbook;c:\xerces\xerces.jar;%CLASSPATH%
before running this example remove the jaxp.jar and
parse.jar file from tomcat\lib folder.
use the xerces1.4 or greater version.

--- HariNam Singh <hs...@elite.com> wrote: > Hi,
> 
> I installed SOAP on Tomcat a few hours ago, and
> still can't get my sample
> service to run properly.
> 
> As I saw lots of notes on XML parser, I made sure
> that mine was in the
> front. As it still didn't work, I got the latest
> from jaxp. Then 1.4.1
> Xerces. Then 1.2.1 Xerces. Neither of those made it
> work. Plus, the error
> message totally undescript. See below, what the http
> tunneling tool snaps
> up:
> 
> HTTP/1.0 500 Internal Server Error Content-Type:
> text/xml; charset=utf-8
> Content-Length: 475 Set-Cookie2:
> JSESSIONID=g20woj32b1;Version=1;Discard;Path="/soap"
> Set-Cookie:
> JSESSIONID=g20woj32b1;Path=/soap Servlet-Engine:
> Tomcat Web Server/3.2.2
> (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0
> x86; java.vendor=Sun
> Microsyste<?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>org/apache/soap/rpc/RPCMessage</faultstring>
>  
>  <faultactor>/soap/servlet/rpcrouter</faultactor> 
> </SOAP-ENV:Fault>  </SOAP-ENV:Body>
> </SOAP-ENV:Envelope> ms Inc.) 
> 
> 
> 
> 
> 
> 
> 
> Here is the classpath
> C:\javasoft\jakarta-tomcat-3.2.2\bin>startup
> Setting your CLASSPATH statically.
> 
> Using CLASSPATH:
>
c:\javasoft\xerces-1_2_1\xerces.jar;c:\javasoft\jakarta-tomcat-
>
3.2.2\classes;c:\javasoft\jaf-1.0.1\activation.jar;;c:\javasoft\javamail-1.2
> \ima
>
p.jar;c:\javasoft\javamail-1.2\mailapi.jar;c:\javasoft\javamail-1.2\smtp.jar
> ;c:\
>
javasoft\javamail-1.2\mail.jar;c:\javasoft\javamail-1.2\pop3.jar;c:\dev\swif
> tmqp
>
lay;c:\javasoft/swiftmq_2_1_1/jars/jcert.jar;c:\javasoft/swiftmq_2_1_1/jars/
> jms.
>
jar;c:\javasoft/swiftmq_2_1_1/jars/jndi.jar;c:\javasoft/swiftmq_2_1_1/jars/j
> net.
>
jar;c:\javasoft/swiftmq_2_1_1/jars/jsse.jar;c:\javasoft/swiftmq_2_1_1/jars/j
> ta-s
>
pec1.jar;c:\javasoft/swiftmq_2_1_1/jars/smqclient.jar;c:\javasoft/swiftmq_2_
> 1_1/
>
jars/swiftmq.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\ant.jar;c:\javasoft\ja
> kart
>
a-tomcat-3.2.2\lib\jasper.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\servlet.j
> ar;c
> :\javasoft\jakarta-tomcat-3.2.2\lib\webserver.jar
> 
> Starting Tomcat in new window
> 
> 
> I tried jdk 1.4.0 beta at first, and then switched
> back to 1.3.
> 
> I got a whole bunch of error messages earlier that
> were related to the
> deployed service, like that it couldn't find the
> class, or my class used
> some imports that were missing. Thus, I thought, I
> was pretty close to
> getting it work, when I got those resolved.
> 
> 
> Thanks a lot,
> HariNam 

____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

Re: Soap error on new installation

Posted by pravin pachbhai <pr...@yahoo.com>.
 SET
CLASSPATH=C:\soap\samples\addressbook;c:\xerces\xerces.jar;%CLASSPATH%
before running this example remove the jaxp.jar and
parse.jar file from tomcat\lib folder.
use the xerces1.4 or greater version.

--- HariNam Singh <hs...@elite.com> wrote: > Hi,
> 
> I installed SOAP on Tomcat a few hours ago, and
> still can't get my sample
> service to run properly.
> 
> As I saw lots of notes on XML parser, I made sure
> that mine was in the
> front. As it still didn't work, I got the latest
> from jaxp. Then 1.4.1
> Xerces. Then 1.2.1 Xerces. Neither of those made it
> work. Plus, the error
> message totally undescript. See below, what the http
> tunneling tool snaps
> up:
> 
> HTTP/1.0 500 Internal Server Error Content-Type:
> text/xml; charset=utf-8
> Content-Length: 475 Set-Cookie2:
> JSESSIONID=g20woj32b1;Version=1;Discard;Path="/soap"
> Set-Cookie:
> JSESSIONID=g20woj32b1;Path=/soap Servlet-Engine:
> Tomcat Web Server/3.2.2
> (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0
> x86; java.vendor=Sun
> Microsyste<?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>org/apache/soap/rpc/RPCMessage</faultstring>
>  
>  <faultactor>/soap/servlet/rpcrouter</faultactor> 
> </SOAP-ENV:Fault>  </SOAP-ENV:Body>
> </SOAP-ENV:Envelope> ms Inc.) 
> 
> 
> 
> 
> 
> 
> 
> Here is the classpath
> C:\javasoft\jakarta-tomcat-3.2.2\bin>startup
> Setting your CLASSPATH statically.
> 
> Using CLASSPATH:
>
c:\javasoft\xerces-1_2_1\xerces.jar;c:\javasoft\jakarta-tomcat-
>
3.2.2\classes;c:\javasoft\jaf-1.0.1\activation.jar;;c:\javasoft\javamail-1.2
> \ima
>
p.jar;c:\javasoft\javamail-1.2\mailapi.jar;c:\javasoft\javamail-1.2\smtp.jar
> ;c:\
>
javasoft\javamail-1.2\mail.jar;c:\javasoft\javamail-1.2\pop3.jar;c:\dev\swif
> tmqp
>
lay;c:\javasoft/swiftmq_2_1_1/jars/jcert.jar;c:\javasoft/swiftmq_2_1_1/jars/
> jms.
>
jar;c:\javasoft/swiftmq_2_1_1/jars/jndi.jar;c:\javasoft/swiftmq_2_1_1/jars/j
> net.
>
jar;c:\javasoft/swiftmq_2_1_1/jars/jsse.jar;c:\javasoft/swiftmq_2_1_1/jars/j
> ta-s
>
pec1.jar;c:\javasoft/swiftmq_2_1_1/jars/smqclient.jar;c:\javasoft/swiftmq_2_
> 1_1/
>
jars/swiftmq.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\ant.jar;c:\javasoft\ja
> kart
>
a-tomcat-3.2.2\lib\jasper.jar;c:\javasoft\jakarta-tomcat-3.2.2\lib\servlet.j
> ar;c
> :\javasoft\jakarta-tomcat-3.2.2\lib\webserver.jar
> 
> Starting Tomcat in new window
> 
> 
> I tried jdk 1.4.0 beta at first, and then switched
> back to 1.3.
> 
> I got a whole bunch of error messages earlier that
> were related to the
> deployed service, like that it couldn't find the
> class, or my class used
> some imports that were missing. Thus, I thought, I
> was pretty close to
> getting it work, when I got those resolved.
> 
> 
> Thanks a lot,
> HariNam 

____________________________________________________________
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com