tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Denans" ...@pulsoinformatica.es>
Subject tomcat with SOAP
Date Tue, 16 Nov 2004 17:17:49 GMT
hi,

I tryed with Apache 2.0.52

SOAP 2.3.1

Tomcat 3.3.2

It seem that the server is responding with test/html instead of text/xml but
i don't know how to repair this.

the rpcrouter and messagerouter servlet are listening but when I try the
Calculator example I get an error:

/******************************************************

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=Unsupported response con

tent type "text/html; charset=ISO-8859-1", must be:
"text/xml". Response was:

<head><title>Error: 500</title></head>

<body>

<h1>Error: 500</h1>

<h2>Localizaci┬żn: /soap/servlet/rpcrouter</h2><b>Error
interno del Servlet:</b&

gt;<br>

<pre>java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)

at java.net.URLClassLoader.access$100(URLClassLoader.java:55)

at java.net.URLClassLoader$1.run(URLClassLoader.java:194)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:282)

at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:575)

at java.lang.ClassLoader.loadClass(ClassLoader.java:282)

at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:575)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at
org.apache.tomcat.util.depend.DependClassLoader12Impl.loadClassInternal1(Dep
en dClassLoade

r12.java:193)

at
org.apache.tomcat.util.depend.DependClassLoader12Impl$1.run(DependClassLoade
r1 2.java:78)

at java.security.AccessController.doPrivileged(Native Method)

at
org.apache.tomcat.util.depend.DependClassLoader12Impl.loadClass(DependClassL
oa der12.java:

76)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at
org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:307)

at org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:378)

at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:192)

at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:423)

at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:87
4)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)

at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ct ion(Http11P

rotocol.java:702)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a: 644)

at java.lang.Thread.run(Thread.java:534)

</pre>

</body>

]

at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)

at org.apache.soap.rpc.Call.invoke(Call.java:255)

at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t. java:129)

at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
:1 42)

at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
30 )

>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message