tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nino Uziel <n...@iweb.com>
Subject RE: soap service class.
Date Wed, 04 Jul 2001 13:25:24 GMT
Tarun,

I think you have to add to the mod_jk.conf or to the httpd.conf
the JkMount command

JkMount /soap/servlet/* ajpv13

or something like that.

N.

-----Original Message-----
From: Tarun Garg [mailto:tarung@induslogic.com]
Sent: Wednesday, July 04, 2001 4:12 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: soap service class.


I was previously putting the classes in ROOT/web-inf/classes.
Now when I put them in SOAP/web-inf/classes, tomcat loads my class
automatically.
I can call this service as many times, everything goes well.
But if I recompile the service class, and try to call it, I get the
following error on the server side.
Any idea why's that so ?


2001-07-04 06:29:59 - Ctx( /soap ): Exception in: R( /soap +
/servlet/rpcrouter
+ null) - java.lang.ClassCastException:
org.apache.soap.server.ServiceManager
        at
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Ser
verHTTPUtils.java:111)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:21
2)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

----- Original Message -----
From: "Tarun Garg" <tarung@induslogic.com>
To: <tomcat-user@jakarta.apache.org>; <soap-user@xml.apache.org>
Sent: Wednesday, July 04, 2001 3:53 PM
Subject: soap service class.


> When you want tomcat to automatically reload your servlets, you put them
in
> web-inf/classes directory.
> Where can I put my classes which implement soap services ??
> Presently I have to restart tomcat everytime I change the class.
> Putting it in web-inf/classes doesn't help. tomcat cannot find it.
>
>

Mime
View raw message