You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by richard falconer <rf...@peopledoc.com> on 2005/08/04 15:22:38 UTC

RE: could not find class javax.activation.DataHandler from file activation.jar ?

No worries,

Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an
unknown location.

- me too now that you mention it!!

R

At 14:11 04/08/2005, you wrote:
>Thanks, Richard.
>
>The suggested approach works!!  I put the activation.jar and mailapi.jar
>under the common\lib of the Tomcat.  Other locations do not work.
>
>I have another minor warning from the Axis Happiness Page though.
>
>   Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an
>unknown location.
>
>Any idea?
>
>Don
>
>-----Original Message-----
>From: richard falconer [mailto:rfalconer@peopledoc.com]
>Sent: Thursday, August 04, 2005 8:55 AM
>To: axis-user@ws.apache.org
>Subject: RE: could not find class javax.activation.DataHandler from file
>activation.jar ?
>
>You still need both jars - not sure why.
>
>Add both to the axis lib:
>Tomcat5.0\webapps\axis\WEB-INF\lib
>
>Richard
>At 13:40 04/08/2005, you wrote:
> >The Error I got only concerns javaax.activation.DataHander and has no
> >sign related to the mailapi.jar.
> >
> >Do I still need the mailapi.jar?  If I get it from sun, where should I
> >put it?
> >
> >Thanks,
> >
> >Don
> >
> >-----Original Message-----
> >From: richard falconer [mailto:rfalconer@peopledoc.com]
> >Sent: Thursday, August 04, 2005 4:37 AM
> >To: axis-user@ws.apache.org
> >Subject: RE: could not find class javax.activation.DataHandler from
>file
> >activation.jar ?
> >
> >Additionally to the activation.jar, you'll need the mailapi.jar from
> >java's mail api. This library is located somewhere on suns website.
> >
> >Best regards
> >Richard
> >
> >At 23:07 03/08/2005, you wrote:
> > >I'm still learning all of this, but I used to get the message below,
>I
> > >fixed it by adding activation.jar to the classpath for the server or
> >web
> > >application.  (One machine I put it in the server\lib, one machine I
> >put
> > >it in web-inf\lib).
> > >
> > >"- Unable to find required classes (javax.activation.DataHandler and
> > >javax.mail.internet.MimeMultipart). Attachment support is disabled."
> > >
> > >Jeff
> > >
> > >>From: "Chen, Donald" <dc...@nrgn.com>
> > >>Reply-To: axis-user@ws.apache.org
> > >>To: <ax...@ws.apache.org>
> > >>Subject: could not find class javax.activation.DataHandler from file
> > >>activation.jar ???
> > >>Date: Wed, 3 Aug 2005 17:53:10 -0400
> > >>
> > >>Hi, there.
> > >>
> > >>
> > >>
> > >>I tried to run the http://127.0.0.1:8080/axis/happyaxis.jsp, and got
> > >>this message:
> > >>
> > >>     Error: could not find class javax.activation.DataHandler from
> >file
> > >>activation.jar
> > >>
> > >>     Axis will not work.
> > >>
> > >>     See http://java.sun.com/products/javabeans/glasgow/jaf.html
> > >>
> > >>
> > >>
> > >>I use Axis 12. with Tomcat 5.5 on windows XP professional, the JRE
>is
> > >>J2SE 1.5.
> > >>
> > >>
> > >>
> > >>Did I miss something?
> > >>
> > >>
> > >>
> > >>Thanks,
> > >>
> > >>
> > >>
> > >>Don
> > >



RE: could not find class javax.activation.DataHandler from file activation.jar ?

Posted by Guy Rixon <gt...@ast.cam.ac.uk>.
I thnk this means that the jar was found inside the JDK, not on your
classpath.  Nothing to worry about.

On Thu, 4 Aug 2005, richard falconer wrote:

> No worries,
>
> Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an
> unknown location.
>
> - me too now that you mention it!!
>
> R
>
> At 14:11 04/08/2005, you wrote:
> >Thanks, Richard.
> >
> >The suggested approach works!!  I put the activation.jar and mailapi.jar
> >under the common\lib of the Tomcat.  Other locations do not work.
> >
> >I have another minor warning from the Axis Happiness Page though.
> >
> >   Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an
> >unknown location.
> >
> >Any idea?
> >
> >Don
> >
> >-----Original Message-----
> >From: richard falconer [mailto:rfalconer@peopledoc.com]
> >Sent: Thursday, August 04, 2005 8:55 AM
> >To: axis-user@ws.apache.org
> >Subject: RE: could not find class javax.activation.DataHandler from file
> >activation.jar ?
> >
> >You still need both jars - not sure why.
> >
> >Add both to the axis lib:
> >Tomcat5.0\webapps\axis\WEB-INF\lib
> >
> >Richard
> >At 13:40 04/08/2005, you wrote:
> > >The Error I got only concerns javaax.activation.DataHander and has no
> > >sign related to the mailapi.jar.
> > >
> > >Do I still need the mailapi.jar?  If I get it from sun, where should I
> > >put it?
> > >
> > >Thanks,
> > >
> > >Don
> > >
> > >-----Original Message-----
> > >From: richard falconer [mailto:rfalconer@peopledoc.com]
> > >Sent: Thursday, August 04, 2005 4:37 AM
> > >To: axis-user@ws.apache.org
> > >Subject: RE: could not find class javax.activation.DataHandler from
> >file
> > >activation.jar ?
> > >
> > >Additionally to the activation.jar, you'll need the mailapi.jar from
> > >java's mail api. This library is located somewhere on suns website.
> > >
> > >Best regards
> > >Richard
> > >
> > >At 23:07 03/08/2005, you wrote:
> > > >I'm still learning all of this, but I used to get the message below,
> >I
> > > >fixed it by adding activation.jar to the classpath for the server or
> > >web
> > > >application.  (One machine I put it in the server\lib, one machine I
> > >put
> > > >it in web-inf\lib).
> > > >
> > > >"- Unable to find required classes (javax.activation.DataHandler and
> > > >javax.mail.internet.MimeMultipart). Attachment support is disabled."
> > > >
> > > >Jeff
> > > >
> > > >>From: "Chen, Donald" <dc...@nrgn.com>
> > > >>Reply-To: axis-user@ws.apache.org
> > > >>To: <ax...@ws.apache.org>
> > > >>Subject: could not find class javax.activation.DataHandler from file
> > > >>activation.jar ???
> > > >>Date: Wed, 3 Aug 2005 17:53:10 -0400
> > > >>
> > > >>Hi, there.
> > > >>
> > > >>
> > > >>
> > > >>I tried to run the http://127.0.0.1:8080/axis/happyaxis.jsp, and got
> > > >>this message:
> > > >>
> > > >>     Error: could not find class javax.activation.DataHandler from
> > >file
> > > >>activation.jar
> > > >>
> > > >>     Axis will not work.
> > > >>
> > > >>     See http://java.sun.com/products/javabeans/glasgow/jaf.html
> > > >>
> > > >>
> > > >>
> > > >>I use Axis 12. with Tomcat 5.5 on windows XP professional, the JRE
> >is
> > > >>J2SE 1.5.
> > > >>
> > > >>
> > > >>
> > > >>Did I miss something?
> > > >>
> > > >>
> > > >>
> > > >>Thanks,
> > > >>
> > > >>
> > > >>
> > > >>Don
> > > >
>
>

Guy Rixon 				        gtr@ast.cam.ac.uk
Institute of Astronomy   	                Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA		Fax: +44-1223-337523