*-unsubscribe
 
----- Original Message -----
Sent: Monday, December 31, 2001 5:14 PM
Subject: Re: Problem starting SOAP samples

well, one thing is: where is xerxes.jar in your classpath??
It should be xerxex version 1.4.something. xerxes needs to be first in the classpath as well especially so that tomcat goes to it firrst before any other xml parser. One thing I did to cheat tomcat was drop xerxes.jar into tomcat/lib/common as well as tomcat/lib. my classpath in tomcat.bat points to c:\tomcat\lib\xerxes.jar.
----- Original Message -----
Sent: Monday, December 31, 2001 12:24 PM
Subject: RE: Problem starting SOAP samples

You should have xercer.jar in your classpath. 
Also you need to make sure that it is the first listing.
-----Original Message-----
From: CT Chou [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 31, 2001 11:35 AM
To: [EMAIL PROTECTED]
Subject: Problem starting SOAP samples

Hi,

 

I have installed Tomcat 3.2.3, JDK 1.3.1. The SOAP server side installation works fine, i.e. I do get “Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.” Message when launch http://localhost:port/soap/servlet/rpcrouter

 

I am trying to start the SOAP sample “StockQuote” with testit.cmd and getting following error –

 

C:\soap-2_2\samples\stockquote>testit

This test assumes a server URL of http://localhost:8080/soap/servlet/rpcrouter

Deploying the stockquote service...

Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.DocumentBuilderFactoryImpl

        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:80)

        at org.apache.soap.util.xml.XMLParserUtils.refreshDocumentBuilderFactory(XMLParserUtils.java:112)

        at org.apache.soap.util.xml.XMLParserUtils.<clinit>(XMLParserUtils.java:79)

        at org.apache.soap.rpc.Call.<init>(Call.java:106)

        at org.apache.soap.rpc.Call.<init>(Call.java:99)

        at org.apache.soap.rpc.Call.<init>(Call.java:93)

        at org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClient.java:81)

        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java, Compiled Code)

 

Here is my CLASSPATH settings-

 

.;c:\soap-2_2;c:\jars\mail.jar;c:\jars\soap.jar;c:\jars\activation.jar;c:\jars\jaxp.jar; c:\tomcat-3.2.3\lib\servlet.jar

 

Can someone point out where did I do I ne1.3.1. The SOAP rpcrouter seems to work fine, i.e. I do get

wrong?

 

Thanks in advance.

 

 

Reply via email to