Tomcat is throwing an exception for java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
That class should be in activation.jar. Tomcat 4 ships with an activation.jar in a common directory. Does Tomcat 5 do the same? Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "CHALISSARY DAVID" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 30, 2003 4:52 AM Subject: Re: Errors on execution of ServiceManagerClient > Hi all, > > > > I am running the ServiceManagerClient to see if the installation is correct, > when I connect using the browser I am getting > > the message as was expected but when I execute on the command line I get an > error as mentioned below > > The error is about the response being in text/html instead of the text/xml. > > I had dropped the war file in the Tomcats web-app directory and I don't have > an explicit web-server ahead of Tomcat > > Is there anything wrong in the installation process or is there any more > that needs to be done?? > > > > I am not a member of the mailing list, could somebody who have encountered > similar problem post the reply to my > > e-mail account [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > Regards and thanks in advance..... > > > > The stack trace after the execution..... > > > > C:\soap-2_3_1>java -classpath > C:\soap-2_3_1\lib\soap.jar;C:\soap-2_3_1\lib\mail. > > jar;C:\soap-2_3_1\lib\activation.jar > org.apache.soap.server.ServiceManagerClient > > http://localhost:8080/soap/servlet/rpcrouter list > > Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; > msg=Unsu > > pported response content type "text/html; charset=ISO-8859-1", > must be > > : "text/xml". Response was: > > > > <html><head><title>Apache Tomcat/5.0.12 - Error > report</title><style><!--H1 > {font-family:Tahoma,Arial,sans-serif;color:white;ba > > ckground-color:#525D76;font-size:22px;} H2 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo > nt-size:16px;} H3 {font-family:Tahoma,Ari > > al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY > {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B > {font-famil > > y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P > {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size: > 12px;}A {color : > > black;}HR {color : #525D76;}--></style> > </head><body><h1>HTTP Status 500 - </h1><HR > size="1" noshade><p>& > > lt;b>type</b> Exception > report</p><p><b>message</b> > <u></u></p><p><b>description</b> <u& > > gt;The server encountered an internal error () that prevented it from > fulfilling this > request.</u></p><p><b>exception</b> <pre& > > gt;javax.servlet.ServletException: Servlet execution threw an exception > </pre></p><p><b>root cause</b> <pre> > > > > java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException > > > org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.jav > > a:286) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > </pre></p><p><b>note</b> <u>The full > stack t > > race of the root cause is available in the Tomcat > logs.</u></p><H > > R size="1" noshade><h3>Apache > Tomcat/5.0.12</h3></bo > > dy></html> > > ] > > 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(ServiceManag > > erClient.java:129) > > at > org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient > > .java:151) > > at > org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient > > > > ---------------------------------------------------------------------- > > David Chalissary > > Software Developer > > <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED] > > This e-mail contains confidential information and is for the exclusive use > of the addressee/s. If you are not the addressee, then any distribution, > copying or use of this e-mail is prohibited. If received in error, please > advise the sender and delete it immediately. We accept no liability for any > loss or damage suffered by any person arising from use of this e-mail. > > > > > >