You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Michael W Bonar <mw...@shaw.ca> on 2003/12/24 05:58:48 UTC
cvs build failure with error WebServiceSampler requires javax.mail jar
Has there been any progress on bug "22303 WebServiceSampler requires
javax.mail, but should it?" I am trying to build the latest cvs and get the
following error:
"Error The project was not built since its classpath is incomplete. Can not
find the class file for javax.mail.MessagingException. Fix the classpath
then try rebuilding this project jmetercvs"
I am using Websphere Studio Application Developer 5.01. I followed the
jmeter and Eclipse howto from the wiki. The bug appears assigned, but no
progress since August.
I'm thinking I could just get the javax.mail jar and put it into my
classpath, but I can't seem to find that either. Does everyone else just
put the exclude statement into the build.xml?
mike
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Jordi Salvat i Alabart <js...@atg.com>.
Frankly: I can't remember which one I used :-(
Here's the header from the MANIFEST.MF:
Manifest-Version: 1.0
Implementation-Version: 1.3
Specification-Title: JavaMail(TM) API Design Specification
Specification-Version: 1.3
Extension-Name: javax.mail
Created-By: 1.3.0 (Sun Microsystems Inc.)
Implementation-Vendor-Id: com.sun
Implementation-Vendor: Sun Microsystems, Inc.
Specification-Vendor: Sun Microsystems, Inc.
SCCS-ID: @(#)javamail.mf 1.5 02/03/14
Salut,
Jordi.
En/na Mike Bonar ha escrit:
> On Wednesday 24 December 2003 03:07, Jordi Salvat i Alabart wrote:
>
>>No, there has not been any progress. I guess we consider this to be minor.
>>
>>I have mail.jar in my classpath. You should be able to download it from
>>somewhere in java.sun.com.
>
>
> What version of mail.jar did you put in your classpath? 1.3.1 seems to break
> lots of things.
>
> Thx. Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Mike Bonar <mw...@shaw.ca>.
On Wednesday 24 December 2003 03:07, Jordi Salvat i Alabart wrote:
> No, there has not been any progress. I guess we consider this to be minor.
>
> I have mail.jar in my classpath. You should be able to download it from
> somewhere in java.sun.com.
What version of mail.jar did you put in your classpath? 1.3.1 seems to break
lots of things.
Thx. Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Jordi Salvat i Alabart <js...@atg.com>.
No, there has not been any progress. I guess we consider this to be minor.
I have mail.jar in my classpath. You should be able to download it from
somewhere in java.sun.com.
--
Salut,
Jordi.
En/na Michael W Bonar ha escrit:
> Has there been any progress on bug "22303 WebServiceSampler requires
> javax.mail, but should it?" I am trying to build the latest cvs and get the
> following error:
>
> "Error The project was not built since its classpath is incomplete. Can not
> find the class file for javax.mail.MessagingException. Fix the classpath
> then try rebuilding this project jmetercvs"
>
> I am using Websphere Studio Application Developer 5.01. I followed the
> jmeter and Eclipse howto from the wiki. The bug appears assigned, but no
> progress since August.
>
> I'm thinking I could just get the javax.mail jar and put it into my
> classpath, but I can't seem to find that either. Does everyone else just
> put the exclude statement into the build.xml?
>
> mike
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Posted by Sebastian Bazley <se...@london.sema.slb.com>.
The latest build.xml should be aware of whether the beanshell jar is present
or not, but I suspect that eclipse.classpath has not been updated to take
account of beanshell, so you will need to use a filter to exclude the
BeanShell files when building with Eclipse or a similar IDE.
Or you could just download the appropriate jar from www.beanshell.org.
I should be able to update eclipse.classpath next year ... if not sooner.
Don't know why removing jars reduces the number of errors - perhaps the IDE
does not get as far as processing the BeanShell sources.
S.
----- Original Message -----
From: "Mike Bonar" <mw...@shaw.ca>
To: "JMeter Developers List" <jm...@jakarta.apache.org>
Sent: Thursday, December 25, 2003 6:47 PM
Subject: Re: cvs build failure with error WebServiceSampler requires
javax.mail jar
> I hope you are feeling better soon, Peter.
>
> I have been trying for days now to get the cvs build to work. I have
added
> mail.jar and activiation.jar from versions 1.3.1, 1.3, and 1.2. When I do
a
> rebuild after adding the external jars I get lots of new errors from other
> classes like "the import bsh cannot be resolved" from
> BeanShellAssertion.java. When I remove the jars and rebuild again I go
back
> to having just the one WebServiceSampler error.
>
> Am I adding the jars wrong?
>
> Mike
>
>
> On Thursday 25 December 2003 11:44, peter lin wrote:
> > I'm just getting over the flu.
> >
> > it does require java mail, since apache soap driver
> > requires it.
> >
> > peter lin
> >
> > --- Michael W Bonar <mw...@shaw.ca> wrote:
> > > Has there been any progress on bug "22303
> > > WebServiceSampler requires
> > > javax.mail, but should it?" I am trying to build
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Mike Bonar <mw...@shaw.ca>.
Thx, that did the trick. There were 3 missing jar files (4 if you count
activation.jar): bsf.jar, bsh.jar, and mail.jar. Now the only issue is a
bunch of deprecated warnings from jsseSSLManager.java, but I am not worried
about them.
On Monday 29 December 2003 13:34, Jordi Salvat i Alabart wrote:
> Hi Mike,
>
> I build from Eclipse without any problem -- including the
> WebServiceSampler. I only use ant package-only as the very last step to
> create the .jars.
>
> I'm attaching my .classpath for your reference. Ignore the http-client
> line -- I just added it to play a little.
--
Old pond,
frog jumps in --
plop
--Basho
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Posted by Sebastian Bazley <Se...@london.sema.slb.com>.
BTW, Eclipse does not handle RMI compilation by default, so one may need to invoke the compile-rmi target before package-only.
==
Jordi: there's now a java file in resources, so the exclude needs to be:
org/apache/jmeter/resources/*.properties
not
org/apache/jmeter/resources/
I've updated eclipse.properties accordingly.
S.
----- Original Message -----
From: "Jordi Salvat i Alabart" <js...@atg.com>
To: "JMeter Developers List" <jm...@jakarta.apache.org>
Sent: Monday, December 29, 2003 7:34 PM
Subject: Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Hi Mike,
I build from Eclipse without any problem -- including the
WebServiceSampler. I only use ant package-only as the very last step to
create the .jars.
I'm attaching my .classpath for your reference. Ignore the http-client
line -- I just added it to play a little.
--
Good luck,
Jordi.
En/na Mike Bonar ha escrit:
> Ah, now that is interesting. I don't feel as dumb as I did before. I'll give
> command line ANT a shot just to make sure I understand it, but I really want
> to get the build working from within Eclipse. More of a learning exercise
> than anything else.
>
> Mike
>
> On Monday 29 December 2003 11:34, peter lin wrote:
>
>>actually I use eclipse for all my jmeter work and so does most everyone
>>else I believe. are you building from within eclipse? I normally just use
>>command line to run ANT.
>>
>>if you haven't given that a try, it might be worth a shot. If not, I can
>>build it locally and send you just the http related jar files.
>>
>>peter
>
> ...snip
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Jordi Salvat i Alabart <js...@atg.com>.
Hi Mike,
I build from Eclipse without any problem -- including the
WebServiceSampler. I only use ant package-only as the very last step to
create the .jars.
I'm attaching my .classpath for your reference. Ignore the http-client
line -- I just added it to play a little.
--
Good luck,
Jordi.
En/na Mike Bonar ha escrit:
> Ah, now that is interesting. I don't feel as dumb as I did before. I'll give
> command line ANT a shot just to make sure I understand it, but I really want
> to get the build working from within Eclipse. More of a learning exercise
> than anything else.
>
> Mike
>
> On Monday 29 December 2003 11:34, peter lin wrote:
>
>>actually I use eclipse for all my jmeter work and so does most everyone
>>else I believe. are you building from within eclipse? I normally just use
>>command line to run ANT.
>>
>>if you haven't given that a try, it might be worth a shot. If not, I can
>>build it locally and send you just the http related jar files.
>>
>>peter
>
> ...snip
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Mike Bonar <mw...@shaw.ca>.
Ah, now that is interesting. I don't feel as dumb as I did before. I'll give
command line ANT a shot just to make sure I understand it, but I really want
to get the build working from within Eclipse. More of a learning exercise
than anything else.
Mike
On Monday 29 December 2003 11:34, peter lin wrote:
> actually I use eclipse for all my jmeter work and so does most everyone
> else I believe. are you building from within eclipse? I normally just use
> command line to run ANT.
>
> if you haven't given that a try, it might be worth a shot. If not, I can
> build it locally and send you just the http related jar files.
>
> peter
...snip
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Posted by peter lin <jm...@yahoo.com>.
actually I use eclipse for all my jmeter work and so does most everyone else I believe. are you building from within eclipse? I normally just use command line to run ANT.
if you haven't given that a try, it might be worth a shot. If not, I can build it locally and send you just the http related jar files.
peter
Mike Bonar <mw...@shaw.ca> wrote:
Yes, I know. I am stuck. I get the same results with Eclipse 3.0M6 on Suse
9.0 and WSAD 5.0 on XP. I am not a java developer by trade, but an architect
and now test specialist (anything for a buck) with Rational TestManager and
RadView Webload. I need to go back to the basics and understand the
build.xml and eclipse.classpath files a bit more. I suspect the development
team does not use Eclipse so the CVS repository is not structured like an
Eclipse project. Once I get all that sorted out I should be good to go.
All the best in the New Year!
Mike
On Monday 29 December 2003 07:40, peter lin wrote:
> hi mike,
>
> I believe the beanshell stuff is for the java samplers. webservice sampler
> just requires the activation.jar and mail.jar as required by the apache
> soap driver.
>
> peter
>
...snip
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Mike Bonar <mw...@shaw.ca>.
Yes, I know. I am stuck. I get the same results with Eclipse 3.0M6 on Suse
9.0 and WSAD 5.0 on XP. I am not a java developer by trade, but an architect
and now test specialist (anything for a buck) with Rational TestManager and
RadView Webload. I need to go back to the basics and understand the
build.xml and eclipse.classpath files a bit more. I suspect the development
team does not use Eclipse so the CVS repository is not structured like an
Eclipse project. Once I get all that sorted out I should be good to go.
All the best in the New Year!
Mike
On Monday 29 December 2003 07:40, peter lin wrote:
> hi mike,
>
> I believe the beanshell stuff is for the java samplers. webservice sampler
> just requires the activation.jar and mail.jar as required by the apache
> soap driver.
>
> peter
>
...snip
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Posted by peter lin <jm...@yahoo.com>.
hi mike,
I believe the beanshell stuff is for the java samplers. webservice sampler just requires the activation.jar and mail.jar as required by the apache soap driver.
peter
Mike Bonar <mw...@shaw.ca> wrote:
I hope you are feeling better soon, Peter.
I have been trying for days now to get the cvs build to work. I have added
mail.jar and activiation.jar from versions 1.3.1, 1.3, and 1.2. When I do a
rebuild after adding the external jars I get lots of new errors from other
classes like "the import bsh cannot be resolved" from
BeanShellAssertion.java. When I remove the jars and rebuild again I go back
to having just the one WebServiceSampler error.
Am I adding the jars wrong?
Mike
On Thursday 25 December 2003 11:44, peter lin wrote:
> I'm just getting over the flu.
>
> it does require java mail, since apache soap driver
> requires it.
>
> peter lin
>
> --- Michael W Bonar wrote:
> > Has there been any progress on bug "22303
> > WebServiceSampler requires
> > javax.mail, but should it?" I am trying to build
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
Re: cvs build failure with error WebServiceSampler requires javax.mail
jar
Posted by Mike Bonar <mw...@shaw.ca>.
I hope you are feeling better soon, Peter.
I have been trying for days now to get the cvs build to work. I have added
mail.jar and activiation.jar from versions 1.3.1, 1.3, and 1.2. When I do a
rebuild after adding the external jars I get lots of new errors from other
classes like "the import bsh cannot be resolved" from
BeanShellAssertion.java. When I remove the jars and rebuild again I go back
to having just the one WebServiceSampler error.
Am I adding the jars wrong?
Mike
On Thursday 25 December 2003 11:44, peter lin wrote:
> I'm just getting over the flu.
>
> it does require java mail, since apache soap driver
> requires it.
>
> peter lin
>
> --- Michael W Bonar <mw...@shaw.ca> wrote:
> > Has there been any progress on bug "22303
> > WebServiceSampler requires
> > javax.mail, but should it?" I am trying to build
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: cvs build failure with error WebServiceSampler requires javax.mail jar
Posted by peter lin <jm...@yahoo.com>.
I'm just getting over the flu.
it does require java mail, since apache soap driver
requires it.
peter lin
--- Michael W Bonar <mw...@shaw.ca> wrote:
> Has there been any progress on bug "22303
> WebServiceSampler requires
> javax.mail, but should it?" I am trying to build
> the latest cvs and get the
> following error:
>
> "Error The project was not built since its classpath
> is incomplete. Can not
> find the class file for
> javax.mail.MessagingException. Fix the classpath
> then try rebuilding this project jmetercvs"
>
> I am using Websphere Studio Application Developer
> 5.01. I followed the
> jmeter and Eclipse howto from the wiki. The bug
> appears assigned, but no
> progress since August.
>
> I'm thinking I could just get the javax.mail jar and
> put it into my
> classpath, but I can't seem to find that either.
> Does everyone else just
> put the exclude statement into the build.xml?
>
> mike
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jmeter-dev-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org