You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by AnandR <an...@gmail.com> on 2007/04/20 15:59:31 UTC

Classloading in JMeter

Hi,

         We use Java Request sampler for performing load tests on our EJBs.
For this, we need to lookup the ejbs deployed in a container and invoke
methods on them. We are storing our jar file containing the samplers and
other dependant jar files like weblogic.jar into the <JMeter>/lib/ext. Our
problem is that JMeter takes a long time to startup since its loading all
the classes that are present in <JMeter>/lib/ext. We tried removing the jars
from <JMeter>/lib/ext and add it to the classpath. But JMeter doesn't find
the samplers from the jars in the classpath. 

We need to avoid loading all the classes at the startup. Is there any
workaround for this issue?? Please reply..

regards,
Anand
-- 
View this message in context: http://www.nabble.com/Classloading-in-JMeter-tf3618049.html#a10102543
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Classloading in JMeter

Posted by AnandR <an...@gmail.com>.
Thanks for the link..


sebb-2 wrote:
> 
> http://jakarta.apache.org/jmeter/usermanual/get-started.html#classpath
> 
> On 20/04/07, AnandR <an...@gmail.com> wrote:
>>
>> Hi,
>>
>>         We use Java Request sampler for performing load tests on our
>> EJBs.
>> For this, we need to lookup the ejbs deployed in a container and invoke
>> methods on them. We are storing our jar file containing the samplers and
>> other dependant jar files like weblogic.jar into the <JMeter>/lib/ext.
>> Our
>> problem is that JMeter takes a long time to startup since its loading all
>> the classes that are present in <JMeter>/lib/ext. We tried removing the
>> jars
>> from <JMeter>/lib/ext and add it to the classpath. But JMeter doesn't
>> find
>> the samplers from the jars in the classpath.
>>
>> We need to avoid loading all the classes at the startup. Is there any
>> workaround for this issue?? Please reply..
>>
>> regards,
>> Anand
>> --
>> View this message in context:
>> http://www.nabble.com/Classloading-in-JMeter-tf3618049.html#a10102543
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Classloading-in-JMeter-tf3618049.html#a10114813
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Classloading in JMeter

Posted by sebb <se...@gmail.com>.
http://jakarta.apache.org/jmeter/usermanual/get-started.html#classpath

On 20/04/07, AnandR <an...@gmail.com> wrote:
>
> Hi,
>
>         We use Java Request sampler for performing load tests on our EJBs.
> For this, we need to lookup the ejbs deployed in a container and invoke
> methods on them. We are storing our jar file containing the samplers and
> other dependant jar files like weblogic.jar into the <JMeter>/lib/ext. Our
> problem is that JMeter takes a long time to startup since its loading all
> the classes that are present in <JMeter>/lib/ext. We tried removing the jars
> from <JMeter>/lib/ext and add it to the classpath. But JMeter doesn't find
> the samplers from the jars in the classpath.
>
> We need to avoid loading all the classes at the startup. Is there any
> workaround for this issue?? Please reply..
>
> regards,
> Anand
> --
> View this message in context: http://www.nabble.com/Classloading-in-JMeter-tf3618049.html#a10102543
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org