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 12:03  |
Eclipse User |
|
|
|
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 12:15   |
Eclipse User |
|
|
|
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 #137776 is a reply to message #135903] |
Fri, 09 September 2005 10:14   |
Eclipse User |
|
|
|
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 14:25   |
Eclipse User |
|
|
|
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 16:27   |
Eclipse User |
|
|
|
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 01:54  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Sat Apr 19 11:54:08 EDT 2025
Powered by FUDForum. Page generated in 0.04187 seconds
|