Hi Amol,

I ran the Tomcat JSP and Servlet Examples from the
Tomcat home page to make sure that Tomcat was installed
properly. There were no problems at all.

Meanwhile I recompiled RPCRouterServlet.java with some
debug statements. This way I found out that 
getClass().getClassLoader() in the very first line in 
the init() method returns null.

What can cause this problem?

Regards,
Herbert

-----Original Message-----
From: Kher, Amol [mailto:[EMAIL PROTECTED]]
Sent: Montag, 23. Juli 2001 17:06
To: '[EMAIL PROTECTED]'
Subject: RE: newbie: can't get rpcrouter running


This looks more of a Tomcat issue than SOAP. Confirm if Tomcat has been
successfully installed.

-Amol

-----Original Message-----
From: Herbert Bock [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 10:08 AM
To: [EMAIL PROTECTED]
Subject: newbie: can't get rpcrouter running


Hi everybody,

I try to set up Apache SOAP 2.2 with Tomcat 3.2.3. I made sure
that Xerces is the first entry in my classpath. When I direct my
browser to the rpcrouter I get the following NullPointerException:

java.lang.NullPointerException
        at java.util.Hashtable.put(Compiled Code)
        at org.apache.tomcat.core.Context.setAttribute(Context.java:411)
        at
org.apache.tomcat.facade.ServletContextFacade.setAttribute(ServletContextFac
ade.java:116)
        at
org.apache.soap.server.http.ServerHTTPUtils.setServletClassLoaderIntoContext
(ServerHTTPUtils.java:144)
        at org.apache.soap.server.http.RPCRouterServlet.init(Compiled Code)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
        at org.apache.tomcat.core.Handler.init(Handler.java:215)
        at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
        at org.apache.tomcat.core.Handler.service(Handler.java:254)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
        at java.lang.Thread.run(Compiled Code)

Are there any hints what's may be wrong with my installation?
Any hints are appreciated

Thanks,
Herbert

Reply via email to