J
Joachim Jokisch
Hello everyone,
I'm running a Tomcat 3.3.1a on Windows 2000 and have deployed SOAP 2.2
and a web application to do some SOAP message processing. The
Application and SOAP is installed properly but when I try to send a
message to it, I get a message from the server stating that a class
connot be found (com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay).
I've been looking for that class and found it in the
webapps/[myapp]/WEB-INF/classes... folder (in the correct subfolder as
specified in the class' name). Why doesn't Tomcat find the class??? Is
it a configuration error? Please help.
Here's the message from the server:
HTTP/1.0 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 2365
Set-Cookie: JSESSIONID=1xv2ka70o1;Path=/vasp
Date: Wed, 16 Jul 2003 13:41:36 GMT
Server: Tomcat Web Server/3.3.1 Final ( JSP 1.1; Servlet 2.2 )
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode>
<faultstring>Unable to resolve target object:
com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay</faultstring>
<faultactor>/vasp/servlet/messagerouter</faultactor>
<detail>
<stackTrace>java.lang.ClassNotFoundException:
com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at org.apache.soap.rpc.SOAPContext.loadClass(SOAPContext.java:557)
at org.apache.soap.server.http.ServerHTTPUtils.getTargetObject(ServerHTTPUtils.java:274)
at org.apache.soap.providers.MsgJavaProvider.locate(MsgJavaProvider.java:113)
at org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouterServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
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:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
</stackTrace>
</detail>
</SOAP-ENV:Fault>
I'm running a Tomcat 3.3.1a on Windows 2000 and have deployed SOAP 2.2
and a web application to do some SOAP message processing. The
Application and SOAP is installed properly but when I try to send a
message to it, I get a message from the server stating that a class
connot be found (com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay).
I've been looking for that class and found it in the
webapps/[myapp]/WEB-INF/classes... folder (in the correct subfolder as
specified in the class' name). Why doesn't Tomcat find the class??? Is
it a configuration error? Please help.
Here's the message from the server:
HTTP/1.0 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 2365
Set-Cookie: JSESSIONID=1xv2ka70o1;Path=/vasp
Date: Wed, 16 Jul 2003 13:41:36 GMT
Server: Tomcat Web Server/3.3.1 Final ( JSP 1.1; Servlet 2.2 )
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode>
<faultstring>Unable to resolve target object:
com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay</faultstring>
<faultactor>/vasp/servlet/messagerouter</faultactor>
<detail>
<stackTrace>java.lang.ClassNotFoundException:
com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at org.apache.soap.rpc.SOAPContext.loadClass(SOAPContext.java:557)
at org.apache.soap.server.http.ServerHTTPUtils.getTargetObject(ServerHTTPUtils.java:274)
at org.apache.soap.providers.MsgJavaProvider.locate(MsgJavaProvider.java:113)
at org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouterServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
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:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
</stackTrace>
</detail>
</SOAP-ENV:Fault>