The Tomcat 5 classloader docs 
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html) say to 
either put these in shared/lib or the lib for your webapp.

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: "'Scott Nichol'" <[EMAIL PROTECTED]>
Sent: Tuesday, September 30, 2003 5:44 AM
Subject: RE: Errors on execution of ServiceManagerClient 


> No there is a shared folder with classes and lib directory but its empty.
> 
> I had put the activation.jar in the server/lib directory, should it be in
> the shared folder??
> 
> Regards,
> 
> ----------------------------------------------------------------------
> David Chalissary
> Software Developer
> 
> 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.
>  
> 
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED] 
> Sent: 30 September 2003 10:41
> To: [EMAIL PROTECTED]
> Cc: CHALISSARY DAVID
> Subject: Re: Errors on execution of ServiceManagerClient 
> 
> 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 &quot;text/html; charset=ISO-8859-1&quot;,
> > must be
> > 
> > : &quot;text/xml&quot;. Response was:
> > 
> >  
> > 
> > &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.0.12 - Error
> > report&lt;/title&gt;&lt;style&gt;&lt;!--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;}--&gt;&lt;/style&gt;
> > &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR
> > size=&quot;1&quot; noshade&gt;&lt;p&gt;&
> > 
> > lt;b&gt;type&lt;/b&gt; Exception
> > report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> > &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;
> &lt;u&
> > 
> > gt;The server encountered an internal error () that prevented it from
> > fulfilling this
> > request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt; &lt;pre&
> > 
> >  gt;javax.servlet.ServletException: Servlet execution threw an exception
> > &lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;root cause&lt;/b&gt; &lt;pre&gt;
> > 
> >  
> > 
> > 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)
> > 
> >  &lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;note&lt;/b&gt; &lt;u&gt;The full
> > stack t
> > 
> >  race of the root cause is available in the Tomcat
> > logs.&lt;/u&gt;&lt;/p&gt;&lt;H
> > 
> >  R size=&quot;1&quot; noshade&gt;&lt;h3&gt;Apache
> > Tomcat/5.0.12&lt;/h3&gt;&lt;/bo
> > 
> >  dy&gt;&lt;/html&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(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.
> > 
> >  
> > 
> >  
> > 
> > 
>

Reply via email to