Hi Alex,

It appears as if the first JAXP-compliant parser being resolved is a sun
parser:

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

Check your classpath to make sure there are no crimson.jar files, or xml.jar
files. Also, you may have to look through some of your projects to make sure
these files don't appear in any lib\ext directories, or some other
"auto-load" location.

Alternatively, you might be able to get it to work by setting the system
property which JAXP checks to have as its value the class name of the Xerces
class which implements the DocumentBuilderFactory abstract class.

Thanks,
-Matt


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Golden
> F-65 coop
> Sent: Monday, June 18, 2001 10:59 AM
> To: [EMAIL PROTECTED]
> Subject: ServiceManagerClient error
>
>
> Hello all,
>
>    I've been trying to get a SOAP demo up and running with Tomcat, but
> I've been having difficulties... I believe I have Tomcat configured
> correctly as browsing to http://localhost:8080/soap/servlet/rpcrouter
> shows the correct response. However, when I try to test out the client
> end by the following command:
>
>    java org.apache.soap.server.ServiceManagerClient
> http://localhost:8080/soap/servlet/rpcrouter list
>
>    I get the following error:
>
> Exception in thread "main" javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.DocumentBuilderFactoryImpl
>         at
> javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuild
> erFactory.java:80)
>
>         at
> org.apache.soap.util.xml.XMLParserUtils.refreshDocumentBuilderFact
> ory(XMLParserUtils.java:112)
>
>         at
> org.apache.soap.util.xml.XMLParserUtils.<clinit>(XMLParserUtils.java:79)
>
>         at org.apache.soap.rpc.Call.<init>(Call.java:87)
>         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>(ServiceManagerC
> lient.java:81)
>
>         at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerCli
> ent.java:216)
>
>    My classpath contains soap.jar, mail.jar, activation.jar and
> xerces.jar ... I edited Tomcat's server.xml
> file to put xerces.jar in front of Tomcat's classpath... I've been
> looking around for a little while and can't
> seem to figure out what is wrong, if anyone could help me out it would
> be greatly appreciated...
>
>    Thanks,
>
> -Alex
>
> (I'm using: soap 2.2, tomcat 3.2.2, xerces 1.4.0, javamail 1.2 and jaf
> 1.0.1)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>

Reply via email to