sorry for my previous mail. the tip of Tushar Joshi worked. I put the line into the jmeter task. The problem is solved now.
Many thanks for your help. regards On Wed, Mar 31, 2010 at 11:51 AM, Toufik HAMDANI <[email protected]>wrote: > Thank you for your reactivity. But I don't know where to put this line in > my ant script. this is how I call Jmeter inside my ant script : > <taskdef name="jmeter" > classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/> > > <jmeter > jmeterhome="${dossierjmeter}" > resultlog="${repracine}\tmp\JMeterResults.jtl"> > <testplans dir="${repracine}\projects\${env}\jmeter" > includes="*.jmx"/> > </jmeter> > > I tried to pu it inside but it didn't work. > > Thanks > > > On Wed, Mar 31, 2010 at 11:12 AM, Tushar Joshi <[email protected]>wrote: > >> 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. >> > >> > >

