activation.jar is not being found by your servlet container.  What container
do you use?  There are installation instructions for Tomcat, JRun, iPlanet,
BEA and WebSphere.  These include configuration changes to add the jars to
the class loading chain.

Scott Nichol

----- Original Message -----
From: "leonlee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 29, 2002 11:51 PM
Subject: what's wrong with my deploy


I use the following command to test the samples:
(activation.jar already in my classpath)

java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

error returns:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=Unsupported response content type &quot;text/html&quot;, must be:
&quot;text/xml&quot;. Response was:
&lt;title&gt;500 Servlet Exception&lt;/title&gt;
&lt;h1&gt;500 Servlet Exception&lt;/h1&gt;
&lt;code&gt;&lt;pre&gt;
java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:28
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:8
2)
        at com.caucho.server.http.Invocation.service(Invocation.java:259)
        at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:146)
        at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:238)
        at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:157)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
        at java.lang.Thread.run(Thread.java:536)
&lt;/pre&gt;&lt;/code&gt;
&lt;hr /&gt;&lt;small&gt;
Resin 1.3.b1 (built Mon Jan 29 19:25:51 PST 2001)
&lt;/small&gt;
]
        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
:142)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
30)





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to