[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soap-dev
Subject:    Re: what's wrong with my deploy
From:       Scott Nichol <snicholnews () scottnichol ! com>
Date:       2002-07-30 13:29:59
[Download RAW message or body]

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" <leonlee@airinbox.com>
To: <soap-dev@xml.apache.org>
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:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic