At 10:59 AM 6/18/2001 -0400, Alex Golden F-65 coop wrote:
>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.....
>(I'm using: soap 2.2, tomcat 3.2.2, xerces 1.4.0, javamail 1.2 and jaf
>1.0.1)
That happened to me last week, setting up Tomcat on some NT 4.0 machines;
I did get it to work eventually, but I actually ended up taking Tomcat's
parser away altogether, substituting xerces. Specifically, I took
_everything_ away, then began a loop of
look for the first classnotfound error (class x.y.z or whatever)
search among the jars for files with text "x/y/z", i.e. defining that class
put the one I prefer onto the classpath.
repeat.
It was extremely annoying but actually took less than half an hour after I
stopped trying to figure out what on earth was going wrong. (I'd spent a day
finding that a copy of the source code that was blowing up would run quite
well when I ran it outside of Tomcat, and that setting the system variable
javax.xml.parsers.DocumentBuilderFactory had no effect that I could discover,
and so forth and so on. Well, almost a day.) I still don't know what was
wrong. Good luck.
Tom Myers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]