Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 0.7, Eclipse 3.2 current beta, and activation.jar error
WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #135903] Wed, 31 August 2005 16:03 Go to next message
Eclipse UserFriend
Originally posted by: erjablow.praxiseng.com

With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
installation, I am getting this error trying to create a web service:

IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError

Sometimes when I do this, I get the additional information that DataSource
in activation.jar is the class not found. Can someone give me _clear_
instructions on where I can place activation.jar and the mail jar file to
avoid this? I've placed the two jar files in the JDK's extension directory,
Tomcat's endorsed directory, the app's jar directory, and my kitchen sink.
Nothing helps.

Respectfully,
Eric Jablow
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #135918 is a reply to message #135903] Wed, 31 August 2005 16:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In article <df4kdf$flj$1@news.eclipse.org>, erjablow@praxiseng.com
says...
> With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
> installation, I am getting this error trying to create a web service:
>
> IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError
>
> Sometimes when I do this, I get the additional information that DataSource
> in activation.jar is the class not found. Can someone give me _clear_
> instructions on where I can place activation.jar and the mail jar file to
> avoid this? I've placed the two jar files in the JDK's extension directory,
> Tomcat's endorsed directory, the app's jar directory, and my kitchen sink.
> Nothing helps.

Jars go in the kitchen cupboard, not in the sink.



Sorry, couldn't resist, especially since I don't know the answer to your
question.


--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #135943 is a reply to message #135903] Wed, 31 August 2005 17:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Laurentd75_nosp_am.yahoo.fr

Why on earth are you trying to run WTP 0.7 with Eclipse 3.2 beta ???!!!

Is this just out of ignorance, or are you actively seeking trouble ??? ;-)
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #135970 is a reply to message #135943] Wed, 31 August 2005 19:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: erjablow.praxiseng.com

"Laurent D" <Laurentd75_nosp_am@yahoo.fr> wrote in message
news:d4702a1448062e510713f5b09eaa5a44$1@www.eclipse.org...
>
> Why on earth are you trying to run WTP 0.7 with Eclipse 3.2 beta ???!!!
>
> Is this just out of ignorance, or are you actively seeking trouble ???
> ;-)

Because I had the same problem with 3.1, and I hoped somebody had fixed it.
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #135981 is a reply to message #135903] Wed, 31 August 2005 19:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: derk.obriendesign.nl

Eric Jablow wrote:

> IWAB0398E Error in generating WSDL from Java
> java.lang.NoClassDefFoundError

This is a common problem here to0 with eclipse 3.1 and wtp 0.7. Sometimes I
recreate the webservice and than it pop-up with this error. And notting can
make it go away. Once the problem occurres it stays. Restarting eclipse has
no influence.

The only thing to fix this is to create a _NEW_ workspace and generate the
SOAP files there.

Could someone please look into this. It is a wonderful function of WTP, but
it is so broken....

Best regards,

Derk Gortemaker
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #136018 is a reply to message #135970] Wed, 31 August 2005 21:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: laurentd75___no.sp_am.yahoo.fr

> Because I had the same problem with 3.1, and I hoped somebody had fixed
it.

What makes you think the problem is related to Eclipse 3.1 ? From the
description of your problem, I would think it has more to do with a bug in
WTP itself.

You may want to get one of the latest WTP 0.7 maintenance releases
(available from the downloads page) to see if it cures your problem.

If it does not, you could then test against a recent integration build of
WTP 1.0 and see if the problem still persists.

Whatever the outcome, I'd avise you to fill in a bug report on
https://bugs.eclipse.org so that people are aware of this bug, and someone
can look into it if need be.

Regards,
Laurent
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #136220 is a reply to message #135981] Thu, 01 September 2005 02:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Derk Gortemaker wrote:
> Could someone please look into this. It is a wonderful function of WTP, but
> it is so broken....

Bugs that you encounter should be reported using Eclipse's Bugzilla.
I'd suggest opening it on the jst.ws component:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols&component=jst.ws&bug_severity=major

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #137776 is a reply to message #135903] Fri, 09 September 2005 14:14 Go to previous messageGo to next message
Chris Brealey is currently offline Chris BrealeyFriend
Messages: 104
Registered: July 2009
Senior Member
Eric,
this sounds like a problem reported in several bugs [1] and which is rooted in
an obscure defect introduced into Apache Axis 1.2 [2] in how it locates and
subsequently loads (but using different classloading rules) classes from
activation.jar. As a workaround - one I'll confess we haven't tried ourselves
yet, but will shortly - you could try the following:
1. Shutdown Eclipse.
2. Add activation.jar to org.apache.axis_1.2.1/lib/.
3. Add an entry for it (ie. "lib/activation.jar,") to
org.apache.axis_1.2.1/META-INF/MANIFEST.MF.
4. Restart with -clean.

