Hello Christian Dutaret,

Thanks for the response.

I checked in the entire <TOMCAT_INSTALL> directory and i do not find any
"parser.jar" file there.
Does Tomcat 3.3.1 has some other name for this file? As i find "tomcat.jar" in
<TOMCAT_INSTALL>/lib directory.

Let me know.

thanks
VS


Christian Dutaret wrote:

> This sounds like an XML parser version
>
> Tomcat 3.x uses a JAXP 1.0 parser (parser.jar) which has some different
> method signatures as a jaxp 1.1 compliant parser like xerces.
> If you put xerces.jar in your tomcat/lib directory, it won't be seen as
> tomcat sets its classpath in alphabetic order. Any caller expecting a jaxp
> 1.1 method will call the jaxp1.0 method instead and fail.
>
> Just try to put all soap related jars in tomcat/lib directory, then rename
> parser.jar to zparser.jar and restart tomcat. This should do the trick.
>
> Otherwise you can switch to Tomcat 4, which uses a jaxp1.1 parser.
>
> Hope this helps
> Ch.
>
> ----- Original Message -----
> From: "Vibha Sridhar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 12:06 PM
> Subject: Apache Soap RPCRouter problems
>
> >
> > Hi there,
> >
> > I would really appreciate if someone can help me solve this problem
> > related to running a simple Apache SOAP Sample.
> >
> > I downloaded and installed  the following
> >
> > a)Apache Web Server
> > b)Jakarta Tomcat 3.3.1
> > c)Apache SOAP 2.2 and all the related JAR files like Xerces, Activation
> > etc.
> >
> > I followed instructions as detailed in the web site.
> >
> > I could successfully deploy the web service. The URL
> > http://localhost:8080/soap/servlet/rpcrouter works fine.
> >
> > But when i  trying to run the Greetings sample client, i get the
> > following error -
> >
> >
> > --------------------------------------------------------------------
> > [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response
> > content type "text/html", must be: "text/xml". Respon
> > se was:
> > <head><title>Error: 500</title></head>
> > <body>
> > <h1>Error: 500</h1>
> > <h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet
> > Error:</b><br>
> > <pre>javax.servlet.ServletException: Error building response envelope:
> > java.lang.NullPointerException
> >         at
> >
> org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> 3)
> >
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >         at
> > org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
> >
> >         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
> >         at org.apache.tomcat.core.Handler.service(Handler.java:235)
> >         at
> > org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
> >
> >         at
> >
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
> 7)
> >
> >         at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> >         at
> >
> org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
> nterceptor.java:176)
> >
> >         at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
> >
> >         at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:516)
> >
> >         at java.lang.Thread.run(Thread.java:536)
> > </pre>
> > </body>
> > ]
> >         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
> >         at org.apache.soap.rpc.Call.invoke(Call.java:212)
> >         at GreeterClient.main(GreeterClient.java:22)
> > Exception in thread "main" java.lang.NullPointerException
> >         at GreeterClient.main(GreeterClient.java:31)
> >
> > ------------------------------------
> >
> > I went to the "troubleshooting" site of Apache SOAP and the solution
> > suggested for this kind of error was not of much help.
> >
> > I am stuck with this problem for quite sometime now and would appreciate
> > if anyone can throw some light on this.
> >
> > thanks
> > VS
> >
> >
> >
begin:vcard 
n:Sridhar;Vibha
tel;cell:+91-98452-84242
tel;fax:+91-80-2231794
tel;work:+91-80-2298989 x 87576
x-mozilla-html:TRUE
url:www.iplanet.com/trustbase
org:<a  href="http://www.iplanet.com";><img border=0 src="http://www.iplanet.com/images/vcards/iplanetBC4.gif";></a>
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Technical Marketing Consultant, APAC
adr;quoted-printable:;;Sun Microsystems India Pvt Ltd.=0D=0A7th Floor, Divya Shree Chambers,=0D=0AOff Langford Road,=0D=0AShanthinagar;Bangalore;Karnataka;560025;India
fn:Vibha Sridhar
end:vcard

Reply via email to