axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Donald" <dc...@nrgn.com>
Subject RE: could not find class javax.activation.DataHandler from file activation.jar ?
Date Thu, 04 Aug 2005 13:11:12 GMT
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" <dchen@nrgn.com>
> >>Reply-To: axis-user@ws.apache.org
> >>To: <axis-user@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
> >



Mime
View raw message