We are continuing to hunt for solutions, and will raise the severity of bug
AXIS-2146 [2] in Apache Axis.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=104993
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108156
https://bugs.eclipse.org/bugs/show_bug.cgi?id=105407
https://bugs.eclipse.org/bugs/show_bug.cgi?id=105335

[2] http://issues.apache.org/jira/browse/AXIS-2146

Eric Jablow wrote:

> With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
> installation, I am getting this error trying to create a web service:
>
> IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError
>
> Sometimes when I do this, I get the additional information that DataSource
> in activation.jar is the class not found. Can someone give me _clear_
> instructions on where I can place activation.jar and the mail jar file to
> avoid this? I've placed the two jar files in the JDK's extension directory,
> Tomcat's endorsed directory, the app's jar directory, and my kitchen sink.
> Nothing helps.
>
> Respectfully,
> Eric Jablow
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #137914 is a reply to message #137776] Fri, 09 September 2005 18:25 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Eric,

I've tried putting mail.jar and activation.jar in org.apache.axis_1.2.1/lib,
updated MANIFEST.MF and restart with "-clean". The problem went away for
Geronimo server which has a similar problem of NoClassDefFound with
javax.activiation.DataSource (see bugzilla 108156 for more detail). You
might also want to follow bugzilla 104993 where others have found similar
problems with Tomcat servers.

I am suspecting there's javax.activation.DataHandler in one of the JARs in
the Java build path of the project containing the Java bean you want to
create Web service for. You could find out what JARs are included in the
Java build path by right-clicking on the project, select properties, then
Java Build path and go to the library tab. We would appreciate if you could
find the name of the JAR(s) containing javax.activation.DataHandler and
append the info in bugzilla 104993. We are having problem reproducing the
problem with Tomcat servers.

Regards,
Kathy Chan

"Chris Brealey" <cbrealey@ca.ibm.com> wrote in message
news:432198CB.52DE40F9@ca.ibm.com...
> Eric,
> this sounds like a problem reported in several bugs [1] and which is
rooted in
> an obscure defect introduced into Apache Axis 1.2 [2] in how it locates
and
> subsequently loads (but using different classloading rules) classes from
> activation.jar. As a workaround - one I'll confess we haven't tried
ourselves
> yet, but will shortly - you could try the following:
> 1. Shutdown Eclipse.
> 2. Add activation.jar to org.apache.axis_1.2.1/lib/.
> 3. Add an entry for it (ie. "lib/activation.jar,") to
> org.apache.axis_1.2.1/META-INF/MANIFEST.MF.
> 4. Restart with -clean.
>
> We are continuing to hunt for solutions, and will raise the severity of
bug
> AXIS-2146 [2] in Apache Axis.
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=104993
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=108156
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105407
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105335
>
> [2] http://issues.apache.org/jira/browse/AXIS-2146
>
> Eric Jablow wrote:
>
> > With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
> > installation, I am getting this error trying to create a web service:
> >
> > IWAB0398E Error in generating WSDL from Java
java.lang.NoClassDefFoundError
> >
> > Sometimes when I do this, I get the additional information that
DataSource
> > in activation.jar is the class not found. Can someone give me _clear_
> > instructions on where I can place activation.jar and the mail jar file
to
> > avoid this? I've placed the two jar files in the JDK's extension
directory,
> > Tomcat's endorsed directory, the app's jar directory, and my kitchen
sink.
> > Nothing helps.
> >
> > Respectfully,
> > Eric Jablow
>
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #138339 is a reply to message #137776] Mon, 12 September 2005 20:27 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Eric,

I've tried putting mail.jar and activation.jar in org.apache.axis_1.2.1/lib,
updated MANIFEST.MF and restart with "-clean". The problem went away for
Geronimo server which has a similar problem of NoClassDefFound with
javax.activiation.DataSource (see bugzilla 108156 for more detail). You
might also want to follow bugzilla 104993 where others have found similar
problems with Tomcat servers.

