Please try using jvmarg element in the Ant build file as follows:

<jvmarg value="-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB"/>

You will have to ensure that the required classes are also in the path, and
that may mean adding them to JMeter lib folder as documented on Jmeter site

with regards
Tushar

==============================================
Tushar Joshi, Nagpur
MCSD_NET C#, SCJP, RHCE, ZCE, PMP
Software Architect @ Infospectrum India Private Limited, JUGNagpur Leader
http://www.info-spectrum.com
http://www.tusharvjoshi.com
http://www.jugnagpur.com


On Wed, Mar 31, 2010 at 2:26 PM, Toufik HAMDANI <[email protected]>wrote:

> Hello ! i'm a newbie in JMeter and I've created a test plan that uses
> external jars for accessing JMS queues. the creator of this jar added an
> ORB
> variable to JMeter.bat to specify the class to be used for the connection
> Factory (i think) and initialized it like this :
> set ORB=-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB
> then added it to the args of the jmeter.jar
> when I run my test plan using JMeter GUI, everything seem to work (green
> arrows in the result tree).
>
> Now i wanted to automate the tests using Ant task. the problem is that when
> I ran the same test plan that worked well with the GUI, I got this error :
> [jmeter] javax.jms.JMSException: Failed to initialize the ORB
>
> anyone can help me please ?
>
> Thanks.
>

Reply via email to