I am suspecting there's javax.activation.DataHandler in one of the JARs in
the Java build path of the project containing the Java bean you want to
create Web service for. You could find out what JARs are included in the
Java build path by right-clicking on the project, select properties, then
Java Build path and go to the library tab. We would appreciate if you could
find the name of the JAR(s) containing javax.activation.DataHandler in the
environment
you are able to reproduce this problem and
append the info in bugzilla 104993. We are having problem reproducing the
problem with Tomcat servers.

Regards,
Kathy Chan

"Chris Brealey" <cbrealey@ca.ibm.com> wrote in message
news:432198CB.52DE40F9@ca.ibm.com...
> Eric,
> this sounds like a problem reported in several bugs [1] and which is
rooted in
> an obscure defect introduced into Apache Axis 1.2 [2] in how it locates
and
> subsequently loads (but using different classloading rules) classes from
> activation.jar. As a workaround - one I'll confess we haven't tried
ourselves
> yet, but will shortly - you could try the following:
> 1. Shutdown Eclipse.
> 2. Add activation.jar to org.apache.axis_1.2.1/lib/.
> 3. Add an entry for it (ie. "lib/activation.jar,") to
> org.apache.axis_1.2.1/META-INF/MANIFEST.MF.
> 4. Restart with -clean.
>
> We are continuing to hunt for solutions, and will raise the severity of
bug
> AXIS-2146 [2] in Apache Axis.
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=104993
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=108156
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105407
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105335
>
> [2] http://issues.apache.org/jira/browse/AXIS-2146
>
> Eric Jablow wrote:
>
> > With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
> > installation, I am getting this error trying to create a web service:
> >
> > IWAB0398E Error in generating WSDL from Java
java.lang.NoClassDefFoundError
> >
> > Sometimes when I do this, I get the additional information that
DataSource
> > in activation.jar is the class not found. Can someone give me _clear_
> > instructions on where I can place activation.jar and the mail jar file
to
> > avoid this? I've placed the two jar files in the JDK's extension
directory,
> > Tomcat's endorsed directory, the app's jar directory, and my kitchen
sink.
> > Nothing helps.
> >
> > Respectfully,
> > Eric Jablow
>
Re: WTP 0.7, Eclipse 3.2 current beta, and activation.jar error [message #145646 is a reply to message #137776] Sun, 30 October 2005 06:54 Go to previous message
Eclipse UserFriend
Originally posted by: pdavis.airisen.net

Chris Brealey wrote:

> Eric,
> this sounds like a problem reported in several bugs [1] and which is
> rooted in an obscure defect introduced into Apache Axis 1.2 [2] in how it
> locates and subsequently loads (but using different classloading rules)
> classes from activation.jar. As a workaround - one I'll confess we haven't
> tried ourselves yet, but will shortly - you could try the following:
> 1. Shutdown Eclipse.
> 2. Add activation.jar to org.apache.axis_1.2.1/lib/.
> 3. Add an entry for it (ie. "lib/activation.jar,") to
> org.apache.axis_1.2.1/META-INF/MANIFEST.MF.
> 4. Restart with -clean.
>
> We are continuing to hunt for solutions, and will raise the severity of
> bug AXIS-2146 [2] in Apache Axis.
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=104993
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=108156
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105407
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=105335
>
> [2] http://issues.apache.org/jira/browse/AXIS-2146
>
> Eric Jablow wrote:
>
>> With a newly downloaded Eclipse 3.2 beta, WTP 0.7, and Tomcat 5.5
>> installation, I am getting this error trying to create a web service:
>>
>> IWAB0398E Error in generating WSDL from Java
>> java.lang.NoClassDefFoundError
>>
>> Sometimes when I do this, I get the additional information that
>> DataSource
>> in activation.jar is the class not found. Can someone give me _clear_
>> instructions on where I can place activation.jar and the mail jar file to
>> avoid this? I've placed the two jar files in the JDK's extension
>> directory, Tomcat's endorsed directory, the app's jar directory, and my
>> kitchen sink. Nothing helps.
>>
>> Respectfully,
>> Eric Jablow

Chris,

thanks much - great magic!!

Needs the activation & mail jars

eclipse 3.1 on linux
wst 0.7
tomcat 5.0
Previous Topic:WTP 0.71 and Maven2
Next Topic:Fail to start to display a jsp file in internal eclipse navigator.
Goto Forum:
  


Current Time: Fri Apr 26 20:42:05 GMT 2024

Powered by FUDForum. Page generated in 0.03741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top