You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by gpub <af...@gmail.com> on 2010/01/27 12:56:28 UTC

Jmeter launching prob, urgent help needed

hi all,

i am facing a prob while launching jmeter.bat file

Issue is coming as below

picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
Error: could not load Mercury Interactive support. Please run the setup
again.
       If the problem persists please contact Mercury's Customer support.
Error occurred during initialization of VM
-Xrun library failed to init: jvmhook
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Tortois
eSVN\bin;C:\Program Files\Windows Imaging\
Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
Error: could not load Mercury Interactive support. Please run the setup
again.
       If the problem persists please contact Mercury's Customer support.
Error occurred during initialization of VM
-Xrun library failed to init: jvmhook
errorlevel=1
Press any key to continue . . .


please provide your valuable comments on the same, i am kind of urgent need

Regards
GP
-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
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: Jmeter launching prob, urgent help needed

Posted by sebb <se...@gmail.com>.
On 27/01/2010, gpub <af...@gmail.com> wrote:
>
>  hi all,
>
>  i am facing a prob while launching jmeter.bat file
>
>  Issue is coming as below
>
>  picked up _JAVA_OPTIONS: -Xrunjvmhook
>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  jasmine.jar
>  ERROR: JVMPI, an experimental interface, is no longer supported.
>  Please use the supported interface: the JVM Tool Interface (JVM TI).
>  Error: could not load Mercury Interactive support. Please run the setup
>  again.
>        If the problem persists please contact Mercury's Customer support.
>  Error occurred during initialization of VM
>  -Xrun library failed to init: jvmhook
>  C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>  Files\Tortois
>  eSVN\bin;C:\Program Files\Windows Imaging\
>  Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  jasmine.jar
>  ERROR: JVMPI, an experimental interface, is no longer supported.
>  Please use the supported interface: the JVM Tool Interface (JVM TI).
>  Error: could not load Mercury Interactive support. Please run the setup
>  again.
>        If the problem persists please contact Mercury's Customer support.
>  Error occurred during initialization of VM
>  -Xrun library failed to init: jvmhook
>  errorlevel=1
>  Press any key to continue . . .
>
>
>  please provide your valuable comments on the same, i am kind of urgent need

This is nothing to do with JMeter; there's a problem with the JVM it is using.

I suggest you do as the message says and contact Mercury customer support.

>  Regards
>  GP
>
> --
>  View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>  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


Re: Jmeter launching prob, urgent help needed

Posted by lonetwin <lo...@gmail.com>.
What does java -version throw on the console ? Also, why do you have
multiple java installed on one machine...one should just work fine. Having
multiple verisons of java on a server has its own sets of issues.



On Thu, Jan 28, 2010 at 11:04 AM, gpub <af...@gmail.com> wrote:

>
> hey Deepak thnx for the reply
> Well i some im able to launch Jmeter  reason was with two versions of java
> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
> version(as i uninstalled version 1.4) and below message coming up on
> command
> prompt on QTP installed Machine:
>
> C:\Program Files\Java\jdk1.5.0_12\bin
> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> jasmine.jar
> Loading Mercury Interactive QuickTest Professional Java Support (version
> 8.2.115
> 1.0) (SUN 1.5.0_12)
>
> Now i need more clarity from your side that shall i go ahead with this
> message coming in command prompt will not affect my jmeter runs or need to
> set lines in .BAT file( if yes then which line).
>
> I am jst curious because on my 2 machine i am running jmeter with java 1.4
> version and on other 3 machine(having QTP) i am running with java 1.5, so
> this is reason i want your comment so i can be confident to about the
> message command prompt and i can go ahead with my runs.
>
> More over will this message above in command prompt cause me any prob
> during
> incremental load run. Please provide your valuable comments
>
>
> Regards
> GP
>
>
> Deepak Shetty wrote:
> >
> > It looks like your QTP installation has put a value JVM_ARGS in your
> > environment variables in windows. These options are only valid for java
> > 1.4
> > (and you seem to be running jmeter with atleast java 1.5), and shouldnt
> > really be there for JMeter.
> > Options
> > a. Remove the JVM_ARGS variable from the environment, only add it when
> you
> > need it
> > OR
> > b. modify jmeter.bat and add a line to it near the top saying
> > set JVM_ARGS=
> > (or whatever options you might want to pass)
> > or call jmeter.bat having first reset JVM_ARGS to blank
> > regards
> > deepak
> >
> >
> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:
> >
> >>
> >> hi all,
> >>
> >> i am facing a prob while launching jmeter.bat file
> >>
> >> Issue is coming as below
> >>
> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> Error: could not load Mercury Interactive support. Please run the setup
> >> again.
> >>       If the problem persists please contact Mercury's Customer support.
> >> Error occurred during initialization of VM
> >> -Xrun library failed to init: jvmhook
> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >> Files\Tortois
> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> Error: could not load Mercury Interactive support. Please run the setup
> >> again.
> >>       If the problem persists please contact Mercury's Customer support.
> >> Error occurred during initialization of VM
> >> -Xrun library failed to init: jvmhook
> >> errorlevel=1
> >> Press any key to continue . . .
> >>
> >>
> >> please provide your valuable comments on the same, i am kind of urgent
> >> need
> >>
> >> Regards
> >> GP
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hi Seb,

looks like i was mistaken.
Now created a jmeter.bat file named Jmeter_1.bat with only this in bin
directory with no real jmeter.bat file 

java -version

pause

command Prompt appears with below message

D:\jakarta-jmeter-2.3.1\jakarta-jmeter-2.3.1\bin>java -version
Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)

D:\jakarta-jmeter-2.3.1\jakarta-jmeter-2.3.1\bin>pause
Press any key to continue . . .



thne cmd prmt get close on pressing any key

Regards
GP


sebb-2-2 wrote:
> 
> On 28/01/2010, gpub <af...@gmail.com> wrote:
>>
>>  hi Seb,
>>
>>  edited .bat file
> 
> I wrote "Try creating ..."
> 
>>  java -version
>>  pause
>>
>> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>> "%JMETER_BIN%ApacheJMeter.jar"
>>  %JMETER_CMD_LINE_ARGS%
>>
>>
>> command prompt pops up with
>>
>>
>>
>>  Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> 
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  jasmine.jar
>>
>> Java Version "1.5.0_12"
>>  Java(TM) 2 Runtime Enviorement, Standard Edition (build 1.5.0_12-b04)
>>  Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
>>
>> Press any key to continue. . .
>>
> 
> And what does that tell you?
> 
> It is clear that the message regarding _JAVA_OPTIONS is nothing to do
> with JMeter.
> 
> As I wrote before, this is a JVM installation problem.
> 
>> and when pressed any key same Jmeter gets launched with further message
>> in
>>  cmd prmpt
>>
>>
>>  Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> 
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  jasmine.jar
>>  Loading Mercury Interactive QuickTest Professional Java Support (version
>>  8.2.115
>>  1.0) (SUN 1.5.0_12)
>>
>>
>> Regards
>>  GP
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>
>> > Try creating a BAT file containing just:
>>  >
>>  > java -version
>>  > pause
>>  >
>>  > and report what it shows.
>>  >
>>  > On 28/01/2010, gpub <af...@gmail.com> wrote:
>>  >>
>>  >>  hi  Deepak,
>>  >>  yes launching Jmeter from .bat file only
>>  >>  As you said i have edited .bat file
>>  >>
>>  >>  echo %JM_START%
>>  >>  echo %JM_LAUNCH%
>>  >>  echo %JVM_ARGS%
>>  >>  echo %ARGS% -jar
>>  >>  echo %JMETER_BIN%ApacheJMeter.jar%
>>  >>  echo %JMETER_CMD_LINE_ARGS%
>>  >>  %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>>  >> "%JMETER_BIN%ApacheJMeter.jar"
>>  >>  %JMETER_CMD_LINE_ARGS%
>>  >>
>>  >>  and Jmeter opens with result in cmd prompt as:
>>  >>
>>  >>  ECHO is off.
>>  >>  java.exe
>>  >>  ECHO is off.
>>  >>  -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
>>  >> -XX:SurvivorRatio=8
>>  >>  -XX:T
>>  >>  argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>>  >>  -XX:MaxLiveObjectEvacuationRati
>>  >>  o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>>  >>  -Dsun.rmi.dgc.server.gcInterval=6000
>>  >>  00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>>  >>  ApacheJMeter.jar
>>  >>  ECHO is off.
>>  >>
>>  >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>
>>  >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>  jasmine.jar
>>  >>  Loading Mercury Interactive QuickTest Professional Java Support
>> (version
>>  >>  8.2.115
>>  >>  1.0) (SUN 1.5.0_12)
>>  >>
>>  >>
>>  >> my view reads no info from the variable that are echoed.
>>  >>  Jmeter's cmd prompt still gives message as in Bold letters
>>  >>
>>  >>
>>  >>  Regards
>>  >>  GP
>>  >>
>>  >>
>>  >>  Deepak Shetty wrote:
>>  >>  >
>>  >>  > Just to confirm , you are launching jmeter by itself ...(not
>> through
>>  >> QTP)
>>  >>  >
>>  >>  > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty
>> <sh...@gmail.com>
>>  >> wrote:
>>  >>  >
>>  >>  >> Looks like Im mistaken and it isn't jvm args causing the
>>  >> problem.(because
>>  >>  >> your echo didnt seem to return any values)
>>  >>  >> The batch file you have to edit is jmeter.bat
>>  >>  >> Towards the end there should be a line
>>  >>  >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>>  >>  >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>>  >>  >>
>>  >>  >> Before this line print out each of the above variables and see
>> which
>>  >> one
>>  >>  >> has the QTP specific parameters . Once you identify that you have
>> to
>>  >>  >> reset
>>  >>  >> it (just before the above copied one)
>>  >>  >>
>>  >>  >> regards
>>  >>  >> deepak
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>  >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
>>  >> wrote:
>>  >>  >>
>>  >>  >>>
>>  >>  >>> hi
>>  >>  >>>
>>  >>  >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your
>> point
>>  >>  >>> below
>>  >>  >>> 1. edited the .bat file what you wrote below, same parameter has
>>  >> been
>>  >>  >>> picked
>>  >>  >>> up by jmeter (which you said is defined for QTP)
>>  >>  >>>
>>  >>  >>> Checked the Environment variable
>>  >>  >>> name: _classload_hook; value=jvmhook
>>  >>  >>>
>>  >>  >>> name: _JAVA_OPTIONS
>>  >>  >>>
>>  >>  >>>
>>  >>
>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>>  >>  >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>>  >>  >>>
>>  >>  >>>
>>  >>  >>> 2 typed echo %JVM_ARGS%
>>  >>  >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>>  >>  >>> %JVM_ARGS%
>>  >>  >>>
>>  >>  >>> as you said cannot pass the parameter that QTP has set and
>> edited in
>>  >> as
>>  >>  >>> JVM_ARGS=(empty) in .bat file
>>  >>  >>> Can you please elaborate which line,where in and what exact to
>> enter
>>  >> in
>>  >>  >>> .bat
>>  >>  >>> file ( exact wording )
>>  >>  >>>
>>  >>  >>> uploaded the .bat file as .text, please do the necessary edits
>>  >>  >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>>  >>  >>>
>>  >>  >>> Regards
>>  >>  >>> --
>>  >>  >>> GP
>>  >>  >>>
>>  >>  >>>
>>  >>  >>> Deepak Shetty wrote:
>>  >>  >>> >
>>  >>  >>> > hi
>>  >>  >>> > I do not know what you are asking me to comment on?
>>  >>  >>> >
>>  >>  >>> > JMeter will work with 1.4 and 1.5 without problems. However
>> when
>>  >> you
>>  >>  >>> are
>>  >>  >>> > running on 1.5 you cannot pass the parameters that QTP has set
>> (if
>>  >> you
>>  >>  >>> > open
>>  >>  >>> > any cmd window and type echo %JVM_ARGS% you should see some
>> values
>>  >>  >>> that
>>  >>  >>> > QTP
>>  >>  >>> > has setup). So you need to prevent JMeter  from picking this
>> up ,
>>  >> one
>>  >>  >>> of
>>  >>  >>> > the
>>  >>  >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This
>> will
>>  >> not
>>  >>  >>> affect
>>  >>  >>> > QTP because it only applies to the cmd window on which Jmeter
>> is
>>  >>  >>> running.
>>  >>  >>> >
>>  >>  >>> > regards
>>  >>  >>> > deepak
>>  >>  >>> >
>>  >>  >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
>>  >> wrote:
>>  >>  >>> >
>>  >>  >>> >>
>>  >>  >>> >> hey Deepak thnx for the reply
>>  >>  >>> >> Well i some im able to launch Jmeter  reason was with two
>>  >> versions of
>>  >>  >>> >> java
>>  >>  >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
>>  >> java
>>  >>  >>> 1.5
>>  >>  >>> >> version(as i uninstalled version 1.4) and below message
>> coming up
>>  >> on
>>  >>  >>> >> command
>>  >>  >>> >> prompt on QTP installed Machine:
>>  >>  >>> >>
>>  >>  >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>>  >>  >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>  >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>  >>> >>
>>  >>  >>> >>
>>  >>  >>>
>>  >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>  >>> >> jasmine.jar
>>  >>  >>> >> Loading Mercury Interactive QuickTest Professional Java
>> Support
>>  >>  >>> (version
>>  >>  >>> >> 8.2.115
>>  >>  >>> >> 1.0) (SUN 1.5.0_12)
>>  >>  >>> >>
>>  >>  >>> >> Now i need more clarity from your side that shall i go ahead
>> with
>>  >>  >>> this
>>  >>  >>> >> message coming in command prompt will not affect my jmeter
>> runs
>>  >> or
>>  >>  >>> need
>>  >>  >>> >> to
>>  >>  >>> >> set lines in .BAT file( if yes then which line).
>>  >>  >>> >>
>>  >>  >>> >> I am jst curious because on my 2 machine i am running jmeter
>> with
>>  >>  >>> java
>>  >>  >>> >> 1.4
>>  >>  >>> >> version and on other 3 machine(having QTP) i am running with
>> java
>>  >>  >>> 1.5,
>>  >>  >>> so
>>  >>  >>> >> this is reason i want your comment so i can be confident to
>> about
>>  >> the
>>  >>  >>> >> message command prompt and i can go ahead with my runs.
>>  >>  >>> >>
>>  >>  >>> >> More over will this message above in command prompt cause me
>> any
>>  >> prob
>>  >>  >>> >> during
>>  >>  >>> >> incremental load run. Please provide your valuable comments
>>  >>  >>> >>
>>  >>  >>> >>
>>  >>  >>> >> Regards
>>  >>  >>> >> GP
>>  >>  >>> >>
>>  >>  >>> >>
>>  >>  >>> >> Deepak Shetty wrote:
>>  >>  >>> >> >
>>  >>  >>> >> > It looks like your QTP installation has put a value
>> JVM_ARGS in
>>  >>  >>> your
>>  >>  >>> >> > environment variables in windows. These options are only
>> valid
>>  >> for
>>  >>  >>> java
>>  >>  >>> >> > 1.4
>>  >>  >>> >> > (and you seem to be running jmeter with atleast java 1.5),
>> and
>>  >>  >>> shouldnt
>>  >>  >>> >> > really be there for JMeter.
>>  >>  >>> >> > Options
>>  >>  >>> >> > a. Remove the JVM_ARGS variable from the environment, only
>> add
>>  >> it
>>  >>  >>> when
>>  >>  >>> >> you
>>  >>  >>> >> > need it
>>  >>  >>> >> > OR
>>  >>  >>> >> > b. modify jmeter.bat and add a line to it near the top
>> saying
>>  >>  >>> >> > set JVM_ARGS=
>>  >>  >>> >> > (or whatever options you might want to pass)
>>  >>  >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>>  >>  >>> >> > regards
>>  >>  >>> >> > deepak
>>  >>  >>> >> >
>>  >>  >>> >> >
>>  >>  >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub
>> <af...@gmail.com>
>>  >>  >>> wrote:
>>  >>  >>> >> >
>>  >>  >>> >> >>
>>  >>  >>> >> >> hi all,
>>  >>  >>> >> >>
>>  >>  >>> >> >> i am facing a prob while launching jmeter.bat file
>>  >>  >>> >> >>
>>  >>  >>> >> >> Issue is coming as below
>>  >>  >>> >> >>
>>  >>  >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>  >>> >> >>
>>  >>  >>> >> >>
>>  >>  >>> >>
>>  >>  >>>
>>  >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>  >>> >> >> jasmine.jar
>>  >>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>>  >> supported.
>>  >>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>>  >> (JVM
>>  >>  >>> TI).
>>  >>  >>> >> >> Error: could not load Mercury Interactive support. Please
>> run
>>  >> the
>>  >>  >>> >> setup
>>  >>  >>> >> >> again.
>>  >>  >>> >> >>       If the problem persists please contact Mercury's
>>  >> Customer
>>  >>  >>> >> support.
>>  >>  >>> >> >> Error occurred during initialization of VM
>>  >>  >>> >> >> -Xrun library failed to init: jvmhook
>>  >>  >>> >> >>
>>  >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>  >>  >>> >> >> Files\Tortois
>>  >>  >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>>  >>  >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>  >>> >> >>
>>  >>  >>> >> >>
>>  >>  >>> >>
>>  >>  >>>
>>  >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>  >>> >> >> jasmine.jar
>>  >>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>>  >> supported.
>>  >>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>>  >> (JVM
>>  >>  >>> TI).
>>  >>  >>> >> >> Error: could not load Mercury Interactive support. Please
>> run
>>  >> the
>>  >>  >>> >> setup
>>  >>  >>> >> >> again.
>>  >>  >>> >> >>       If the problem persists please contact Mercury's
>>  >> Customer
>>  >>  >>> >> support.
>>  >>  >>> >> >> Error occurred during initialization of VM
>>  >>  >>> >> >> -Xrun library failed to init: jvmhook
>>  >>  >>> >> >> errorlevel=1
>>  >>  >>> >> >> Press any key to continue . . .
>>  >>  >>> >> >>
>>  >>  >>> >> >>
>>  >>  >>> >> >> please provide your valuable comments on the same, i am
>> kind
>>  >> of
>>  >>  >>> urgent
>>  >>  >>> >> >> need
>>  >>  >>> >> >>
>>  >>  >>> >> >> Regards
>>  >>  >>> >> >> GP
>>  >>  >>> >> >> --
>>  >>  >>> >> >> View this message in context:
>>  >>  >>> >> >>
>>  >>  >>> >>
>>  >>  >>>
>>  >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>>  >>  >>> >> >> 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
>>  >>  >>> >> >>
>>  >>  >>> >> >>
>>  >>  >>> >> >
>>  >>  >>> >> >
>>  >>  >>> >>
>>  >>  >>> >> --
>>  >>  >>> >> View this message in context:
>>  >>  >>> >>
>>  >>  >>>
>>  >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>>  >>  >>> >> 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
>>  >>  >>> >>
>>  >>  >>> >>
>>  >>  >>> >
>>  >>  >>> >
>>  >>  >>>
>>  >>  >>> --
>>  >>  >>> View this message in context:
>>  >>  >>>
>>  >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>>  >>  >>> 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
>>  >>  >>>
>>  >>  >>>
>>  >>  >>
>>  >>  >
>>  >>  >
>>  >>
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>>  >>
>>  >> 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://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27355679.html
>>
>> 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://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27366755.html
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: Jmeter launching prob, urgent help needed

Posted by sebb <se...@gmail.com>.
On 28/01/2010, gpub <af...@gmail.com> wrote:
>
>  hi Seb,
>
>  edited .bat file

I wrote "Try creating ..."

>  java -version
>  pause
>
> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
>  %JMETER_CMD_LINE_ARGS%
>
>
> command prompt pops up with
>
>
>
>  Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  jasmine.jar
>
> Java Version "1.5.0_12"
>  Java(TM) 2 Runtime Enviorement, Standard Edition (build 1.5.0_12-b04)
>  Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
>
> Press any key to continue. . .
>

And what does that tell you?

It is clear that the message regarding _JAVA_OPTIONS is nothing to do
with JMeter.

As I wrote before, this is a JVM installation problem.

> and when pressed any key same Jmeter gets launched with further message in
>  cmd prmpt
>
>
>  Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  jasmine.jar
>  Loading Mercury Interactive QuickTest Professional Java Support (version
>  8.2.115
>  1.0) (SUN 1.5.0_12)
>
>
> Regards
>  GP
>
>
>  sebb-2-2 wrote:
>  >
>
> > Try creating a BAT file containing just:
>  >
>  > java -version
>  > pause
>  >
>  > and report what it shows.
>  >
>  > On 28/01/2010, gpub <af...@gmail.com> wrote:
>  >>
>  >>  hi  Deepak,
>  >>  yes launching Jmeter from .bat file only
>  >>  As you said i have edited .bat file
>  >>
>  >>  echo %JM_START%
>  >>  echo %JM_LAUNCH%
>  >>  echo %JVM_ARGS%
>  >>  echo %ARGS% -jar
>  >>  echo %JMETER_BIN%ApacheJMeter.jar%
>  >>  echo %JMETER_CMD_LINE_ARGS%
>  >>  %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>  >> "%JMETER_BIN%ApacheJMeter.jar"
>  >>  %JMETER_CMD_LINE_ARGS%
>  >>
>  >>  and Jmeter opens with result in cmd prompt as:
>  >>
>  >>  ECHO is off.
>  >>  java.exe
>  >>  ECHO is off.
>  >>  -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
>  >> -XX:SurvivorRatio=8
>  >>  -XX:T
>  >>  argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>  >>  -XX:MaxLiveObjectEvacuationRati
>  >>  o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>  >>  -Dsun.rmi.dgc.server.gcInterval=6000
>  >>  00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>  >>  ApacheJMeter.jar
>  >>  ECHO is off.
>  >>
>  >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>
>  >> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>  jasmine.jar
>  >>  Loading Mercury Interactive QuickTest Professional Java Support (version
>  >>  8.2.115
>  >>  1.0) (SUN 1.5.0_12)
>  >>
>  >>
>  >> my view reads no info from the variable that are echoed.
>  >>  Jmeter's cmd prompt still gives message as in Bold letters
>  >>
>  >>
>  >>  Regards
>  >>  GP
>  >>
>  >>
>  >>  Deepak Shetty wrote:
>  >>  >
>  >>  > Just to confirm , you are launching jmeter by itself ...(not through
>  >> QTP)
>  >>  >
>  >>  > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
>  >> wrote:
>  >>  >
>  >>  >> Looks like Im mistaken and it isn't jvm args causing the
>  >> problem.(because
>  >>  >> your echo didnt seem to return any values)
>  >>  >> The batch file you have to edit is jmeter.bat
>  >>  >> Towards the end there should be a line
>  >>  >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>  >>  >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>  >>  >>
>  >>  >> Before this line print out each of the above variables and see which
>  >> one
>  >>  >> has the QTP specific parameters . Once you identify that you have to
>  >>  >> reset
>  >>  >> it (just before the above copied one)
>  >>  >>
>  >>  >> regards
>  >>  >> deepak
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
>  >> wrote:
>  >>  >>
>  >>  >>>
>  >>  >>> hi
>  >>  >>>
>  >>  >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
>  >>  >>> below
>  >>  >>> 1. edited the .bat file what you wrote below, same parameter has
>  >> been
>  >>  >>> picked
>  >>  >>> up by jmeter (which you said is defined for QTP)
>  >>  >>>
>  >>  >>> Checked the Environment variable
>  >>  >>> name: _classload_hook; value=jvmhook
>  >>  >>>
>  >>  >>> name: _JAVA_OPTIONS
>  >>  >>>
>  >>  >>>
>  >> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>  >>  >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>  >>  >>>
>  >>  >>>
>  >>  >>> 2 typed echo %JVM_ARGS%
>  >>  >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>  >>  >>> %JVM_ARGS%
>  >>  >>>
>  >>  >>> as you said cannot pass the parameter that QTP has set and edited in
>  >> as
>  >>  >>> JVM_ARGS=(empty) in .bat file
>  >>  >>> Can you please elaborate which line,where in and what exact to enter
>  >> in
>  >>  >>> .bat
>  >>  >>> file ( exact wording )
>  >>  >>>
>  >>  >>> uploaded the .bat file as .text, please do the necessary edits
>  >>  >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>  >>  >>>
>  >>  >>> Regards
>  >>  >>> --
>  >>  >>> GP
>  >>  >>>
>  >>  >>>
>  >>  >>> Deepak Shetty wrote:
>  >>  >>> >
>  >>  >>> > hi
>  >>  >>> > I do not know what you are asking me to comment on?
>  >>  >>> >
>  >>  >>> > JMeter will work with 1.4 and 1.5 without problems. However when
>  >> you
>  >>  >>> are
>  >>  >>> > running on 1.5 you cannot pass the parameters that QTP has set (if
>  >> you
>  >>  >>> > open
>  >>  >>> > any cmd window and type echo %JVM_ARGS% you should see some values
>  >>  >>> that
>  >>  >>> > QTP
>  >>  >>> > has setup). So you need to prevent JMeter  from picking this up ,
>  >> one
>  >>  >>> of
>  >>  >>> > the
>  >>  >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will
>  >> not
>  >>  >>> affect
>  >>  >>> > QTP because it only applies to the cmd window on which Jmeter is
>  >>  >>> running.
>  >>  >>> >
>  >>  >>> > regards
>  >>  >>> > deepak
>  >>  >>> >
>  >>  >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
>  >> wrote:
>  >>  >>> >
>  >>  >>> >>
>  >>  >>> >> hey Deepak thnx for the reply
>  >>  >>> >> Well i some im able to launch Jmeter  reason was with two
>  >> versions of
>  >>  >>> >> java
>  >>  >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
>  >> java
>  >>  >>> 1.5
>  >>  >>> >> version(as i uninstalled version 1.4) and below message coming up
>  >> on
>  >>  >>> >> command
>  >>  >>> >> prompt on QTP installed Machine:
>  >>  >>> >>
>  >>  >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>  >>  >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>  >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>  >>> >>
>  >>  >>> >>
>  >>  >>>
>  >> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>  >>> >> jasmine.jar
>  >>  >>> >> Loading Mercury Interactive QuickTest Professional Java Support
>  >>  >>> (version
>  >>  >>> >> 8.2.115
>  >>  >>> >> 1.0) (SUN 1.5.0_12)
>  >>  >>> >>
>  >>  >>> >> Now i need more clarity from your side that shall i go ahead with
>  >>  >>> this
>  >>  >>> >> message coming in command prompt will not affect my jmeter runs
>  >> or
>  >>  >>> need
>  >>  >>> >> to
>  >>  >>> >> set lines in .BAT file( if yes then which line).
>  >>  >>> >>
>  >>  >>> >> I am jst curious because on my 2 machine i am running jmeter with
>  >>  >>> java
>  >>  >>> >> 1.4
>  >>  >>> >> version and on other 3 machine(having QTP) i am running with java
>  >>  >>> 1.5,
>  >>  >>> so
>  >>  >>> >> this is reason i want your comment so i can be confident to about
>  >> the
>  >>  >>> >> message command prompt and i can go ahead with my runs.
>  >>  >>> >>
>  >>  >>> >> More over will this message above in command prompt cause me any
>  >> prob
>  >>  >>> >> during
>  >>  >>> >> incremental load run. Please provide your valuable comments
>  >>  >>> >>
>  >>  >>> >>
>  >>  >>> >> Regards
>  >>  >>> >> GP
>  >>  >>> >>
>  >>  >>> >>
>  >>  >>> >> Deepak Shetty wrote:
>  >>  >>> >> >
>  >>  >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
>  >>  >>> your
>  >>  >>> >> > environment variables in windows. These options are only valid
>  >> for
>  >>  >>> java
>  >>  >>> >> > 1.4
>  >>  >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>  >>  >>> shouldnt
>  >>  >>> >> > really be there for JMeter.
>  >>  >>> >> > Options
>  >>  >>> >> > a. Remove the JVM_ARGS variable from the environment, only add
>  >> it
>  >>  >>> when
>  >>  >>> >> you
>  >>  >>> >> > need it
>  >>  >>> >> > OR
>  >>  >>> >> > b. modify jmeter.bat and add a line to it near the top saying
>  >>  >>> >> > set JVM_ARGS=
>  >>  >>> >> > (or whatever options you might want to pass)
>  >>  >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>  >>  >>> >> > regards
>  >>  >>> >> > deepak
>  >>  >>> >> >
>  >>  >>> >> >
>  >>  >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>  >>  >>> wrote:
>  >>  >>> >> >
>  >>  >>> >> >>
>  >>  >>> >> >> hi all,
>  >>  >>> >> >>
>  >>  >>> >> >> i am facing a prob while launching jmeter.bat file
>  >>  >>> >> >>
>  >>  >>> >> >> Issue is coming as below
>  >>  >>> >> >>
>  >>  >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>  >>> >> >>
>  >>  >>> >> >>
>  >>  >>> >>
>  >>  >>>
>  >> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>  >>> >> >> jasmine.jar
>  >>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>  >> supported.
>  >>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>  >> (JVM
>  >>  >>> TI).
>  >>  >>> >> >> Error: could not load Mercury Interactive support. Please run
>  >> the
>  >>  >>> >> setup
>  >>  >>> >> >> again.
>  >>  >>> >> >>       If the problem persists please contact Mercury's
>  >> Customer
>  >>  >>> >> support.
>  >>  >>> >> >> Error occurred during initialization of VM
>  >>  >>> >> >> -Xrun library failed to init: jvmhook
>  >>  >>> >> >>
>  >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>  >>  >>> >> >> Files\Tortois
>  >>  >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>  >>  >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>  >>> >> >>
>  >>  >>> >> >>
>  >>  >>> >>
>  >>  >>>
>  >> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>  >>> >> >> jasmine.jar
>  >>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>  >> supported.
>  >>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>  >> (JVM
>  >>  >>> TI).
>  >>  >>> >> >> Error: could not load Mercury Interactive support. Please run
>  >> the
>  >>  >>> >> setup
>  >>  >>> >> >> again.
>  >>  >>> >> >>       If the problem persists please contact Mercury's
>  >> Customer
>  >>  >>> >> support.
>  >>  >>> >> >> Error occurred during initialization of VM
>  >>  >>> >> >> -Xrun library failed to init: jvmhook
>  >>  >>> >> >> errorlevel=1
>  >>  >>> >> >> Press any key to continue . . .
>  >>  >>> >> >>
>  >>  >>> >> >>
>  >>  >>> >> >> please provide your valuable comments on the same, i am kind
>  >> of
>  >>  >>> urgent
>  >>  >>> >> >> need
>  >>  >>> >> >>
>  >>  >>> >> >> Regards
>  >>  >>> >> >> GP
>  >>  >>> >> >> --
>  >>  >>> >> >> View this message in context:
>  >>  >>> >> >>
>  >>  >>> >>
>  >>  >>>
>  >> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>  >>  >>> >> >> 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
>  >>  >>> >> >>
>  >>  >>> >> >>
>  >>  >>> >> >
>  >>  >>> >> >
>  >>  >>> >>
>  >>  >>> >> --
>  >>  >>> >> View this message in context:
>  >>  >>> >>
>  >>  >>>
>  >> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>  >>  >>> >> 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
>  >>  >>> >>
>  >>  >>> >>
>  >>  >>> >
>  >>  >>> >
>  >>  >>>
>  >>  >>> --
>  >>  >>> View this message in context:
>  >>  >>>
>  >> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>  >>  >>> 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
>  >>  >>>
>  >>  >>>
>  >>  >>
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>  >>
>  >> 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://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27355679.html
>
> 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


Re: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hi Seb, 

edited .bat file 

java -version 
pause 
%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
%JMETER_CMD_LINE_ARGS%

command prompt pops up with 


Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
Java Version "1.5.0_12"
Java(TM) 2 Runtime Enviorement, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
Press any key to continue. . .

and when pressed any key same Jmeter gets launched with further message in
cmd prmpt

Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
Loading Mercury Interactive QuickTest Professional Java Support (version
8.2.115
1.0) (SUN 1.5.0_12)

Regards
GP


sebb-2-2 wrote:
> 
> Try creating a BAT file containing just:
> 
> java -version
> pause
> 
> and report what it shows.
> 
> On 28/01/2010, gpub <af...@gmail.com> wrote:
>>
>>  hi  Deepak,
>>  yes launching Jmeter from .bat file only
>>  As you said i have edited .bat file
>>
>>  echo %JM_START%
>>  echo %JM_LAUNCH%
>>  echo %JVM_ARGS%
>>  echo %ARGS% -jar
>>  echo %JMETER_BIN%ApacheJMeter.jar%
>>  echo %JMETER_CMD_LINE_ARGS%
>>  %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>> "%JMETER_BIN%ApacheJMeter.jar"
>>  %JMETER_CMD_LINE_ARGS%
>>
>>  and Jmeter opens with result in cmd prompt as:
>>
>>  ECHO is off.
>>  java.exe
>>  ECHO is off.
>>  -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
>> -XX:SurvivorRatio=8
>>  -XX:T
>>  argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>>  -XX:MaxLiveObjectEvacuationRati
>>  o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>>  -Dsun.rmi.dgc.server.gcInterval=6000
>>  00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>>  ApacheJMeter.jar
>>  ECHO is off.
>>
>> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> 
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  jasmine.jar
>>  Loading Mercury Interactive QuickTest Professional Java Support (version
>>  8.2.115
>>  1.0) (SUN 1.5.0_12)
>>
>>
>> my view reads no info from the variable that are echoed.
>>  Jmeter's cmd prompt still gives message as in Bold letters
>>
>>
>>  Regards
>>  GP
>>
>>
>>  Deepak Shetty wrote:
>>  >
>>  > Just to confirm , you are launching jmeter by itself ...(not through
>> QTP)
>>  >
>>  > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
>> wrote:
>>  >
>>  >> Looks like Im mistaken and it isn't jvm args causing the
>> problem.(because
>>  >> your echo didnt seem to return any values)
>>  >> The batch file you have to edit is jmeter.bat
>>  >> Towards the end there should be a line
>>  >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>>  >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>>  >>
>>  >> Before this line print out each of the above variables and see which
>> one
>>  >> has the QTP specific parameters . Once you identify that you have to
>>  >> reset
>>  >> it (just before the above copied one)
>>  >>
>>  >> regards
>>  >> deepak
>>  >>
>>  >>
>>  >>
>>  >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
>> wrote:
>>  >>
>>  >>>
>>  >>> hi
>>  >>>
>>  >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
>>  >>> below
>>  >>> 1. edited the .bat file what you wrote below, same parameter has
>> been
>>  >>> picked
>>  >>> up by jmeter (which you said is defined for QTP)
>>  >>>
>>  >>> Checked the Environment variable
>>  >>> name: _classload_hook; value=jvmhook
>>  >>>
>>  >>> name: _JAVA_OPTIONS
>>  >>>
>>  >>>
>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>>  >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>>  >>>
>>  >>>
>>  >>> 2 typed echo %JVM_ARGS%
>>  >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>>  >>> %JVM_ARGS%
>>  >>>
>>  >>> as you said cannot pass the parameter that QTP has set and edited in
>> as
>>  >>> JVM_ARGS=(empty) in .bat file
>>  >>> Can you please elaborate which line,where in and what exact to enter
>> in
>>  >>> .bat
>>  >>> file ( exact wording )
>>  >>>
>>  >>> uploaded the .bat file as .text, please do the necessary edits
>>  >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>>  >>>
>>  >>> Regards
>>  >>> --
>>  >>> GP
>>  >>>
>>  >>>
>>  >>> Deepak Shetty wrote:
>>  >>> >
>>  >>> > hi
>>  >>> > I do not know what you are asking me to comment on?
>>  >>> >
>>  >>> > JMeter will work with 1.4 and 1.5 without problems. However when
>> you
>>  >>> are
>>  >>> > running on 1.5 you cannot pass the parameters that QTP has set (if
>> you
>>  >>> > open
>>  >>> > any cmd window and type echo %JVM_ARGS% you should see some values
>>  >>> that
>>  >>> > QTP
>>  >>> > has setup). So you need to prevent JMeter  from picking this up ,
>> one
>>  >>> of
>>  >>> > the
>>  >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will
>> not
>>  >>> affect
>>  >>> > QTP because it only applies to the cmd window on which Jmeter is
>>  >>> running.
>>  >>> >
>>  >>> > regards
>>  >>> > deepak
>>  >>> >
>>  >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
>> wrote:
>>  >>> >
>>  >>> >>
>>  >>> >> hey Deepak thnx for the reply
>>  >>> >> Well i some im able to launch Jmeter  reason was with two
>> versions of
>>  >>> >> java
>>  >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
>> java
>>  >>> 1.5
>>  >>> >> version(as i uninstalled version 1.4) and below message coming up
>> on
>>  >>> >> command
>>  >>> >> prompt on QTP installed Machine:
>>  >>> >>
>>  >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>>  >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>> >>
>>  >>> >>
>>  >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>> >> jasmine.jar
>>  >>> >> Loading Mercury Interactive QuickTest Professional Java Support
>>  >>> (version
>>  >>> >> 8.2.115
>>  >>> >> 1.0) (SUN 1.5.0_12)
>>  >>> >>
>>  >>> >> Now i need more clarity from your side that shall i go ahead with
>>  >>> this
>>  >>> >> message coming in command prompt will not affect my jmeter runs
>> or
>>  >>> need
>>  >>> >> to
>>  >>> >> set lines in .BAT file( if yes then which line).
>>  >>> >>
>>  >>> >> I am jst curious because on my 2 machine i am running jmeter with
>>  >>> java
>>  >>> >> 1.4
>>  >>> >> version and on other 3 machine(having QTP) i am running with java
>>  >>> 1.5,
>>  >>> so
>>  >>> >> this is reason i want your comment so i can be confident to about
>> the
>>  >>> >> message command prompt and i can go ahead with my runs.
>>  >>> >>
>>  >>> >> More over will this message above in command prompt cause me any
>> prob
>>  >>> >> during
>>  >>> >> incremental load run. Please provide your valuable comments
>>  >>> >>
>>  >>> >>
>>  >>> >> Regards
>>  >>> >> GP
>>  >>> >>
>>  >>> >>
>>  >>> >> Deepak Shetty wrote:
>>  >>> >> >
>>  >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
>>  >>> your
>>  >>> >> > environment variables in windows. These options are only valid
>> for
>>  >>> java
>>  >>> >> > 1.4
>>  >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>>  >>> shouldnt
>>  >>> >> > really be there for JMeter.
>>  >>> >> > Options
>>  >>> >> > a. Remove the JVM_ARGS variable from the environment, only add
>> it
>>  >>> when
>>  >>> >> you
>>  >>> >> > need it
>>  >>> >> > OR
>>  >>> >> > b. modify jmeter.bat and add a line to it near the top saying
>>  >>> >> > set JVM_ARGS=
>>  >>> >> > (or whatever options you might want to pass)
>>  >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>>  >>> >> > regards
>>  >>> >> > deepak
>>  >>> >> >
>>  >>> >> >
>>  >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>>  >>> wrote:
>>  >>> >> >
>>  >>> >> >>
>>  >>> >> >> hi all,
>>  >>> >> >>
>>  >>> >> >> i am facing a prob while launching jmeter.bat file
>>  >>> >> >>
>>  >>> >> >> Issue is coming as below
>>  >>> >> >>
>>  >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>> >> >>
>>  >>> >> >>
>>  >>> >>
>>  >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>> >> >> jasmine.jar
>>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> supported.
>>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>> (JVM
>>  >>> TI).
>>  >>> >> >> Error: could not load Mercury Interactive support. Please run
>> the
>>  >>> >> setup
>>  >>> >> >> again.
>>  >>> >> >>       If the problem persists please contact Mercury's
>> Customer
>>  >>> >> support.
>>  >>> >> >> Error occurred during initialization of VM
>>  >>> >> >> -Xrun library failed to init: jvmhook
>>  >>> >> >>
>> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>  >>> >> >> Files\Tortois
>>  >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>>  >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>  >>> >> >>
>>  >>> >> >>
>>  >>> >>
>>  >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>  >>> >> >> jasmine.jar
>>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> supported.
>>  >>> >> >> Please use the supported interface: the JVM Tool Interface
>> (JVM
>>  >>> TI).
>>  >>> >> >> Error: could not load Mercury Interactive support. Please run
>> the
>>  >>> >> setup
>>  >>> >> >> again.
>>  >>> >> >>       If the problem persists please contact Mercury's
>> Customer
>>  >>> >> support.
>>  >>> >> >> Error occurred during initialization of VM
>>  >>> >> >> -Xrun library failed to init: jvmhook
>>  >>> >> >> errorlevel=1
>>  >>> >> >> Press any key to continue . . .
>>  >>> >> >>
>>  >>> >> >>
>>  >>> >> >> please provide your valuable comments on the same, i am kind
>> of
>>  >>> urgent
>>  >>> >> >> need
>>  >>> >> >>
>>  >>> >> >> Regards
>>  >>> >> >> GP
>>  >>> >> >> --
>>  >>> >> >> View this message in context:
>>  >>> >> >>
>>  >>> >>
>>  >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>>  >>> >> >> 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
>>  >>> >> >>
>>  >>> >> >>
>>  >>> >> >
>>  >>> >> >
>>  >>> >>
>>  >>> >> --
>>  >>> >> View this message in context:
>>  >>> >>
>>  >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>>  >>> >> 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
>>  >>> >>
>>  >>> >>
>>  >>> >
>>  >>> >
>>  >>>
>>  >>> --
>>  >>> View this message in context:
>>  >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>>  >>> 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
>>  >>>
>>  >>>
>>  >>
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>>
>> 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://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27355679.html
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: Jmeter launching prob, urgent help needed

Posted by sebb <se...@gmail.com>.
Try creating a BAT file containing just:

java -version
pause

and report what it shows.

On 28/01/2010, gpub <af...@gmail.com> wrote:
>
>  hi  Deepak,
>  yes launching Jmeter from .bat file only
>  As you said i have edited .bat file
>
>  echo %JM_START%
>  echo %JM_LAUNCH%
>  echo %JVM_ARGS%
>  echo %ARGS% -jar
>  echo %JMETER_BIN%ApacheJMeter.jar%
>  echo %JMETER_CMD_LINE_ARGS%
>  %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
>  %JMETER_CMD_LINE_ARGS%
>
>  and Jmeter opens with result in cmd prompt as:
>
>  ECHO is off.
>  java.exe
>  ECHO is off.
>  -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=8
>  -XX:T
>  argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>  -XX:MaxLiveObjectEvacuationRati
>  o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>  -Dsun.rmi.dgc.server.gcInterval=6000
>  00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>  ApacheJMeter.jar
>  ECHO is off.
>
> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  jasmine.jar
>  Loading Mercury Interactive QuickTest Professional Java Support (version
>  8.2.115
>  1.0) (SUN 1.5.0_12)
>
>
> my view reads no info from the variable that are echoed.
>  Jmeter's cmd prompt still gives message as in Bold letters
>
>
>  Regards
>  GP
>
>
>  Deepak Shetty wrote:
>  >
>  > Just to confirm , you are launching jmeter by itself ...(not through QTP)
>  >
>  > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com> wrote:
>  >
>  >> Looks like Im mistaken and it isn't jvm args causing the problem.(because
>  >> your echo didnt seem to return any values)
>  >> The batch file you have to edit is jmeter.bat
>  >> Towards the end there should be a line
>  >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>  >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>  >>
>  >> Before this line print out each of the above variables and see which one
>  >> has the QTP specific parameters . Once you identify that you have to
>  >> reset
>  >> it (just before the above copied one)
>  >>
>  >> regards
>  >> deepak
>  >>
>  >>
>  >>
>  >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:
>  >>
>  >>>
>  >>> hi
>  >>>
>  >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
>  >>> below
>  >>> 1. edited the .bat file what you wrote below, same parameter has been
>  >>> picked
>  >>> up by jmeter (which you said is defined for QTP)
>  >>>
>  >>> Checked the Environment variable
>  >>> name: _classload_hook; value=jvmhook
>  >>>
>  >>> name: _JAVA_OPTIONS
>  >>>
>  >>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>  >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>  >>>
>  >>>
>  >>> 2 typed echo %JVM_ARGS%
>  >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>  >>> %JVM_ARGS%
>  >>>
>  >>> as you said cannot pass the parameter that QTP has set and edited in as
>  >>> JVM_ARGS=(empty) in .bat file
>  >>> Can you please elaborate which line,where in and what exact to enter in
>  >>> .bat
>  >>> file ( exact wording )
>  >>>
>  >>> uploaded the .bat file as .text, please do the necessary edits
>  >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>  >>>
>  >>> Regards
>  >>> --
>  >>> GP
>  >>>
>  >>>
>  >>> Deepak Shetty wrote:
>  >>> >
>  >>> > hi
>  >>> > I do not know what you are asking me to comment on?
>  >>> >
>  >>> > JMeter will work with 1.4 and 1.5 without problems. However when you
>  >>> are
>  >>> > running on 1.5 you cannot pass the parameters that QTP has set (if you
>  >>> > open
>  >>> > any cmd window and type echo %JVM_ARGS% you should see some values
>  >>> that
>  >>> > QTP
>  >>> > has setup). So you need to prevent JMeter  from picking this up , one
>  >>> of
>  >>> > the
>  >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
>  >>> affect
>  >>> > QTP because it only applies to the cmd window on which Jmeter is
>  >>> running.
>  >>> >
>  >>> > regards
>  >>> > deepak
>  >>> >
>  >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:
>  >>> >
>  >>> >>
>  >>> >> hey Deepak thnx for the reply
>  >>> >> Well i some im able to launch Jmeter  reason was with two versions of
>  >>> >> java
>  >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java
>  >>> 1.5
>  >>> >> version(as i uninstalled version 1.4) and below message coming up on
>  >>> >> command
>  >>> >> prompt on QTP installed Machine:
>  >>> >>
>  >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>  >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>> >>
>  >>> >>
>  >>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>> >> jasmine.jar
>  >>> >> Loading Mercury Interactive QuickTest Professional Java Support
>  >>> (version
>  >>> >> 8.2.115
>  >>> >> 1.0) (SUN 1.5.0_12)
>  >>> >>
>  >>> >> Now i need more clarity from your side that shall i go ahead with
>  >>> this
>  >>> >> message coming in command prompt will not affect my jmeter runs or
>  >>> need
>  >>> >> to
>  >>> >> set lines in .BAT file( if yes then which line).
>  >>> >>
>  >>> >> I am jst curious because on my 2 machine i am running jmeter with
>  >>> java
>  >>> >> 1.4
>  >>> >> version and on other 3 machine(having QTP) i am running with java
>  >>> 1.5,
>  >>> so
>  >>> >> this is reason i want your comment so i can be confident to about the
>  >>> >> message command prompt and i can go ahead with my runs.
>  >>> >>
>  >>> >> More over will this message above in command prompt cause me any prob
>  >>> >> during
>  >>> >> incremental load run. Please provide your valuable comments
>  >>> >>
>  >>> >>
>  >>> >> Regards
>  >>> >> GP
>  >>> >>
>  >>> >>
>  >>> >> Deepak Shetty wrote:
>  >>> >> >
>  >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
>  >>> your
>  >>> >> > environment variables in windows. These options are only valid for
>  >>> java
>  >>> >> > 1.4
>  >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>  >>> shouldnt
>  >>> >> > really be there for JMeter.
>  >>> >> > Options
>  >>> >> > a. Remove the JVM_ARGS variable from the environment, only add it
>  >>> when
>  >>> >> you
>  >>> >> > need it
>  >>> >> > OR
>  >>> >> > b. modify jmeter.bat and add a line to it near the top saying
>  >>> >> > set JVM_ARGS=
>  >>> >> > (or whatever options you might want to pass)
>  >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>  >>> >> > regards
>  >>> >> > deepak
>  >>> >> >
>  >>> >> >
>  >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>  >>> wrote:
>  >>> >> >
>  >>> >> >>
>  >>> >> >> hi all,
>  >>> >> >>
>  >>> >> >> i am facing a prob while launching jmeter.bat file
>  >>> >> >>
>  >>> >> >> Issue is coming as below
>  >>> >> >>
>  >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>> >> >>
>  >>> >> >>
>  >>> >>
>  >>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>> >> >> jasmine.jar
>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>  >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>  >>> TI).
>  >>> >> >> Error: could not load Mercury Interactive support. Please run the
>  >>> >> setup
>  >>> >> >> again.
>  >>> >> >>       If the problem persists please contact Mercury's Customer
>  >>> >> support.
>  >>> >> >> Error occurred during initialization of VM
>  >>> >> >> -Xrun library failed to init: jvmhook
>  >>> >> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>  >>> >> >> Files\Tortois
>  >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>  >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>  >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>  >>> >> >>
>  >>> >> >>
>  >>> >>
>  >>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>  >>> >> >> jasmine.jar
>  >>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>  >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>  >>> TI).
>  >>> >> >> Error: could not load Mercury Interactive support. Please run the
>  >>> >> setup
>  >>> >> >> again.
>  >>> >> >>       If the problem persists please contact Mercury's Customer
>  >>> >> support.
>  >>> >> >> Error occurred during initialization of VM
>  >>> >> >> -Xrun library failed to init: jvmhook
>  >>> >> >> errorlevel=1
>  >>> >> >> Press any key to continue . . .
>  >>> >> >>
>  >>> >> >>
>  >>> >> >> please provide your valuable comments on the same, i am kind of
>  >>> urgent
>  >>> >> >> need
>  >>> >> >>
>  >>> >> >> Regards
>  >>> >> >> GP
>  >>> >> >> --
>  >>> >> >> View this message in context:
>  >>> >> >>
>  >>> >>
>  >>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>  >>> >> >> 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
>  >>> >> >>
>  >>> >> >>
>  >>> >> >
>  >>> >> >
>  >>> >>
>  >>> >> --
>  >>> >> View this message in context:
>  >>> >>
>  >>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>  >>> >> 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
>  >>> >>
>  >>> >>
>  >>> >
>  >>> >
>  >>>
>  >>> --
>  >>> View this message in context:
>  >>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>  >>> 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
>  >>>
>  >>>
>  >>
>  >
>  >
>
>
> --
>  View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>
> 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


Re: Protocol https with cetificate exception

Posted by sebb <se...@gmail.com>.
On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> Thanks Seb!
>
>  It is working after changing the sampler to XML-RPC/SOAP sampler(offcourse asking the keystore password before starting the tests).

There should be no need to provide a password unless you are using a
client certificate to login to the server. Client certificates are not
often used.

>
>  Thanks
>  Omkar
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Monday, February 01, 2010 12:27 PM
>  To: JMeter Users List
>  Subject: Re: Protocol https with cetificate exception
>
>  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  > I am sorry, Here are the details.
>  >
>  >  I am using WebService(SOAP) Request.
>
>  Ah - that does not actually use the standard HTTP sample code - it uses an obsolete version of Apache SOAP for the transport, so it won't take advantage of the JMeter code to ignore certificate validation.
>
>  Try using the XML-RPC/Soap sampler, or one of the HTTP Samplers instead. If this works for one of the samples, then you can decide whether it is worth converting them all.
>
>  >  It is printing this one in the log and showing Error as 100% in
>  > Summary Report,
>  >
>  >  2010/02/01 11:43:50 WARN  -
>  > jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException:
>  > faultCode=SOAP-ENV:Client; msg=Error opening socket:
>  > javax.net.ssl.SSLHandshakeException:
>  > sun.security.validator.ValidatorException: PKIX path building failed:
>  > sun.security.provider.certpath.SunCertPathBuilderException: unable to
>  > find valid certification path to requested target;
>  > targetException=java.lang.IllegalArgumentException: Error opening
>  > socket: javax.net.ssl.SSLHandshakeException:
>  > sun.security.validator.ValidatorException: PKIX path building failed:
>  > sun.security.provider.certpath.SunCertPathBuilderException: unable to
>  > find valid certification path to requested target]
>  >
>  >  Thanks Again
>  >
>  > Omkar
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >
>  > Sent: Monday, February 01, 2010 11:38 AM
>  >  To: JMeter Users List
>  >  Subject: Re: Protocol https with cetificate exception
>  >
>  >  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  >  > I am using  Jmeter Version 2.3.4 r785646.
>  >  >  Version 2.3.4 r785646
>  >  >  java.version=1.6.0_03
>  >  >  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP  >
>  > os.arch=x86  >  os.version=5.1
>  >
>  >  OK, but you have not answered the most important question:
>  >
>  >  >  In what way are they failing?
>  >
>  >
>  >  >  Thanks
>  >  >  Omkar
>  >  >
>  >  >
>  >  >  -----Original Message-----
>  >  >  From: sebb [mailto:sebbaz@gmail.com]  >  Sent: Monday, February
>  > 01, 2010 10:09 AM  >  To: JMeter Users List  >  Subject: Re: Protocol
>  > https with cetificate exception  >  >  On 01/02/2010, Sangem, Omkaram
>  > <om...@etrade.com> wrote:
>  >  >  > I have a problem to test with https protocol.
>  >  >  >  I am able to test successfully with the HTTP server without SSL.
>  >  >  >  Where as same tests with different environment having the SSL are failing.
>  >  >
>  >  >  In what way are they failing?
>  >  >  What version of JMeter?
>  >  >  What version of Java?
>  >  >
>  >  >  >  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.
>  >  >
>  >  >  Not necessary, as JMeter allows all certificates.
>  >  >
>  >  >  >  Thanks
>  >  >  >  Omkar
>  >  >  >
>  >  >  >
>  >  >
>  > ---------------------------------------------------------------------
>  >  >  >  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
>  >  >
>  >  >
>  >  >
>  > ---------------------------------------------------------------------
>  >  >  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
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  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
>
>
>  ---------------------------------------------------------------------
>  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


RE: Protocol https with cetificate exception

Posted by "Sangem, Omkaram" <om...@etrade.com>.
Thanks Seb!

It is working after changing the sampler to XML-RPC/SOAP sampler(offcourse asking the keystore password before starting the tests).

Thanks
Omkar

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Monday, February 01, 2010 12:27 PM
To: JMeter Users List
Subject: Re: Protocol https with cetificate exception

On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I am sorry, Here are the details.
>
>  I am using WebService(SOAP) Request.

Ah - that does not actually use the standard HTTP sample code - it uses an obsolete version of Apache SOAP for the transport, so it won't take advantage of the JMeter code to ignore certificate validation.

Try using the XML-RPC/Soap sampler, or one of the HTTP Samplers instead. If this works for one of the samples, then you can decide whether it is worth converting them all.

>  It is printing this one in the log and showing Error as 100% in
> Summary Report,
>
>  2010/02/01 11:43:50 WARN  -
> jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException:
> faultCode=SOAP-ENV:Client; msg=Error opening socket:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target;
> targetException=java.lang.IllegalArgumentException: Error opening
> socket: javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target]
>
>  Thanks Again
>
> Omkar
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Monday, February 01, 2010 11:38 AM
>  To: JMeter Users List
>  Subject: Re: Protocol https with cetificate exception
>
>  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  > I am using  Jmeter Version 2.3.4 r785646.
>  >  Version 2.3.4 r785646
>  >  java.version=1.6.0_03
>  >  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP  >
> os.arch=x86  >  os.version=5.1
>
>  OK, but you have not answered the most important question:
>
>  >  In what way are they failing?
>
>
>  >  Thanks
>  >  Omkar
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]  >  Sent: Monday, February
> 01, 2010 10:09 AM  >  To: JMeter Users List  >  Subject: Re: Protocol
> https with cetificate exception  >  >  On 01/02/2010, Sangem, Omkaram
> <om...@etrade.com> wrote:
>  >  > I have a problem to test with https protocol.
>  >  >  I am able to test successfully with the HTTP server without SSL.
>  >  >  Where as same tests with different environment having the SSL are failing.
>  >
>  >  In what way are they failing?
>  >  What version of JMeter?
>  >  What version of Java?
>  >
>  >  >  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.
>  >
>  >  Not necessary, as JMeter allows all certificates.
>  >
>  >  >  Thanks
>  >  >  Omkar
>  >  >
>  >  >
>  >
> ---------------------------------------------------------------------
>  >  >  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
>  >
>  >
>  >
> ---------------------------------------------------------------------
>  >  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
>
>
>  ---------------------------------------------------------------------
>  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


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


Re: Protocol https with cetificate exception

Posted by sebb <se...@gmail.com>.
On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I am sorry, Here are the details.
>
>  I am using WebService(SOAP) Request.

Ah - that does not actually use the standard HTTP sample code - it
uses an obsolete version of Apache SOAP for the transport, so it won't
take advantage of the JMeter code to ignore certificate validation.

Try using the XML-RPC/Soap sampler, or one of the HTTP Samplers
instead. If this works for one of the samples, then you can decide
whether it is worth converting them all.

>  It is printing this one in the log and showing Error as 100% in Summary Report,
>
>  2010/02/01 11:43:50 WARN  - jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
>
>  Thanks Again
>
> Omkar
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Monday, February 01, 2010 11:38 AM
>  To: JMeter Users List
>  Subject: Re: Protocol https with cetificate exception
>
>  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  > I am using  Jmeter Version 2.3.4 r785646.
>  >  Version 2.3.4 r785646
>  >  java.version=1.6.0_03
>  >  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP
>  >  os.arch=x86
>  >  os.version=5.1
>
>  OK, but you have not answered the most important question:
>
>  >  In what way are they failing?
>
>
>  >  Thanks
>  >  Omkar
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  Sent: Monday, February 01, 2010 10:09 AM
>  >  To: JMeter Users List
>  >  Subject: Re: Protocol https with cetificate exception
>  >
>  >  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  >  > I have a problem to test with https protocol.
>  >  >  I am able to test successfully with the HTTP server without SSL.
>  >  >  Where as same tests with different environment having the SSL are failing.
>  >
>  >  In what way are they failing?
>  >  What version of JMeter?
>  >  What version of Java?
>  >
>  >  >  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.
>  >
>  >  Not necessary, as JMeter allows all certificates.
>  >
>  >  >  Thanks
>  >  >  Omkar
>  >  >
>  >  >
>  > ---------------------------------------------------------------------
>  >  >  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
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  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
>
>
>  ---------------------------------------------------------------------
>  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


Re: Protocol https with cetificate exception

Posted by Deepak Shetty <sh...@gmail.com>.
I didnt notice it was a warn, what error are you getting?

regards
deepak

On Mon, Feb 1, 2010 at 8:58 AM, Deepak Shetty <sh...@gmail.com> wrote:

> I believe this has already been asked once on the archives and you can use
> google to know the cause of this problem as well.
> e.g.
> http://www.java-samples.com/showtutorial.php?tutorialid=210
>
> since you are probably using a self signed certificate or a certificate
> signed by your own CA
>
> regards
> deepak
>
>
> On Mon, Feb 1, 2010 at 8:46 AM, Sangem, Omkaram <omkaram.sangem@etrade.com
> > wrote:
>
>> I am sorry, Here are the details.
>>
>> I am using WebService(SOAP) Request.
>>
>> It is printing this one in the log and showing Error as 100% in Summary
>> Report,
>>
>> 2010/02/01 11:43:50 WARN  -
>> jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException:
>> faultCode=SOAP-ENV:Client; msg=Error opening socket:
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target;
>> targetException=java.lang.IllegalArgumentException: Error opening socket:
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target]
>>
>> Thanks Again
>> Omkar
>>
>>
>> -----Original Message-----
>> From: sebb [mailto:sebbaz@gmail.com]
>> Sent: Monday, February 01, 2010 11:38 AM
>> To: JMeter Users List
>> Subject: Re: Protocol https with cetificate exception
>>
>> On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>> > I am using  Jmeter Version 2.3.4 r785646.
>> >  Version 2.3.4 r785646
>> >  java.version=1.6.0_03
>> >  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP
>> >  os.arch=x86
>> >  os.version=5.1
>>
>> OK, but you have not answered the most important question:
>>
>> >  In what way are they failing?
>>
>>
>> >  Thanks
>> >  Omkar
>> >
>> >
>> >  -----Original Message-----
>> >  From: sebb [mailto:sebbaz@gmail.com]
>> >  Sent: Monday, February 01, 2010 10:09 AM
>> >  To: JMeter Users List
>> >  Subject: Re: Protocol https with cetificate exception
>> >
>> >  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>> >  > I have a problem to test with https protocol.
>> >  >  I am able to test successfully with the HTTP server without SSL.
>> >  >  Where as same tests with different environment having the SSL are
>> failing.
>> >
>> >  In what way are they failing?
>> >  What version of JMeter?
>> >  What version of Java?
>> >
>> >  >  Can you please suggest me how to add exceptions, in case of
>> Firefox/IE browser, I can add exceptions to certificate and proceed with
>> HTTPS.
>> >
>> >  Not necessary, as JMeter allows all certificates.
>> >
>> >  >  Thanks
>> >  >  Omkar
>> >  >
>> >  >
>> > ---------------------------------------------------------------------
>> >  >  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
>> >
>> >
>> >  ---------------------------------------------------------------------
>> >  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
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>

Re: Protocol https with cetificate exception

Posted by Deepak Shetty <sh...@gmail.com>.
I believe this has already been asked once on the archives and you can use
google to know the cause of this problem as well.
e.g.
http://www.java-samples.com/showtutorial.php?tutorialid=210

since you are probably using a self signed certificate or a certificate
signed by your own CA

regards
deepak

On Mon, Feb 1, 2010 at 8:46 AM, Sangem, Omkaram
<om...@etrade.com>wrote:

> I am sorry, Here are the details.
>
> I am using WebService(SOAP) Request.
>
> It is printing this one in the log and showing Error as 100% in Summary
> Report,
>
> 2010/02/01 11:43:50 WARN  - jmeter.protocol.http.sampler.WebServiceSampler:
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target;
> targetException=java.lang.IllegalArgumentException: Error opening socket:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target]
>
> Thanks Again
> Omkar
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Monday, February 01, 2010 11:38 AM
> To: JMeter Users List
> Subject: Re: Protocol https with cetificate exception
>
> On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> > I am using  Jmeter Version 2.3.4 r785646.
> >  Version 2.3.4 r785646
> >  java.version=1.6.0_03
> >  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP
> >  os.arch=x86
> >  os.version=5.1
>
> OK, but you have not answered the most important question:
>
> >  In what way are they failing?
>
>
> >  Thanks
> >  Omkar
> >
> >
> >  -----Original Message-----
> >  From: sebb [mailto:sebbaz@gmail.com]
> >  Sent: Monday, February 01, 2010 10:09 AM
> >  To: JMeter Users List
> >  Subject: Re: Protocol https with cetificate exception
> >
> >  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> >  > I have a problem to test with https protocol.
> >  >  I am able to test successfully with the HTTP server without SSL.
> >  >  Where as same tests with different environment having the SSL are
> failing.
> >
> >  In what way are they failing?
> >  What version of JMeter?
> >  What version of Java?
> >
> >  >  Can you please suggest me how to add exceptions, in case of
> Firefox/IE browser, I can add exceptions to certificate and proceed with
> HTTPS.
> >
> >  Not necessary, as JMeter allows all certificates.
> >
> >  >  Thanks
> >  >  Omkar
> >  >
> >  >
> > ---------------------------------------------------------------------
> >  >  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
> >
> >
> >  ---------------------------------------------------------------------
> >  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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

RE: Protocol https with cetificate exception

Posted by "Sangem, Omkaram" <om...@etrade.com>.
I am sorry, Here are the details.

I am using WebService(SOAP) Request.

It is printing this one in the log and showing Error as 100% in Summary Report,

2010/02/01 11:43:50 WARN  - jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]

Thanks Again
Omkar


-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Monday, February 01, 2010 11:38 AM
To: JMeter Users List
Subject: Re: Protocol https with cetificate exception

On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I am using  Jmeter Version 2.3.4 r785646.
>  Version 2.3.4 r785646
>  java.version=1.6.0_03
>  java.vm.name=Java HotSpot(TM) Client VM  os.name=Windows XP
>  os.arch=x86
>  os.version=5.1

OK, but you have not answered the most important question:

>  In what way are they failing?


>  Thanks
>  Omkar
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Monday, February 01, 2010 10:09 AM
>  To: JMeter Users List
>  Subject: Re: Protocol https with cetificate exception
>
>  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  > I have a problem to test with https protocol.
>  >  I am able to test successfully with the HTTP server without SSL.
>  >  Where as same tests with different environment having the SSL are failing.
>
>  In what way are they failing?
>  What version of JMeter?
>  What version of Java?
>
>  >  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.
>
>  Not necessary, as JMeter allows all certificates.
>
>  >  Thanks
>  >  Omkar
>  >
>  >
> ---------------------------------------------------------------------
>  >  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
>
>
>  ---------------------------------------------------------------------
>  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


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


Re: Protocol https with cetificate exception

Posted by sebb <se...@gmail.com>.
On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I am using  Jmeter Version 2.3.4 r785646.
>  Version 2.3.4 r785646
>  java.version=1.6.0_03
>  java.vm.name=Java HotSpot(TM) Client VM
>  os.name=Windows XP
>  os.arch=x86
>  os.version=5.1

OK, but you have not answered the most important question:

>  In what way are they failing?


>  Thanks
>  Omkar
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Monday, February 01, 2010 10:09 AM
>  To: JMeter Users List
>  Subject: Re: Protocol https with cetificate exception
>
>  On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
>  > I have a problem to test with https protocol.
>  >  I am able to test successfully with the HTTP server without SSL.
>  >  Where as same tests with different environment having the SSL are failing.
>
>  In what way are they failing?
>  What version of JMeter?
>  What version of Java?
>
>  >  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.
>
>  Not necessary, as JMeter allows all certificates.
>
>  >  Thanks
>  >  Omkar
>  >
>  >  ---------------------------------------------------------------------
>  >  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
>
>
>  ---------------------------------------------------------------------
>  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


RE: Protocol https with cetificate exception

Posted by "Sangem, Omkaram" <om...@etrade.com>.
I am using  Jmeter Version 2.3.4 r785646.
Version 2.3.4 r785646
java.version=1.6.0_03
java.vm.name=Java HotSpot(TM) Client VM
os.name=Windows XP
os.arch=x86
os.version=5.1

Thanks
Omkar

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Monday, February 01, 2010 10:09 AM
To: JMeter Users List
Subject: Re: Protocol https with cetificate exception

On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I have a problem to test with https protocol.
>  I am able to test successfully with the HTTP server without SSL.
>  Where as same tests with different environment having the SSL are failing.

In what way are they failing?
What version of JMeter?
What version of Java?

>  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.

Not necessary, as JMeter allows all certificates.

>  Thanks
>  Omkar
>
>  ---------------------------------------------------------------------
>  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


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


Re: Protocol https with cetificate exception

Posted by sebb <se...@gmail.com>.
On 01/02/2010, Sangem, Omkaram <om...@etrade.com> wrote:
> I have a problem to test with https protocol.
>  I am able to test successfully with the HTTP server without SSL.
>  Where as same tests with different environment having the SSL are failing.

In what way are they failing?
What version of JMeter?
What version of Java?

>  Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.

Not necessary, as JMeter allows all certificates.

>  Thanks
>  Omkar
>
>  ---------------------------------------------------------------------
>  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


Protocol https with cetificate exception

Posted by "Sangem, Omkaram" <om...@etrade.com>.
I have a problem to test with https protocol.
I am able to test successfully with the HTTP server without SSL.
Where as same tests with different environment having the SSL are failing.
Can you please suggest me how to add exceptions, in case of Firefox/IE browser, I can add exceptions to certificate and proceed with HTTPS.

Thanks
Omkar

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


Re: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
>So now as you said QTP defines this _JAVA_OPTIONS variable and will it
cause
any prob for me
Well there shouldnt be any problem, because you have overriden the value
while launching JMeter.. Java applications being run by QTP should also work
because we havent removed _JAVA_OPTIONS from the environment
>should i carry on with latest edited jmeter.bat file ?
yes that should be ok, however I would probably create a runJmeter.bat which
overrides _JAVA_OPTIONS and then calls jmeter.bat so that if you upgrade
jmeter you wont run into this issue again.
> And what about that thing create new .BAT file which Sebb told me to do so
That was just to prove to you that the problem lies with your jVM env, not
with jmeter

regards
deepak





On Fri, Jan 29, 2010 at 1:36 AM, gpub <af...@gmail.com> wrote:

>
> hey deepak
>
> Currently Jmeter starts up, i have not recored and run my test on the same
> .bat (latest edited) file.
> i will work on Monday.
>
> So now as you said QTP defines this _JAVA_OPTIONS variable and will it
> cause
> any prob for me while simulating load or running and recording of the
> script, because i have not work on it yet.
>
> From your point of view(which is fine), should i carry on with latest
> edited
> jmeter.bat file ?
>
> And what about that thing create new .BAT file which Sebb told me to do so
> and i have already posted my comment on that too waiting for that feedback
> too
>
> Regards
> GP
>
>
>
> Deepak Shetty wrote:
> >
> > hi
> > which is fine, jmeter works without errors right?
> > _JAVA_OPTIONS is something the JRE looks for at startup and it looks like
> > QTP defines this environment variable...
> >
> > regards
> > deepak
> >
> > On Thu, Jan 28, 2010 at 9:21 PM, gpub <af...@gmail.com> wrote:
> >
> >>
> >> hey Deepak
> >>
> >> edited as you said
> >>
> >> SET _JAVA_OPTIONS=
> >>
> >> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
> >> "%JMETER_BIN%ApacheJMeter.jar"
> >> %JMETER_CMD_LINE_ARGS%
> >>
> >> Jmeter gets launched and cmd prompt appears with belwo message as:
> >>
> >> Picked up _JAVA_OPTIONS:
> >>
> >>
> >> guys my last message was not accepeted sent to the
> >> jmeter-user@jakarta.apache.org mailing list 44 minutes ago
> >>
> >> Regards
> >> GP
> >>
> >>
> >>
> >> Deepak Shetty wrote:
> >> >
> >> > One Last try
> >> > edit JMeter.bat to add
> >> > SET _JAVA_OPTIONS=
> >> > just before the jmeter line.
> >> >
> >> > regards
> >> > deepak
> >> >
> >> >
> >> >
> >> >
> >> > On Thu, Jan 28, 2010 at 1:17 AM, gpub <af...@gmail.com> wrote:
> >> >
> >> >>
> >> >> hi  Deepak,
> >> >> yes launching Jmeter from .bat file only
> >> >> As you said i have edited .bat file
> >> >>
> >> >> echo %JM_START%
> >> >> echo %JM_LAUNCH%
> >> >> echo %JVM_ARGS%
> >> >> echo %ARGS% -jar
> >> >> echo %JMETER_BIN%ApacheJMeter.jar%
> >> >> echo %JMETER_CMD_LINE_ARGS%
> >> >> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
> >> >> "%JMETER_BIN%ApacheJMeter.jar"
> >> >> %JMETER_CMD_LINE_ARGS%
> >> >>
> >> >> and Jmeter opens with result in cmd prompt as:
> >> >>
> >> >> ECHO is off.
> >> >> java.exe
> >> >> ECHO is off.
> >> >> -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
> >> >> -XX:SurvivorRatio=8
> >> >> -XX:T
> >> >> argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
> >> >> -XX:MaxLiveObjectEvacuationRati
> >> >> o=20 -Dsun.rmi.dgc.client.gcInterval=600000
> >> >> -Dsun.rmi.dgc.server.gcInterval=6000
> >> >> 00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
> >> >> ApacheJMeter.jar
> >> >> ECHO is off.
> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> jasmine.jar
> >> >> Loading Mercury Interactive QuickTest Professional Java Support
> >> (version
> >> >> 8.2.115
> >> >> 1.0) (SUN 1.5.0_12)
> >> >>
> >> >> my view reads no info from the variable that are echoed.
> >> >> Jmeter's cmd prompt still gives message as in Bold letters
> >> >>
> >> >> Regards
> >> >> GP
> >> >>
> >> >>
> >> >> Deepak Shetty wrote:
> >> >> >
> >> >> > Just to confirm , you are launching jmeter by itself ...(not
> through
> >> >> QTP)
> >> >> >
> >> >> > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <shettyd@gmail.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Looks like Im mistaken and it isn't jvm args causing the
> >> >> problem.(because
> >> >> >> your echo didnt seem to return any values)
> >> >> >> The batch file you have to edit is jmeter.bat
> >> >> >> Towards the end there should be a line
> >> >> >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
> >> >> >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
> >> >> >>
> >> >> >> Before this line print out each of the above variables and see
> >> which
> >> >> one
> >> >> >> has the QTP specific parameters . Once you identify that you have
> >> to
> >> >> >> reset
> >> >> >> it (just before the above copied one)
> >> >> >>
> >> >> >> regards
> >> >> >> deepak
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
> >> wrote:
> >> >> >>
> >> >> >>>
> >> >> >>> hi
> >> >> >>>
> >> >> >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your
> >> point
> >> >> >>> below
> >> >> >>> 1. edited the .bat file what you wrote below, same parameter has
> >> been
> >> >> >>> picked
> >> >> >>> up by jmeter (which you said is defined for QTP)
> >> >> >>>
> >> >> >>> Checked the Environment variable
> >> >> >>> name: _classload_hook; value=jvmhook
> >> >> >>>
> >> >> >>> name: _JAVA_OPTIONS
> >> >> >>>
> >> >> >>>
> >> >>
> >>
> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
> >> >> >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
> >> >> >>>
> >> >> >>>
> >> >> >>> 2 typed echo %JVM_ARGS%
> >> >> >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
> >> >> >>> %JVM_ARGS%
> >> >> >>>
> >> >> >>> as you said cannot pass the parameter that QTP has set and edited
> >> in
> >> >> as
> >> >> >>> JVM_ARGS=(empty) in .bat file
> >> >> >>> Can you please elaborate which line,where in and what exact to
> >> enter
> >> >> in
> >> >> >>> .bat
> >> >> >>> file ( exact wording )
> >> >> >>>
> >> >> >>> uploaded the .bat file as .text, please do the necessary edits
> >> >> >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
> >> >> >>>
> >> >> >>> Regards
> >> >> >>> --
> >> >> >>> GP
> >> >> >>>
> >> >> >>>
> >> >> >>> Deepak Shetty wrote:
> >> >> >>> >
> >> >> >>> > hi
> >> >> >>> > I do not know what you are asking me to comment on?
> >> >> >>> >
> >> >> >>> > JMeter will work with 1.4 and 1.5 without problems. However
> when
> >> >> you
> >> >> >>> are
> >> >> >>> > running on 1.5 you cannot pass the parameters that QTP has set
> >> (if
> >> >> you
> >> >> >>> > open
> >> >> >>> > any cmd window and type echo %JVM_ARGS% you should see some
> >> values
> >> >> >>> that
> >> >> >>> > QTP
> >> >> >>> > has setup). So you need to prevent JMeter  from picking this up
> >> ,
> >> >> one
> >> >> >>> of
> >> >> >>> > the
> >> >> >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will
> >> not
> >> >> >>> affect
> >> >> >>> > QTP because it only applies to the cmd window on which Jmeter
> is
> >> >> >>> running.
> >> >> >>> >
> >> >> >>> > regards
> >> >> >>> > deepak
> >> >> >>> >
> >> >> >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
> >> >> wrote:
> >> >> >>> >
> >> >> >>> >>
> >> >> >>> >> hey Deepak thnx for the reply
> >> >> >>> >> Well i some im able to launch Jmeter  reason was with two
> >> versions
> >> >> of
> >> >> >>> >> java
> >> >> >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
> >> java
> >> >> >>> 1.5
> >> >> >>> >> version(as i uninstalled version 1.4) and below message coming
> >> up
> >> >> on
> >> >> >>> >> command
> >> >> >>> >> prompt on QTP installed Machine:
> >> >> >>> >>
> >> >> >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
> >> >> >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> >>> >> jasmine.jar
> >> >> >>> >> Loading Mercury Interactive QuickTest Professional Java
> Support
> >> >> >>> (version
> >> >> >>> >> 8.2.115
> >> >> >>> >> 1.0) (SUN 1.5.0_12)
> >> >> >>> >>
> >> >> >>> >> Now i need more clarity from your side that shall i go ahead
> >> with
> >> >> >>> this
> >> >> >>> >> message coming in command prompt will not affect my jmeter
> runs
> >> or
> >> >> >>> need
> >> >> >>> >> to
> >> >> >>> >> set lines in .BAT file( if yes then which line).
> >> >> >>> >>
> >> >> >>> >> I am jst curious because on my 2 machine i am running jmeter
> >> with
> >> >> >>> java
> >> >> >>> >> 1.4
> >> >> >>> >> version and on other 3 machine(having QTP) i am running with
> >> java
> >> >> >>> 1.5,
> >> >> >>> so
> >> >> >>> >> this is reason i want your comment so i can be confident to
> >> about
> >> >> the
> >> >> >>> >> message command prompt and i can go ahead with my runs.
> >> >> >>> >>
> >> >> >>> >> More over will this message above in command prompt cause me
> >> any
> >> >> prob
> >> >> >>> >> during
> >> >> >>> >> incremental load run. Please provide your valuable comments
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> Regards
> >> >> >>> >> GP
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> Deepak Shetty wrote:
> >> >> >>> >> >
> >> >> >>> >> > It looks like your QTP installation has put a value JVM_ARGS
> >> in
> >> >> >>> your
> >> >> >>> >> > environment variables in windows. These options are only
> >> valid
> >> >> for
> >> >> >>> java
> >> >> >>> >> > 1.4
> >> >> >>> >> > (and you seem to be running jmeter with atleast java 1.5),
> >> and
> >> >> >>> shouldnt
> >> >> >>> >> > really be there for JMeter.
> >> >> >>> >> > Options
> >> >> >>> >> > a. Remove the JVM_ARGS variable from the environment, only
> >> add
> >> >> it
> >> >> >>> when
> >> >> >>> >> you
> >> >> >>> >> > need it
> >> >> >>> >> > OR
> >> >> >>> >> > b. modify jmeter.bat and add a line to it near the top
> saying
> >> >> >>> >> > set JVM_ARGS=
> >> >> >>> >> > (or whatever options you might want to pass)
> >> >> >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
> >> >> >>> >> > regards
> >> >> >>> >> > deepak
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub
> >> <af...@gmail.com>
> >> >> >>> wrote:
> >> >> >>> >> >
> >> >> >>> >> >>
> >> >> >>> >> >> hi all,
> >> >> >>> >> >>
> >> >> >>> >> >> i am facing a prob while launching jmeter.bat file
> >> >> >>> >> >>
> >> >> >>> >> >> Issue is coming as below
> >> >> >>> >> >>
> >> >> >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >> >>> >> >>
> >> >> >>> >> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> >>> >> >> jasmine.jar
> >> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
> >> >> supported.
> >> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
> >> (JVM
> >> >> >>> TI).
> >> >> >>> >> >> Error: could not load Mercury Interactive support. Please
> >> run
> >> >> the
> >> >> >>> >> setup
> >> >> >>> >> >> again.
> >> >> >>> >> >>       If the problem persists please contact Mercury's
> >> Customer
> >> >> >>> >> support.
> >> >> >>> >> >> Error occurred during initialization of VM
> >> >> >>> >> >> -Xrun library failed to init: jvmhook
> >> >> >>> >> >>
> >> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >> >> >>> >> >> Files\Tortois
> >> >> >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >> >> >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >> >>> >> >>
> >> >> >>> >> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> >>> >> >> jasmine.jar
> >> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
> >> >> supported.
> >> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
> >> (JVM
> >> >> >>> TI).
> >> >> >>> >> >> Error: could not load Mercury Interactive support. Please
> >> run
> >> >> the
> >> >> >>> >> setup
> >> >> >>> >> >> again.
> >> >> >>> >> >>       If the problem persists please contact Mercury's
> >> Customer
> >> >> >>> >> support.
> >> >> >>> >> >> Error occurred during initialization of VM
> >> >> >>> >> >> -Xrun library failed to init: jvmhook
> >> >> >>> >> >> errorlevel=1
> >> >> >>> >> >> Press any key to continue . . .
> >> >> >>> >> >>
> >> >> >>> >> >>
> >> >> >>> >> >> please provide your valuable comments on the same, i am
> kind
> >> of
> >> >> >>> urgent
> >> >> >>> >> >> need
> >> >> >>> >> >>
> >> >> >>> >> >> Regards
> >> >> >>> >> >> GP
> >> >> >>> >> >> --
> >> >> >>> >> >> View this message in context:
> >> >> >>> >> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >> >> >>> >> >> 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
> >> >> >>> >> >>
> >> >> >>> >> >>
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >> --
> >> >> >>> >> View this message in context:
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> >> >> >>> >> 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
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> >> >> >>> --
> >> >> >>> View this message in context:
> >> >> >>>
> >> >>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
> >> >> >>> 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
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
> >> >> 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
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27366764.html
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27369112.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hey deepak

Currently Jmeter starts up, i have not recored and run my test on the same
.bat (latest edited) file.
i will work on Monday. 

So now as you said QTP defines this _JAVA_OPTIONS variable and will it cause
any prob for me while simulating load or running and recording of the
script, because i have not work on it yet.

>From your point of view(which is fine), should i carry on with latest edited
jmeter.bat file ?

And what about that thing create new .BAT file which Sebb told me to do so
and i have already posted my comment on that too waiting for that feedback
too 

Regards
GP



Deepak Shetty wrote:
> 
> hi
> which is fine, jmeter works without errors right?
> _JAVA_OPTIONS is something the JRE looks for at startup and it looks like
> QTP defines this environment variable...
> 
> regards
> deepak
> 
> On Thu, Jan 28, 2010 at 9:21 PM, gpub <af...@gmail.com> wrote:
> 
>>
>> hey Deepak
>>
>> edited as you said
>>
>> SET _JAVA_OPTIONS=
>>
>> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>> "%JMETER_BIN%ApacheJMeter.jar"
>> %JMETER_CMD_LINE_ARGS%
>>
>> Jmeter gets launched and cmd prompt appears with belwo message as:
>>
>> Picked up _JAVA_OPTIONS:
>>
>>
>> guys my last message was not accepeted sent to the
>> jmeter-user@jakarta.apache.org mailing list 44 minutes ago
>>
>> Regards
>> GP
>>
>>
>>
>> Deepak Shetty wrote:
>> >
>> > One Last try
>> > edit JMeter.bat to add
>> > SET _JAVA_OPTIONS=
>> > just before the jmeter line.
>> >
>> > regards
>> > deepak
>> >
>> >
>> >
>> >
>> > On Thu, Jan 28, 2010 at 1:17 AM, gpub <af...@gmail.com> wrote:
>> >
>> >>
>> >> hi  Deepak,
>> >> yes launching Jmeter from .bat file only
>> >> As you said i have edited .bat file
>> >>
>> >> echo %JM_START%
>> >> echo %JM_LAUNCH%
>> >> echo %JVM_ARGS%
>> >> echo %ARGS% -jar
>> >> echo %JMETER_BIN%ApacheJMeter.jar%
>> >> echo %JMETER_CMD_LINE_ARGS%
>> >> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>> >> "%JMETER_BIN%ApacheJMeter.jar"
>> >> %JMETER_CMD_LINE_ARGS%
>> >>
>> >> and Jmeter opens with result in cmd prompt as:
>> >>
>> >> ECHO is off.
>> >> java.exe
>> >> ECHO is off.
>> >> -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
>> >> -XX:SurvivorRatio=8
>> >> -XX:T
>> >> argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>> >> -XX:MaxLiveObjectEvacuationRati
>> >> o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>> >> -Dsun.rmi.dgc.server.gcInterval=6000
>> >> 00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>> >> ApacheJMeter.jar
>> >> ECHO is off.
>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> jasmine.jar
>> >> Loading Mercury Interactive QuickTest Professional Java Support
>> (version
>> >> 8.2.115
>> >> 1.0) (SUN 1.5.0_12)
>> >>
>> >> my view reads no info from the variable that are echoed.
>> >> Jmeter's cmd prompt still gives message as in Bold letters
>> >>
>> >> Regards
>> >> GP
>> >>
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> > Just to confirm , you are launching jmeter by itself ...(not through
>> >> QTP)
>> >> >
>> >> > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
>> >> wrote:
>> >> >
>> >> >> Looks like Im mistaken and it isn't jvm args causing the
>> >> problem.(because
>> >> >> your echo didnt seem to return any values)
>> >> >> The batch file you have to edit is jmeter.bat
>> >> >> Towards the end there should be a line
>> >> >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>> >> >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>> >> >>
>> >> >> Before this line print out each of the above variables and see
>> which
>> >> one
>> >> >> has the QTP specific parameters . Once you identify that you have
>> to
>> >> >> reset
>> >> >> it (just before the above copied one)
>> >> >>
>> >> >> regards
>> >> >> deepak
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
>> wrote:
>> >> >>
>> >> >>>
>> >> >>> hi
>> >> >>>
>> >> >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your
>> point
>> >> >>> below
>> >> >>> 1. edited the .bat file what you wrote below, same parameter has
>> been
>> >> >>> picked
>> >> >>> up by jmeter (which you said is defined for QTP)
>> >> >>>
>> >> >>> Checked the Environment variable
>> >> >>> name: _classload_hook; value=jvmhook
>> >> >>>
>> >> >>> name: _JAVA_OPTIONS
>> >> >>>
>> >> >>>
>> >>
>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>> >> >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>> >> >>>
>> >> >>>
>> >> >>> 2 typed echo %JVM_ARGS%
>> >> >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>> >> >>> %JVM_ARGS%
>> >> >>>
>> >> >>> as you said cannot pass the parameter that QTP has set and edited
>> in
>> >> as
>> >> >>> JVM_ARGS=(empty) in .bat file
>> >> >>> Can you please elaborate which line,where in and what exact to
>> enter
>> >> in
>> >> >>> .bat
>> >> >>> file ( exact wording )
>> >> >>>
>> >> >>> uploaded the .bat file as .text, please do the necessary edits
>> >> >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>> >> >>>
>> >> >>> Regards
>> >> >>> --
>> >> >>> GP
>> >> >>>
>> >> >>>
>> >> >>> Deepak Shetty wrote:
>> >> >>> >
>> >> >>> > hi
>> >> >>> > I do not know what you are asking me to comment on?
>> >> >>> >
>> >> >>> > JMeter will work with 1.4 and 1.5 without problems. However when
>> >> you
>> >> >>> are
>> >> >>> > running on 1.5 you cannot pass the parameters that QTP has set
>> (if
>> >> you
>> >> >>> > open
>> >> >>> > any cmd window and type echo %JVM_ARGS% you should see some
>> values
>> >> >>> that
>> >> >>> > QTP
>> >> >>> > has setup). So you need to prevent JMeter  from picking this up
>> ,
>> >> one
>> >> >>> of
>> >> >>> > the
>> >> >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will
>> not
>> >> >>> affect
>> >> >>> > QTP because it only applies to the cmd window on which Jmeter is
>> >> >>> running.
>> >> >>> >
>> >> >>> > regards
>> >> >>> > deepak
>> >> >>> >
>> >> >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
>> >> wrote:
>> >> >>> >
>> >> >>> >>
>> >> >>> >> hey Deepak thnx for the reply
>> >> >>> >> Well i some im able to launch Jmeter  reason was with two
>> versions
>> >> of
>> >> >>> >> java
>> >> >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
>> java
>> >> >>> 1.5
>> >> >>> >> version(as i uninstalled version 1.4) and below message coming
>> up
>> >> on
>> >> >>> >> command
>> >> >>> >> prompt on QTP installed Machine:
>> >> >>> >>
>> >> >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>> >> >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >> >>> >>
>> >> >>> >>
>> >> >>>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> >>> >> jasmine.jar
>> >> >>> >> Loading Mercury Interactive QuickTest Professional Java Support
>> >> >>> (version
>> >> >>> >> 8.2.115
>> >> >>> >> 1.0) (SUN 1.5.0_12)
>> >> >>> >>
>> >> >>> >> Now i need more clarity from your side that shall i go ahead
>> with
>> >> >>> this
>> >> >>> >> message coming in command prompt will not affect my jmeter runs
>> or
>> >> >>> need
>> >> >>> >> to
>> >> >>> >> set lines in .BAT file( if yes then which line).
>> >> >>> >>
>> >> >>> >> I am jst curious because on my 2 machine i am running jmeter
>> with
>> >> >>> java
>> >> >>> >> 1.4
>> >> >>> >> version and on other 3 machine(having QTP) i am running with
>> java
>> >> >>> 1.5,
>> >> >>> so
>> >> >>> >> this is reason i want your comment so i can be confident to
>> about
>> >> the
>> >> >>> >> message command prompt and i can go ahead with my runs.
>> >> >>> >>
>> >> >>> >> More over will this message above in command prompt cause me
>> any
>> >> prob
>> >> >>> >> during
>> >> >>> >> incremental load run. Please provide your valuable comments
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> Regards
>> >> >>> >> GP
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> Deepak Shetty wrote:
>> >> >>> >> >
>> >> >>> >> > It looks like your QTP installation has put a value JVM_ARGS
>> in
>> >> >>> your
>> >> >>> >> > environment variables in windows. These options are only
>> valid
>> >> for
>> >> >>> java
>> >> >>> >> > 1.4
>> >> >>> >> > (and you seem to be running jmeter with atleast java 1.5),
>> and
>> >> >>> shouldnt
>> >> >>> >> > really be there for JMeter.
>> >> >>> >> > Options
>> >> >>> >> > a. Remove the JVM_ARGS variable from the environment, only
>> add
>> >> it
>> >> >>> when
>> >> >>> >> you
>> >> >>> >> > need it
>> >> >>> >> > OR
>> >> >>> >> > b. modify jmeter.bat and add a line to it near the top saying
>> >> >>> >> > set JVM_ARGS=
>> >> >>> >> > (or whatever options you might want to pass)
>> >> >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>> >> >>> >> > regards
>> >> >>> >> > deepak
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub
>> <af...@gmail.com>
>> >> >>> wrote:
>> >> >>> >> >
>> >> >>> >> >>
>> >> >>> >> >> hi all,
>> >> >>> >> >>
>> >> >>> >> >> i am facing a prob while launching jmeter.bat file
>> >> >>> >> >>
>> >> >>> >> >> Issue is coming as below
>> >> >>> >> >>
>> >> >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >>
>> >> >>>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> >>> >> >> jasmine.jar
>> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> >> supported.
>> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
>> (JVM
>> >> >>> TI).
>> >> >>> >> >> Error: could not load Mercury Interactive support. Please
>> run
>> >> the
>> >> >>> >> setup
>> >> >>> >> >> again.
>> >> >>> >> >>       If the problem persists please contact Mercury's
>> Customer
>> >> >>> >> support.
>> >> >>> >> >> Error occurred during initialization of VM
>> >> >>> >> >> -Xrun library failed to init: jvmhook
>> >> >>> >> >>
>> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> >> >>> >> >> Files\Tortois
>> >> >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>> >> >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >>
>> >> >>>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> >>> >> >> jasmine.jar
>> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> >> supported.
>> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
>> (JVM
>> >> >>> TI).
>> >> >>> >> >> Error: could not load Mercury Interactive support. Please
>> run
>> >> the
>> >> >>> >> setup
>> >> >>> >> >> again.
>> >> >>> >> >>       If the problem persists please contact Mercury's
>> Customer
>> >> >>> >> support.
>> >> >>> >> >> Error occurred during initialization of VM
>> >> >>> >> >> -Xrun library failed to init: jvmhook
>> >> >>> >> >> errorlevel=1
>> >> >>> >> >> Press any key to continue . . .
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> please provide your valuable comments on the same, i am kind
>> of
>> >> >>> urgent
>> >> >>> >> >> need
>> >> >>> >> >>
>> >> >>> >> >> Regards
>> >> >>> >> >> GP
>> >> >>> >> >> --
>> >> >>> >> >> View this message in context:
>> >> >>> >> >>
>> >> >>> >>
>> >> >>>
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>> >> >>> >> >> 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
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >> --
>> >> >>> >> View this message in context:
>> >> >>> >>
>> >> >>>
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>> >> >>> >> 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
>> >> >>> >>
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>> --
>> >> >>> View this message in context:
>> >> >>>
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>> >> >>> 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
>> >> >>>
>> >> >>>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>> >> 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
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27366764.html
>> 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
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27369112.html
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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
hi
which is fine, jmeter works without errors right?
_JAVA_OPTIONS is something the JRE looks for at startup and it looks like
QTP defines this environment variable...

regards
deepak

On Thu, Jan 28, 2010 at 9:21 PM, gpub <af...@gmail.com> wrote:

>
> hey Deepak
>
> edited as you said
>
> SET _JAVA_OPTIONS=
>
> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
> "%JMETER_BIN%ApacheJMeter.jar"
> %JMETER_CMD_LINE_ARGS%
>
> Jmeter gets launched and cmd prompt appears with belwo message as:
>
> Picked up _JAVA_OPTIONS:
>
>
> guys my last message was not accepeted sent to the
> jmeter-user@jakarta.apache.org mailing list 44 minutes ago
>
> Regards
> GP
>
>
>
> Deepak Shetty wrote:
> >
> > One Last try
> > edit JMeter.bat to add
> > SET _JAVA_OPTIONS=
> > just before the jmeter line.
> >
> > regards
> > deepak
> >
> >
> >
> >
> > On Thu, Jan 28, 2010 at 1:17 AM, gpub <af...@gmail.com> wrote:
> >
> >>
> >> hi  Deepak,
> >> yes launching Jmeter from .bat file only
> >> As you said i have edited .bat file
> >>
> >> echo %JM_START%
> >> echo %JM_LAUNCH%
> >> echo %JVM_ARGS%
> >> echo %ARGS% -jar
> >> echo %JMETER_BIN%ApacheJMeter.jar%
> >> echo %JMETER_CMD_LINE_ARGS%
> >> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
> >> "%JMETER_BIN%ApacheJMeter.jar"
> >> %JMETER_CMD_LINE_ARGS%
> >>
> >> and Jmeter opens with result in cmd prompt as:
> >>
> >> ECHO is off.
> >> java.exe
> >> ECHO is off.
> >> -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
> >> -XX:SurvivorRatio=8
> >> -XX:T
> >> argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
> >> -XX:MaxLiveObjectEvacuationRati
> >> o=20 -Dsun.rmi.dgc.client.gcInterval=600000
> >> -Dsun.rmi.dgc.server.gcInterval=6000
> >> 00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
> >> ApacheJMeter.jar
> >> ECHO is off.
> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> Loading Mercury Interactive QuickTest Professional Java Support (version
> >> 8.2.115
> >> 1.0) (SUN 1.5.0_12)
> >>
> >> my view reads no info from the variable that are echoed.
> >> Jmeter's cmd prompt still gives message as in Bold letters
> >>
> >> Regards
> >> GP
> >>
> >>
> >> Deepak Shetty wrote:
> >> >
> >> > Just to confirm , you are launching jmeter by itself ...(not through
> >> QTP)
> >> >
> >> > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
> >> wrote:
> >> >
> >> >> Looks like Im mistaken and it isn't jvm args causing the
> >> problem.(because
> >> >> your echo didnt seem to return any values)
> >> >> The batch file you have to edit is jmeter.bat
> >> >> Towards the end there should be a line
> >> >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
> >> >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
> >> >>
> >> >> Before this line print out each of the above variables and see which
> >> one
> >> >> has the QTP specific parameters . Once you identify that you have to
> >> >> reset
> >> >> it (just before the above copied one)
> >> >>
> >> >> regards
> >> >> deepak
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com>
> wrote:
> >> >>
> >> >>>
> >> >>> hi
> >> >>>
> >> >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
> >> >>> below
> >> >>> 1. edited the .bat file what you wrote below, same parameter has
> been
> >> >>> picked
> >> >>> up by jmeter (which you said is defined for QTP)
> >> >>>
> >> >>> Checked the Environment variable
> >> >>> name: _classload_hook; value=jvmhook
> >> >>>
> >> >>> name: _JAVA_OPTIONS
> >> >>>
> >> >>>
> >>
> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
> >> >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
> >> >>>
> >> >>>
> >> >>> 2 typed echo %JVM_ARGS%
> >> >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
> >> >>> %JVM_ARGS%
> >> >>>
> >> >>> as you said cannot pass the parameter that QTP has set and edited in
> >> as
> >> >>> JVM_ARGS=(empty) in .bat file
> >> >>> Can you please elaborate which line,where in and what exact to enter
> >> in
> >> >>> .bat
> >> >>> file ( exact wording )
> >> >>>
> >> >>> uploaded the .bat file as .text, please do the necessary edits
> >> >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
> >> >>>
> >> >>> Regards
> >> >>> --
> >> >>> GP
> >> >>>
> >> >>>
> >> >>> Deepak Shetty wrote:
> >> >>> >
> >> >>> > hi
> >> >>> > I do not know what you are asking me to comment on?
> >> >>> >
> >> >>> > JMeter will work with 1.4 and 1.5 without problems. However when
> >> you
> >> >>> are
> >> >>> > running on 1.5 you cannot pass the parameters that QTP has set (if
> >> you
> >> >>> > open
> >> >>> > any cmd window and type echo %JVM_ARGS% you should see some values
> >> >>> that
> >> >>> > QTP
> >> >>> > has setup). So you need to prevent JMeter  from picking this up ,
> >> one
> >> >>> of
> >> >>> > the
> >> >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will
> not
> >> >>> affect
> >> >>> > QTP because it only applies to the cmd window on which Jmeter is
> >> >>> running.
> >> >>> >
> >> >>> > regards
> >> >>> > deepak
> >> >>> >
> >> >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
> >> wrote:
> >> >>> >
> >> >>> >>
> >> >>> >> hey Deepak thnx for the reply
> >> >>> >> Well i some im able to launch Jmeter  reason was with two
> versions
> >> of
> >> >>> >> java
> >> >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with
> java
> >> >>> 1.5
> >> >>> >> version(as i uninstalled version 1.4) and below message coming up
> >> on
> >> >>> >> command
> >> >>> >> prompt on QTP installed Machine:
> >> >>> >>
> >> >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
> >> >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>> >>
> >> >>> >>
> >> >>>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >>> >> jasmine.jar
> >> >>> >> Loading Mercury Interactive QuickTest Professional Java Support
> >> >>> (version
> >> >>> >> 8.2.115
> >> >>> >> 1.0) (SUN 1.5.0_12)
> >> >>> >>
> >> >>> >> Now i need more clarity from your side that shall i go ahead with
> >> >>> this
> >> >>> >> message coming in command prompt will not affect my jmeter runs
> or
> >> >>> need
> >> >>> >> to
> >> >>> >> set lines in .BAT file( if yes then which line).
> >> >>> >>
> >> >>> >> I am jst curious because on my 2 machine i am running jmeter with
> >> >>> java
> >> >>> >> 1.4
> >> >>> >> version and on other 3 machine(having QTP) i am running with java
> >> >>> 1.5,
> >> >>> so
> >> >>> >> this is reason i want your comment so i can be confident to about
> >> the
> >> >>> >> message command prompt and i can go ahead with my runs.
> >> >>> >>
> >> >>> >> More over will this message above in command prompt cause me any
> >> prob
> >> >>> >> during
> >> >>> >> incremental load run. Please provide your valuable comments
> >> >>> >>
> >> >>> >>
> >> >>> >> Regards
> >> >>> >> GP
> >> >>> >>
> >> >>> >>
> >> >>> >> Deepak Shetty wrote:
> >> >>> >> >
> >> >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
> >> >>> your
> >> >>> >> > environment variables in windows. These options are only valid
> >> for
> >> >>> java
> >> >>> >> > 1.4
> >> >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
> >> >>> shouldnt
> >> >>> >> > really be there for JMeter.
> >> >>> >> > Options
> >> >>> >> > a. Remove the JVM_ARGS variable from the environment, only add
> >> it
> >> >>> when
> >> >>> >> you
> >> >>> >> > need it
> >> >>> >> > OR
> >> >>> >> > b. modify jmeter.bat and add a line to it near the top saying
> >> >>> >> > set JVM_ARGS=
> >> >>> >> > (or whatever options you might want to pass)
> >> >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
> >> >>> >> > regards
> >> >>> >> > deepak
> >> >>> >> >
> >> >>> >> >
> >> >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
> >> >>> wrote:
> >> >>> >> >
> >> >>> >> >>
> >> >>> >> >> hi all,
> >> >>> >> >>
> >> >>> >> >> i am facing a prob while launching jmeter.bat file
> >> >>> >> >>
> >> >>> >> >> Issue is coming as below
> >> >>> >> >>
> >> >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >>
> >> >>>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >>> >> >> jasmine.jar
> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
> >> supported.
> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
> (JVM
> >> >>> TI).
> >> >>> >> >> Error: could not load Mercury Interactive support. Please run
> >> the
> >> >>> >> setup
> >> >>> >> >> again.
> >> >>> >> >>       If the problem persists please contact Mercury's
> Customer
> >> >>> >> support.
> >> >>> >> >> Error occurred during initialization of VM
> >> >>> >> >> -Xrun library failed to init: jvmhook
> >> >>> >> >>
> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >> >>> >> >> Files\Tortois
> >> >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >> >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >>
> >> >>>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >>> >> >> jasmine.jar
> >> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
> >> supported.
> >> >>> >> >> Please use the supported interface: the JVM Tool Interface
> (JVM
> >> >>> TI).
> >> >>> >> >> Error: could not load Mercury Interactive support. Please run
> >> the
> >> >>> >> setup
> >> >>> >> >> again.
> >> >>> >> >>       If the problem persists please contact Mercury's
> Customer
> >> >>> >> support.
> >> >>> >> >> Error occurred during initialization of VM
> >> >>> >> >> -Xrun library failed to init: jvmhook
> >> >>> >> >> errorlevel=1
> >> >>> >> >> Press any key to continue . . .
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >> please provide your valuable comments on the same, i am kind
> of
> >> >>> urgent
> >> >>> >> >> need
> >> >>> >> >>
> >> >>> >> >> Regards
> >> >>> >> >> GP
> >> >>> >> >> --
> >> >>> >> >> View this message in context:
> >> >>> >> >>
> >> >>> >>
> >> >>>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >> >>> >> >> 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
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>> >> --
> >> >>> >> View this message in context:
> >> >>> >>
> >> >>>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> >> >>> >> 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
> >> >>> >>
> >> >>> >>
> >> >>> >
> >> >>> >
> >> >>>
> >> >>> --
> >> >>> View this message in context:
> >> >>>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
> >> >>> 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
> >> >>>
> >> >>>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27366764.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hey Deepak

edited as you said

SET _JAVA_OPTIONS= 

%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
%JMETER_CMD_LINE_ARGS%

Jmeter gets launched and cmd prompt appears with belwo message as: 

Picked up _JAVA_OPTIONS:


guys my last message was not accepeted sent to the
jmeter-user@jakarta.apache.org mailing list 44 minutes ago

Regards
GP



Deepak Shetty wrote:
> 
> One Last try
> edit JMeter.bat to add
> SET _JAVA_OPTIONS=
> just before the jmeter line.
> 
> regards
> deepak
> 
> 
> 
> 
> On Thu, Jan 28, 2010 at 1:17 AM, gpub <af...@gmail.com> wrote:
> 
>>
>> hi  Deepak,
>> yes launching Jmeter from .bat file only
>> As you said i have edited .bat file
>>
>> echo %JM_START%
>> echo %JM_LAUNCH%
>> echo %JVM_ARGS%
>> echo %ARGS% -jar
>> echo %JMETER_BIN%ApacheJMeter.jar%
>> echo %JMETER_CMD_LINE_ARGS%
>> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
>> "%JMETER_BIN%ApacheJMeter.jar"
>> %JMETER_CMD_LINE_ARGS%
>>
>> and Jmeter opens with result in cmd prompt as:
>>
>> ECHO is off.
>> java.exe
>> ECHO is off.
>> -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m
>> -XX:SurvivorRatio=8
>> -XX:T
>> argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
>> -XX:MaxLiveObjectEvacuationRati
>> o=20 -Dsun.rmi.dgc.client.gcInterval=600000
>> -Dsun.rmi.dgc.server.gcInterval=6000
>> 00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
>> ApacheJMeter.jar
>> ECHO is off.
>> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> jasmine.jar
>> Loading Mercury Interactive QuickTest Professional Java Support (version
>> 8.2.115
>> 1.0) (SUN 1.5.0_12)
>>
>> my view reads no info from the variable that are echoed.
>> Jmeter's cmd prompt still gives message as in Bold letters
>>
>> Regards
>> GP
>>
>>
>> Deepak Shetty wrote:
>> >
>> > Just to confirm , you are launching jmeter by itself ...(not through
>> QTP)
>> >
>> > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
>> wrote:
>> >
>> >> Looks like Im mistaken and it isn't jvm args causing the
>> problem.(because
>> >> your echo didnt seem to return any values)
>> >> The batch file you have to edit is jmeter.bat
>> >> Towards the end there should be a line
>> >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>> >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>> >>
>> >> Before this line print out each of the above variables and see which
>> one
>> >> has the QTP specific parameters . Once you identify that you have to
>> >> reset
>> >> it (just before the above copied one)
>> >>
>> >> regards
>> >> deepak
>> >>
>> >>
>> >>
>> >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:
>> >>
>> >>>
>> >>> hi
>> >>>
>> >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
>> >>> below
>> >>> 1. edited the .bat file what you wrote below, same parameter has been
>> >>> picked
>> >>> up by jmeter (which you said is defined for QTP)
>> >>>
>> >>> Checked the Environment variable
>> >>> name: _classload_hook; value=jvmhook
>> >>>
>> >>> name: _JAVA_OPTIONS
>> >>>
>> >>>
>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>> >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>> >>>
>> >>>
>> >>> 2 typed echo %JVM_ARGS%
>> >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>> >>> %JVM_ARGS%
>> >>>
>> >>> as you said cannot pass the parameter that QTP has set and edited in
>> as
>> >>> JVM_ARGS=(empty) in .bat file
>> >>> Can you please elaborate which line,where in and what exact to enter
>> in
>> >>> .bat
>> >>> file ( exact wording )
>> >>>
>> >>> uploaded the .bat file as .text, please do the necessary edits
>> >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>> >>>
>> >>> Regards
>> >>> --
>> >>> GP
>> >>>
>> >>>
>> >>> Deepak Shetty wrote:
>> >>> >
>> >>> > hi
>> >>> > I do not know what you are asking me to comment on?
>> >>> >
>> >>> > JMeter will work with 1.4 and 1.5 without problems. However when
>> you
>> >>> are
>> >>> > running on 1.5 you cannot pass the parameters that QTP has set (if
>> you
>> >>> > open
>> >>> > any cmd window and type echo %JVM_ARGS% you should see some values
>> >>> that
>> >>> > QTP
>> >>> > has setup). So you need to prevent JMeter  from picking this up ,
>> one
>> >>> of
>> >>> > the
>> >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
>> >>> affect
>> >>> > QTP because it only applies to the cmd window on which Jmeter is
>> >>> running.
>> >>> >
>> >>> > regards
>> >>> > deepak
>> >>> >
>> >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
>> wrote:
>> >>> >
>> >>> >>
>> >>> >> hey Deepak thnx for the reply
>> >>> >> Well i some im able to launch Jmeter  reason was with two versions
>> of
>> >>> >> java
>> >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java
>> >>> 1.5
>> >>> >> version(as i uninstalled version 1.4) and below message coming up
>> on
>> >>> >> command
>> >>> >> prompt on QTP installed Machine:
>> >>> >>
>> >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>> >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>> >>
>> >>> >>
>> >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >>> >> jasmine.jar
>> >>> >> Loading Mercury Interactive QuickTest Professional Java Support
>> >>> (version
>> >>> >> 8.2.115
>> >>> >> 1.0) (SUN 1.5.0_12)
>> >>> >>
>> >>> >> Now i need more clarity from your side that shall i go ahead with
>> >>> this
>> >>> >> message coming in command prompt will not affect my jmeter runs or
>> >>> need
>> >>> >> to
>> >>> >> set lines in .BAT file( if yes then which line).
>> >>> >>
>> >>> >> I am jst curious because on my 2 machine i am running jmeter with
>> >>> java
>> >>> >> 1.4
>> >>> >> version and on other 3 machine(having QTP) i am running with java
>> >>> 1.5,
>> >>> so
>> >>> >> this is reason i want your comment so i can be confident to about
>> the
>> >>> >> message command prompt and i can go ahead with my runs.
>> >>> >>
>> >>> >> More over will this message above in command prompt cause me any
>> prob
>> >>> >> during
>> >>> >> incremental load run. Please provide your valuable comments
>> >>> >>
>> >>> >>
>> >>> >> Regards
>> >>> >> GP
>> >>> >>
>> >>> >>
>> >>> >> Deepak Shetty wrote:
>> >>> >> >
>> >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
>> >>> your
>> >>> >> > environment variables in windows. These options are only valid
>> for
>> >>> java
>> >>> >> > 1.4
>> >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>> >>> shouldnt
>> >>> >> > really be there for JMeter.
>> >>> >> > Options
>> >>> >> > a. Remove the JVM_ARGS variable from the environment, only add
>> it
>> >>> when
>> >>> >> you
>> >>> >> > need it
>> >>> >> > OR
>> >>> >> > b. modify jmeter.bat and add a line to it near the top saying
>> >>> >> > set JVM_ARGS=
>> >>> >> > (or whatever options you might want to pass)
>> >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>> >>> >> > regards
>> >>> >> > deepak
>> >>> >> >
>> >>> >> >
>> >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>> >>> wrote:
>> >>> >> >
>> >>> >> >>
>> >>> >> >> hi all,
>> >>> >> >>
>> >>> >> >> i am facing a prob while launching jmeter.bat file
>> >>> >> >>
>> >>> >> >> Issue is coming as below
>> >>> >> >>
>> >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>> >> >>
>> >>> >> >>
>> >>> >>
>> >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >>> >> >> jasmine.jar
>> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> supported.
>> >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>> >>> TI).
>> >>> >> >> Error: could not load Mercury Interactive support. Please run
>> the
>> >>> >> setup
>> >>> >> >> again.
>> >>> >> >>       If the problem persists please contact Mercury's Customer
>> >>> >> support.
>> >>> >> >> Error occurred during initialization of VM
>> >>> >> >> -Xrun library failed to init: jvmhook
>> >>> >> >>
>> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> >>> >> >> Files\Tortois
>> >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>> >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>> >> >>
>> >>> >> >>
>> >>> >>
>> >>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >>> >> >> jasmine.jar
>> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer
>> supported.
>> >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>> >>> TI).
>> >>> >> >> Error: could not load Mercury Interactive support. Please run
>> the
>> >>> >> setup
>> >>> >> >> again.
>> >>> >> >>       If the problem persists please contact Mercury's Customer
>> >>> >> support.
>> >>> >> >> Error occurred during initialization of VM
>> >>> >> >> -Xrun library failed to init: jvmhook
>> >>> >> >> errorlevel=1
>> >>> >> >> Press any key to continue . . .
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> please provide your valuable comments on the same, i am kind of
>> >>> urgent
>> >>> >> >> need
>> >>> >> >>
>> >>> >> >> Regards
>> >>> >> >> GP
>> >>> >> >> --
>> >>> >> >> View this message in context:
>> >>> >> >>
>> >>> >>
>> >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>> >>> >> >> 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
>> >>> >> >>
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >> --
>> >>> >> View this message in context:
>> >>> >>
>> >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>> >>> >> 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
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>> >>> 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
>> >>>
>> >>>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
>> 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
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27366764.html
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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
One Last try
edit JMeter.bat to add
SET _JAVA_OPTIONS=
just before the jmeter line.

regards
deepak




On Thu, Jan 28, 2010 at 1:17 AM, gpub <af...@gmail.com> wrote:

>
> hi  Deepak,
> yes launching Jmeter from .bat file only
> As you said i have edited .bat file
>
> echo %JM_START%
> echo %JM_LAUNCH%
> echo %JVM_ARGS%
> echo %ARGS% -jar
> echo %JMETER_BIN%ApacheJMeter.jar%
> echo %JMETER_CMD_LINE_ARGS%
> %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar
> "%JMETER_BIN%ApacheJMeter.jar"
> %JMETER_CMD_LINE_ARGS%
>
> and Jmeter opens with result in cmd prompt as:
>
> ECHO is off.
> java.exe
> ECHO is off.
> -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=8
> -XX:T
> argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
> -XX:MaxLiveObjectEvacuationRati
> o=20 -Dsun.rmi.dgc.client.gcInterval=600000
> -Dsun.rmi.dgc.server.gcInterval=6000
> 00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
> ApacheJMeter.jar
> ECHO is off.
> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> jasmine.jar
> Loading Mercury Interactive QuickTest Professional Java Support (version
> 8.2.115
> 1.0) (SUN 1.5.0_12)
>
> my view reads no info from the variable that are echoed.
> Jmeter's cmd prompt still gives message as in Bold letters
>
> Regards
> GP
>
>
> Deepak Shetty wrote:
> >
> > Just to confirm , you are launching jmeter by itself ...(not through QTP)
> >
> > On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> >> Looks like Im mistaken and it isn't jvm args causing the
> problem.(because
> >> your echo didnt seem to return any values)
> >> The batch file you have to edit is jmeter.bat
> >> Towards the end there should be a line
> >>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
> >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
> >>
> >> Before this line print out each of the above variables and see which one
> >> has the QTP specific parameters . Once you identify that you have to
> >> reset
> >> it (just before the above copied one)
> >>
> >> regards
> >> deepak
> >>
> >>
> >>
> >> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:
> >>
> >>>
> >>> hi
> >>>
> >>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
> >>> below
> >>> 1. edited the .bat file what you wrote below, same parameter has been
> >>> picked
> >>> up by jmeter (which you said is defined for QTP)
> >>>
> >>> Checked the Environment variable
> >>> name: _classload_hook; value=jvmhook
> >>>
> >>> name: _JAVA_OPTIONS
> >>>
> >>>
> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
> >>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
> >>>
> >>>
> >>> 2 typed echo %JVM_ARGS%
> >>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
> >>> %JVM_ARGS%
> >>>
> >>> as you said cannot pass the parameter that QTP has set and edited in as
> >>> JVM_ARGS=(empty) in .bat file
> >>> Can you please elaborate which line,where in and what exact to enter in
> >>> .bat
> >>> file ( exact wording )
> >>>
> >>> uploaded the .bat file as .text, please do the necessary edits
> >>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
> >>>
> >>> Regards
> >>> --
> >>> GP
> >>>
> >>>
> >>> Deepak Shetty wrote:
> >>> >
> >>> > hi
> >>> > I do not know what you are asking me to comment on?
> >>> >
> >>> > JMeter will work with 1.4 and 1.5 without problems. However when you
> >>> are
> >>> > running on 1.5 you cannot pass the parameters that QTP has set (if
> you
> >>> > open
> >>> > any cmd window and type echo %JVM_ARGS% you should see some values
> >>> that
> >>> > QTP
> >>> > has setup). So you need to prevent JMeter  from picking this up , one
> >>> of
> >>> > the
> >>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
> >>> affect
> >>> > QTP because it only applies to the cmd window on which Jmeter is
> >>> running.
> >>> >
> >>> > regards
> >>> > deepak
> >>> >
> >>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com>
> wrote:
> >>> >
> >>> >>
> >>> >> hey Deepak thnx for the reply
> >>> >> Well i some im able to launch Jmeter  reason was with two versions
> of
> >>> >> java
> >>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java
> >>> 1.5
> >>> >> version(as i uninstalled version 1.4) and below message coming up on
> >>> >> command
> >>> >> prompt on QTP installed Machine:
> >>> >>
> >>> >> C:\Program Files\Java\jdk1.5.0_12\bin
> >>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>> >>
> >>> >>
> >>>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >>> >> jasmine.jar
> >>> >> Loading Mercury Interactive QuickTest Professional Java Support
> >>> (version
> >>> >> 8.2.115
> >>> >> 1.0) (SUN 1.5.0_12)
> >>> >>
> >>> >> Now i need more clarity from your side that shall i go ahead with
> >>> this
> >>> >> message coming in command prompt will not affect my jmeter runs or
> >>> need
> >>> >> to
> >>> >> set lines in .BAT file( if yes then which line).
> >>> >>
> >>> >> I am jst curious because on my 2 machine i am running jmeter with
> >>> java
> >>> >> 1.4
> >>> >> version and on other 3 machine(having QTP) i am running with java
> >>> 1.5,
> >>> so
> >>> >> this is reason i want your comment so i can be confident to about
> the
> >>> >> message command prompt and i can go ahead with my runs.
> >>> >>
> >>> >> More over will this message above in command prompt cause me any
> prob
> >>> >> during
> >>> >> incremental load run. Please provide your valuable comments
> >>> >>
> >>> >>
> >>> >> Regards
> >>> >> GP
> >>> >>
> >>> >>
> >>> >> Deepak Shetty wrote:
> >>> >> >
> >>> >> > It looks like your QTP installation has put a value JVM_ARGS in
> >>> your
> >>> >> > environment variables in windows. These options are only valid for
> >>> java
> >>> >> > 1.4
> >>> >> > (and you seem to be running jmeter with atleast java 1.5), and
> >>> shouldnt
> >>> >> > really be there for JMeter.
> >>> >> > Options
> >>> >> > a. Remove the JVM_ARGS variable from the environment, only add it
> >>> when
> >>> >> you
> >>> >> > need it
> >>> >> > OR
> >>> >> > b. modify jmeter.bat and add a line to it near the top saying
> >>> >> > set JVM_ARGS=
> >>> >> > (or whatever options you might want to pass)
> >>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
> >>> >> > regards
> >>> >> > deepak
> >>> >> >
> >>> >> >
> >>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
> >>> wrote:
> >>> >> >
> >>> >> >>
> >>> >> >> hi all,
> >>> >> >>
> >>> >> >> i am facing a prob while launching jmeter.bat file
> >>> >> >>
> >>> >> >> Issue is coming as below
> >>> >> >>
> >>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>> >> >>
> >>> >> >>
> >>> >>
> >>>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >>> >> >> jasmine.jar
> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
> >>> TI).
> >>> >> >> Error: could not load Mercury Interactive support. Please run the
> >>> >> setup
> >>> >> >> again.
> >>> >> >>       If the problem persists please contact Mercury's Customer
> >>> >> support.
> >>> >> >> Error occurred during initialization of VM
> >>> >> >> -Xrun library failed to init: jvmhook
> >>> >> >>
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >>> >> >> Files\Tortois
> >>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>> >> >>
> >>> >> >>
> >>> >>
> >>>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >>> >> >> jasmine.jar
> >>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
> >>> TI).
> >>> >> >> Error: could not load Mercury Interactive support. Please run the
> >>> >> setup
> >>> >> >> again.
> >>> >> >>       If the problem persists please contact Mercury's Customer
> >>> >> support.
> >>> >> >> Error occurred during initialization of VM
> >>> >> >> -Xrun library failed to init: jvmhook
> >>> >> >> errorlevel=1
> >>> >> >> Press any key to continue . . .
> >>> >> >>
> >>> >> >>
> >>> >> >> please provide your valuable comments on the same, i am kind of
> >>> urgent
> >>> >> >> need
> >>> >> >>
> >>> >> >> Regards
> >>> >> >> GP
> >>> >> >> --
> >>> >> >> View this message in context:
> >>> >> >>
> >>> >>
> >>>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >>> >> >> 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
> >>> >> >>
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> >>
> >>> >> --
> >>> >> View this message in context:
> >>> >>
> >>>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> >>> >> 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
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
> >>> 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
> >>>
> >>>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hi  Deepak,
yes launching Jmeter from .bat file only
As you said i have edited .bat file

echo %JM_START%
echo %JM_LAUNCH%
echo %JVM_ARGS%
echo %ARGS% -jar
echo %JMETER_BIN%ApacheJMeter.jar%
echo %JMETER_CMD_LINE_ARGS%
%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar"
%JMETER_CMD_LINE_ARGS%

and Jmeter opens with result in cmd prompt as: 

ECHO is off.
java.exe
ECHO is off.
-Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=8
-XX:T
argetSurvivorRatio=50 -XX:MaxTenuringThreshold=2
-XX:MaxLiveObjectEvacuationRati
o=20 -Dsun.rmi.dgc.client.gcInterval=600000
-Dsun.rmi.dgc.server.gcInterval=6000
00 -XX:PermSize=64m -XX:MaxPermSize=64m  -jar
ApacheJMeter.jar
ECHO is off.
Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
Loading Mercury Interactive QuickTest Professional Java Support (version
8.2.115
1.0) (SUN 1.5.0_12)

my view reads no info from the variable that are echoed.
Jmeter's cmd prompt still gives message as in Bold letters

Regards
GP


Deepak Shetty wrote:
> 
> Just to confirm , you are launching jmeter by itself ...(not through QTP)
> 
> On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com> wrote:
> 
>> Looks like Im mistaken and it isn't jvm args causing the problem.(because
>> your echo didnt seem to return any values)
>> The batch file you have to edit is jmeter.bat
>> Towards the end there should be a line
>>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
>> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>>
>> Before this line print out each of the above variables and see which one
>> has the QTP specific parameters . Once you identify that you have to
>> reset
>> it (just before the above copied one)
>>
>> regards
>> deepak
>>
>>
>>
>> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:
>>
>>>
>>> hi
>>>
>>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point
>>> below
>>> 1. edited the .bat file what you wrote below, same parameter has been
>>> picked
>>> up by jmeter (which you said is defined for QTP)
>>>
>>> Checked the Environment variable
>>> name: _classload_hook; value=jvmhook
>>>
>>> name: _JAVA_OPTIONS
>>>
>>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>>>
>>>
>>> 2 typed echo %JVM_ARGS%
>>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>>> %JVM_ARGS%
>>>
>>> as you said cannot pass the parameter that QTP has set and edited in as
>>> JVM_ARGS=(empty) in .bat file
>>> Can you please elaborate which line,where in and what exact to enter in
>>> .bat
>>> file ( exact wording )
>>>
>>> uploaded the .bat file as .text, please do the necessary edits
>>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>>>
>>> Regards
>>> --
>>> GP
>>>
>>>
>>> Deepak Shetty wrote:
>>> >
>>> > hi
>>> > I do not know what you are asking me to comment on?
>>> >
>>> > JMeter will work with 1.4 and 1.5 without problems. However when you
>>> are
>>> > running on 1.5 you cannot pass the parameters that QTP has set (if you
>>> > open
>>> > any cmd window and type echo %JVM_ARGS% you should see some values
>>> that
>>> > QTP
>>> > has setup). So you need to prevent JMeter  from picking this up , one
>>> of
>>> > the
>>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
>>> affect
>>> > QTP because it only applies to the cmd window on which Jmeter is
>>> running.
>>> >
>>> > regards
>>> > deepak
>>> >
>>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:
>>> >
>>> >>
>>> >> hey Deepak thnx for the reply
>>> >> Well i some im able to launch Jmeter  reason was with two versions of
>>> >> java
>>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java
>>> 1.5
>>> >> version(as i uninstalled version 1.4) and below message coming up on
>>> >> command
>>> >> prompt on QTP installed Machine:
>>> >>
>>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>> >>
>>> >>
>>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>> >> jasmine.jar
>>> >> Loading Mercury Interactive QuickTest Professional Java Support
>>> (version
>>> >> 8.2.115
>>> >> 1.0) (SUN 1.5.0_12)
>>> >>
>>> >> Now i need more clarity from your side that shall i go ahead with
>>> this
>>> >> message coming in command prompt will not affect my jmeter runs or
>>> need
>>> >> to
>>> >> set lines in .BAT file( if yes then which line).
>>> >>
>>> >> I am jst curious because on my 2 machine i am running jmeter with
>>> java
>>> >> 1.4
>>> >> version and on other 3 machine(having QTP) i am running with java
>>> 1.5,
>>> so
>>> >> this is reason i want your comment so i can be confident to about the
>>> >> message command prompt and i can go ahead with my runs.
>>> >>
>>> >> More over will this message above in command prompt cause me any prob
>>> >> during
>>> >> incremental load run. Please provide your valuable comments
>>> >>
>>> >>
>>> >> Regards
>>> >> GP
>>> >>
>>> >>
>>> >> Deepak Shetty wrote:
>>> >> >
>>> >> > It looks like your QTP installation has put a value JVM_ARGS in
>>> your
>>> >> > environment variables in windows. These options are only valid for
>>> java
>>> >> > 1.4
>>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>>> shouldnt
>>> >> > really be there for JMeter.
>>> >> > Options
>>> >> > a. Remove the JVM_ARGS variable from the environment, only add it
>>> when
>>> >> you
>>> >> > need it
>>> >> > OR
>>> >> > b. modify jmeter.bat and add a line to it near the top saying
>>> >> > set JVM_ARGS=
>>> >> > (or whatever options you might want to pass)
>>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>>> >> > regards
>>> >> > deepak
>>> >> >
>>> >> >
>>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>>> wrote:
>>> >> >
>>> >> >>
>>> >> >> hi all,
>>> >> >>
>>> >> >> i am facing a prob while launching jmeter.bat file
>>> >> >>
>>> >> >> Issue is coming as below
>>> >> >>
>>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>> >> >>
>>> >> >>
>>> >>
>>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>> >> >> jasmine.jar
>>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>>> TI).
>>> >> >> Error: could not load Mercury Interactive support. Please run the
>>> >> setup
>>> >> >> again.
>>> >> >>       If the problem persists please contact Mercury's Customer
>>> >> support.
>>> >> >> Error occurred during initialization of VM
>>> >> >> -Xrun library failed to init: jvmhook
>>> >> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>>> >> >> Files\Tortois
>>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>> >> >>
>>> >> >>
>>> >>
>>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>>> >> >> jasmine.jar
>>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>>> >> >> Please use the supported interface: the JVM Tool Interface (JVM
>>> TI).
>>> >> >> Error: could not load Mercury Interactive support. Please run the
>>> >> setup
>>> >> >> again.
>>> >> >>       If the problem persists please contact Mercury's Customer
>>> >> support.
>>> >> >> Error occurred during initialization of VM
>>> >> >> -Xrun library failed to init: jvmhook
>>> >> >> errorlevel=1
>>> >> >> Press any key to continue . . .
>>> >> >>
>>> >> >>
>>> >> >> please provide your valuable comments on the same, i am kind of
>>> urgent
>>> >> >> need
>>> >> >>
>>> >> >> Regards
>>> >> >> GP
>>> >> >> --
>>> >> >> View this message in context:
>>> >> >>
>>> >>
>>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>>> >> >> 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
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>>> >> 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
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>>> 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
>>>
>>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27353069.html
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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
Just to confirm , you are launching jmeter by itself ...(not through QTP)

On Wed, Jan 27, 2010 at 11:21 PM, Deepak Shetty <sh...@gmail.com> wrote:

> Looks like Im mistaken and it isn't jvm args causing the problem.(because
> your echo didnt seem to return any values)
> The batch file you have to edit is jmeter.bat
> Towards the end there should be a line
>  %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
>
> Before this line print out each of the above variables and see which one
> has the QTP specific parameters . Once you identify that you have to reset
> it (just before the above copied one)
>
> regards
> deepak
>
>
>
> On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:
>
>>
>> hi
>>
>> Agreed that jmeter will work with 1.4 and 1.5. And i got your point below
>> 1. edited the .bat file what you wrote below, same parameter has been
>> picked
>> up by jmeter (which you said is defined for QTP)
>>
>> Checked the Environment variable
>> name: _classload_hook; value=jvmhook
>>
>> name: _JAVA_OPTIONS
>>
>> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
>> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>>
>>
>> 2 typed echo %JVM_ARGS%
>> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
>> %JVM_ARGS%
>>
>> as you said cannot pass the parameter that QTP has set and edited in as
>> JVM_ARGS=(empty) in .bat file
>> Can you please elaborate which line,where in and what exact to enter in
>> .bat
>> file ( exact wording )
>>
>> uploaded the .bat file as .text, please do the necessary edits
>> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>>
>> Regards
>> --
>> GP
>>
>>
>> Deepak Shetty wrote:
>> >
>> > hi
>> > I do not know what you are asking me to comment on?
>> >
>> > JMeter will work with 1.4 and 1.5 without problems. However when you are
>> > running on 1.5 you cannot pass the parameters that QTP has set (if you
>> > open
>> > any cmd window and type echo %JVM_ARGS% you should see some values that
>> > QTP
>> > has setup). So you need to prevent JMeter  from picking this up , one of
>> > the
>> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
>> affect
>> > QTP because it only applies to the cmd window on which Jmeter is
>> running.
>> >
>> > regards
>> > deepak
>> >
>> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:
>> >
>> >>
>> >> hey Deepak thnx for the reply
>> >> Well i some im able to launch Jmeter  reason was with two versions of
>> >> java
>> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
>> >> version(as i uninstalled version 1.4) and below message coming up on
>> >> command
>> >> prompt on QTP installed Machine:
>> >>
>> >> C:\Program Files\Java\jdk1.5.0_12\bin
>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> jasmine.jar
>> >> Loading Mercury Interactive QuickTest Professional Java Support
>> (version
>> >> 8.2.115
>> >> 1.0) (SUN 1.5.0_12)
>> >>
>> >> Now i need more clarity from your side that shall i go ahead with this
>> >> message coming in command prompt will not affect my jmeter runs or need
>> >> to
>> >> set lines in .BAT file( if yes then which line).
>> >>
>> >> I am jst curious because on my 2 machine i am running jmeter with java
>> >> 1.4
>> >> version and on other 3 machine(having QTP) i am running with java 1.5,
>> so
>> >> this is reason i want your comment so i can be confident to about the
>> >> message command prompt and i can go ahead with my runs.
>> >>
>> >> More over will this message above in command prompt cause me any prob
>> >> during
>> >> incremental load run. Please provide your valuable comments
>> >>
>> >>
>> >> Regards
>> >> GP
>> >>
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> > It looks like your QTP installation has put a value JVM_ARGS in your
>> >> > environment variables in windows. These options are only valid for
>> java
>> >> > 1.4
>> >> > (and you seem to be running jmeter with atleast java 1.5), and
>> shouldnt
>> >> > really be there for JMeter.
>> >> > Options
>> >> > a. Remove the JVM_ARGS variable from the environment, only add it
>> when
>> >> you
>> >> > need it
>> >> > OR
>> >> > b. modify jmeter.bat and add a line to it near the top saying
>> >> > set JVM_ARGS=
>> >> > (or whatever options you might want to pass)
>> >> > or call jmeter.bat having first reset JVM_ARGS to blank
>> >> > regards
>> >> > deepak
>> >> >
>> >> >
>> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com>
>> wrote:
>> >> >
>> >> >>
>> >> >> hi all,
>> >> >>
>> >> >> i am facing a prob while launching jmeter.bat file
>> >> >>
>> >> >> Issue is coming as below
>> >> >>
>> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >> >>
>> >> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> >> jasmine.jar
>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>> >> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> >> >> Error: could not load Mercury Interactive support. Please run the
>> >> setup
>> >> >> again.
>> >> >>       If the problem persists please contact Mercury's Customer
>> >> support.
>> >> >> Error occurred during initialization of VM
>> >> >> -Xrun library failed to init: jvmhook
>> >> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> >> >> Files\Tortois
>> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
>> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >> >>
>> >> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> >> jasmine.jar
>> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>> >> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> >> >> Error: could not load Mercury Interactive support. Please run the
>> >> setup
>> >> >> again.
>> >> >>       If the problem persists please contact Mercury's Customer
>> >> support.
>> >> >> Error occurred during initialization of VM
>> >> >> -Xrun library failed to init: jvmhook
>> >> >> errorlevel=1
>> >> >> Press any key to continue . . .
>> >> >>
>> >> >>
>> >> >> please provide your valuable comments on the same, i am kind of
>> urgent
>> >> >> need
>> >> >>
>> >> >> Regards
>> >> >> GP
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>> >> >> 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
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>> >> 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
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
>> 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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
Looks like Im mistaken and it isn't jvm args causing the problem.(because
your echo didnt seem to return any values)
The batch file you have to edit is jmeter.bat
Towards the end there should be a line
 %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar
"%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%

Before this line print out each of the above variables and see which one has
the QTP specific parameters . Once you identify that you have to reset it
(just before the above copied one)

regards
deepak


On Wed, Jan 27, 2010 at 11:12 PM, gpub <af...@gmail.com> wrote:

>
> hi
>
> Agreed that jmeter will work with 1.4 and 1.5. And i got your point below
> 1. edited the .bat file what you wrote below, same parameter has been
> picked
> up by jmeter (which you said is defined for QTP)
>
> Checked the Environment variable
> name: _classload_hook; value=jvmhook
>
> name: _JAVA_OPTIONS
> value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
> C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar
>
>
> 2 typed echo %JVM_ARGS%
> C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
> %JVM_ARGS%
>
> as you said cannot pass the parameter that QTP has set and edited in as
> JVM_ARGS=(empty) in .bat file
> Can you please elaborate which line,where in and what exact to enter in
> .bat
> file ( exact wording )
>
> uploaded the .bat file as .text, please do the necessary edits
> http://old.nabble.com/file/p27351900/jmeter.text jmeter.text
>
> Regards
> --
> GP
>
>
> Deepak Shetty wrote:
> >
> > hi
> > I do not know what you are asking me to comment on?
> >
> > JMeter will work with 1.4 and 1.5 without problems. However when you are
> > running on 1.5 you cannot pass the parameters that QTP has set (if you
> > open
> > any cmd window and type echo %JVM_ARGS% you should see some values that
> > QTP
> > has setup). So you need to prevent JMeter  from picking this up , one of
> > the
> > ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not
> affect
> > QTP because it only applies to the cmd window on which Jmeter is running.
> >
> > regards
> > deepak
> >
> > On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:
> >
> >>
> >> hey Deepak thnx for the reply
> >> Well i some im able to launch Jmeter  reason was with two versions of
> >> java
> >> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
> >> version(as i uninstalled version 1.4) and below message coming up on
> >> command
> >> prompt on QTP installed Machine:
> >>
> >> C:\Program Files\Java\jdk1.5.0_12\bin
> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> Loading Mercury Interactive QuickTest Professional Java Support (version
> >> 8.2.115
> >> 1.0) (SUN 1.5.0_12)
> >>
> >> Now i need more clarity from your side that shall i go ahead with this
> >> message coming in command prompt will not affect my jmeter runs or need
> >> to
> >> set lines in .BAT file( if yes then which line).
> >>
> >> I am jst curious because on my 2 machine i am running jmeter with java
> >> 1.4
> >> version and on other 3 machine(having QTP) i am running with java 1.5,
> so
> >> this is reason i want your comment so i can be confident to about the
> >> message command prompt and i can go ahead with my runs.
> >>
> >> More over will this message above in command prompt cause me any prob
> >> during
> >> incremental load run. Please provide your valuable comments
> >>
> >>
> >> Regards
> >> GP
> >>
> >>
> >> Deepak Shetty wrote:
> >> >
> >> > It looks like your QTP installation has put a value JVM_ARGS in your
> >> > environment variables in windows. These options are only valid for
> java
> >> > 1.4
> >> > (and you seem to be running jmeter with atleast java 1.5), and
> shouldnt
> >> > really be there for JMeter.
> >> > Options
> >> > a. Remove the JVM_ARGS variable from the environment, only add it when
> >> you
> >> > need it
> >> > OR
> >> > b. modify jmeter.bat and add a line to it near the top saying
> >> > set JVM_ARGS=
> >> > (or whatever options you might want to pass)
> >> > or call jmeter.bat having first reset JVM_ARGS to blank
> >> > regards
> >> > deepak
> >> >
> >> >
> >> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:
> >> >
> >> >>
> >> >> hi all,
> >> >>
> >> >> i am facing a prob while launching jmeter.bat file
> >> >>
> >> >> Issue is coming as below
> >> >>
> >> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> jasmine.jar
> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> >> Error: could not load Mercury Interactive support. Please run the
> >> setup
> >> >> again.
> >> >>       If the problem persists please contact Mercury's Customer
> >> support.
> >> >> Error occurred during initialization of VM
> >> >> -Xrun library failed to init: jvmhook
> >> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >> >> Files\Tortois
> >> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >> >>
> >> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> >> jasmine.jar
> >> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> >> Error: could not load Mercury Interactive support. Please run the
> >> setup
> >> >> again.
> >> >>       If the problem persists please contact Mercury's Customer
> >> support.
> >> >> Error occurred during initialization of VM
> >> >> -Xrun library failed to init: jvmhook
> >> >> errorlevel=1
> >> >> Press any key to continue . . .
> >> >>
> >> >>
> >> >> please provide your valuable comments on the same, i am kind of
> urgent
> >> >> need
> >> >>
> >> >> Regards
> >> >> GP
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >> >> 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
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hi 

Agreed that jmeter will work with 1.4 and 1.5. And i got your point below
1. edited the .bat file what you wrote below, same parameter has been picked
up by jmeter (which you said is defined for QTP)

Checked the Environment variable
name: _classload_hook; value=jvmhook

name: _JAVA_OPTIONS
value=Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;
C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar


2 typed echo %JVM_ARGS%
C:\Documents and Settings\cc_gubhi>echo %JVM_ARGS%
%JVM_ARGS%

as you said cannot pass the parameter that QTP has set and edited in as 
JVM_ARGS=(empty) in .bat file
Can you please elaborate which line,where in and what exact to enter in .bat
file ( exact wording )

uploaded the .bat file as .text, please do the necessary edits
http://old.nabble.com/file/p27351900/jmeter.text jmeter.text 

Regards
--
GP


Deepak Shetty wrote:
> 
> hi
> I do not know what you are asking me to comment on?
> 
> JMeter will work with 1.4 and 1.5 without problems. However when you are
> running on 1.5 you cannot pass the parameters that QTP has set (if you
> open
> any cmd window and type echo %JVM_ARGS% you should see some values that
> QTP
> has setup). So you need to prevent JMeter  from picking this up , one of
> the
> ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not affect
> QTP because it only applies to the cmd window on which Jmeter is running.
> 
> regards
> deepak
> 
> On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:
> 
>>
>> hey Deepak thnx for the reply
>> Well i some im able to launch Jmeter  reason was with two versions of
>> java
>> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
>> version(as i uninstalled version 1.4) and below message coming up on
>> command
>> prompt on QTP installed Machine:
>>
>> C:\Program Files\Java\jdk1.5.0_12\bin
>> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> jasmine.jar
>> Loading Mercury Interactive QuickTest Professional Java Support (version
>> 8.2.115
>> 1.0) (SUN 1.5.0_12)
>>
>> Now i need more clarity from your side that shall i go ahead with this
>> message coming in command prompt will not affect my jmeter runs or need
>> to
>> set lines in .BAT file( if yes then which line).
>>
>> I am jst curious because on my 2 machine i am running jmeter with java
>> 1.4
>> version and on other 3 machine(having QTP) i am running with java 1.5, so
>> this is reason i want your comment so i can be confident to about the
>> message command prompt and i can go ahead with my runs.
>>
>> More over will this message above in command prompt cause me any prob
>> during
>> incremental load run. Please provide your valuable comments
>>
>>
>> Regards
>> GP
>>
>>
>> Deepak Shetty wrote:
>> >
>> > It looks like your QTP installation has put a value JVM_ARGS in your
>> > environment variables in windows. These options are only valid for java
>> > 1.4
>> > (and you seem to be running jmeter with atleast java 1.5), and shouldnt
>> > really be there for JMeter.
>> > Options
>> > a. Remove the JVM_ARGS variable from the environment, only add it when
>> you
>> > need it
>> > OR
>> > b. modify jmeter.bat and add a line to it near the top saying
>> > set JVM_ARGS=
>> > (or whatever options you might want to pass)
>> > or call jmeter.bat having first reset JVM_ARGS to blank
>> > regards
>> > deepak
>> >
>> >
>> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:
>> >
>> >>
>> >> hi all,
>> >>
>> >> i am facing a prob while launching jmeter.bat file
>> >>
>> >> Issue is coming as below
>> >>
>> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> jasmine.jar
>> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> >> Error: could not load Mercury Interactive support. Please run the
>> setup
>> >> again.
>> >>       If the problem persists please contact Mercury's Customer
>> support.
>> >> Error occurred during initialization of VM
>> >> -Xrun library failed to init: jvmhook
>> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> >> Files\Tortois
>> >> eSVN\bin;C:\Program Files\Windows Imaging\
>> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>> >>
>> >>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> >> jasmine.jar
>> >> ERROR: JVMPI, an experimental interface, is no longer supported.
>> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> >> Error: could not load Mercury Interactive support. Please run the
>> setup
>> >> again.
>> >>       If the problem persists please contact Mercury's Customer
>> support.
>> >> Error occurred during initialization of VM
>> >> -Xrun library failed to init: jvmhook
>> >> errorlevel=1
>> >> Press any key to continue . . .
>> >>
>> >>
>> >> please provide your valuable comments on the same, i am kind of urgent
>> >> need
>> >>
>> >> Regards
>> >> GP
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>> >> 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
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
>> 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
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351900.html
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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
hi
I do not know what you are asking me to comment on?

JMeter will work with 1.4 and 1.5 without problems. However when you are
running on 1.5 you cannot pass the parameters that QTP has set (if you open
any cmd window and type echo %JVM_ARGS% you should see some values that QTP
has setup). So you need to prevent JMeter  from picking this up , one of the
ways is by setting JVM_ARGS=  (empty) in jmeter.bat . This will not affect
QTP because it only applies to the cmd window on which Jmeter is running.

regards
deepak

On Wed, Jan 27, 2010 at 9:34 PM, gpub <af...@gmail.com> wrote:

>
> hey Deepak thnx for the reply
> Well i some im able to launch Jmeter  reason was with two versions of java
> 1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
> version(as i uninstalled version 1.4) and below message coming up on
> command
> prompt on QTP installed Machine:
>
> C:\Program Files\Java\jdk1.5.0_12\bin
> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> jasmine.jar
> Loading Mercury Interactive QuickTest Professional Java Support (version
> 8.2.115
> 1.0) (SUN 1.5.0_12)
>
> Now i need more clarity from your side that shall i go ahead with this
> message coming in command prompt will not affect my jmeter runs or need to
> set lines in .BAT file( if yes then which line).
>
> I am jst curious because on my 2 machine i am running jmeter with java 1.4
> version and on other 3 machine(having QTP) i am running with java 1.5, so
> this is reason i want your comment so i can be confident to about the
> message command prompt and i can go ahead with my runs.
>
> More over will this message above in command prompt cause me any prob
> during
> incremental load run. Please provide your valuable comments
>
>
> Regards
> GP
>
>
> Deepak Shetty wrote:
> >
> > It looks like your QTP installation has put a value JVM_ARGS in your
> > environment variables in windows. These options are only valid for java
> > 1.4
> > (and you seem to be running jmeter with atleast java 1.5), and shouldnt
> > really be there for JMeter.
> > Options
> > a. Remove the JVM_ARGS variable from the environment, only add it when
> you
> > need it
> > OR
> > b. modify jmeter.bat and add a line to it near the top saying
> > set JVM_ARGS=
> > (or whatever options you might want to pass)
> > or call jmeter.bat having first reset JVM_ARGS to blank
> > regards
> > deepak
> >
> >
> > On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:
> >
> >>
> >> hi all,
> >>
> >> i am facing a prob while launching jmeter.bat file
> >>
> >> Issue is coming as below
> >>
> >> picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> Error: could not load Mercury Interactive support. Please run the setup
> >> again.
> >>       If the problem persists please contact Mercury's Customer support.
> >> Error occurred during initialization of VM
> >> -Xrun library failed to init: jvmhook
> >> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> >> Files\Tortois
> >> eSVN\bin;C:\Program Files\Windows Imaging\
> >> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> >> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
> >>
> >>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> >> jasmine.jar
> >> ERROR: JVMPI, an experimental interface, is no longer supported.
> >> Please use the supported interface: the JVM Tool Interface (JVM TI).
> >> Error: could not load Mercury Interactive support. Please run the setup
> >> again.
> >>       If the problem persists please contact Mercury's Customer support.
> >> Error occurred during initialization of VM
> >> -Xrun library failed to init: jvmhook
> >> errorlevel=1
> >> Press any key to continue . . .
> >>
> >>
> >> please provide your valuable comments on the same, i am kind of urgent
> >> need
> >>
> >> Regards
> >> GP
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
> 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: Jmeter launching prob, urgent help needed

Posted by gpub <af...@gmail.com>.
hey Deepak thnx for the reply
Well i some im able to launch Jmeter  reason was with two versions of java
1.4 and 1.5 on a system. And now jmeter is getting lauch with java 1.5
version(as i uninstalled version 1.4) and below message coming up on command
prompt on QTP installed Machine:

C:\Program Files\Java\jdk1.5.0_12\bin
Picked up _JAVA_OPTIONS: -Xrunjvmhook
-Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
jasmine.jar
Loading Mercury Interactive QuickTest Professional Java Support (version
8.2.115
1.0) (SUN 1.5.0_12)

Now i need more clarity from your side that shall i go ahead with this
message coming in command prompt will not affect my jmeter runs or need to
set lines in .BAT file( if yes then which line).

I am jst curious because on my 2 machine i am running jmeter with java 1.4
version and on other 3 machine(having QTP) i am running with java 1.5, so
this is reason i want your comment so i can be confident to about the
message command prompt and i can go ahead with my runs.

More over will this message above in command prompt cause me any prob during
incremental load run. Please provide your valuable comments


Regards
GP


Deepak Shetty wrote:
> 
> It looks like your QTP installation has put a value JVM_ARGS in your
> environment variables in windows. These options are only valid for java
> 1.4
> (and you seem to be running jmeter with atleast java 1.5), and shouldnt
> really be there for JMeter.
> Options
> a. Remove the JVM_ARGS variable from the environment, only add it when you
> need it
> OR
> b. modify jmeter.bat and add a line to it near the top saying
> set JVM_ARGS=
> (or whatever options you might want to pass)
> or call jmeter.bat having first reset JVM_ARGS to blank
> regards
> deepak
> 
> 
> On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:
> 
>>
>> hi all,
>>
>> i am facing a prob while launching jmeter.bat file
>>
>> Issue is coming as below
>>
>> picked up _JAVA_OPTIONS: -Xrunjvmhook
>> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> jasmine.jar
>> ERROR: JVMPI, an experimental interface, is no longer supported.
>> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> Error: could not load Mercury Interactive support. Please run the setup
>> again.
>>       If the problem persists please contact Mercury's Customer support.
>> Error occurred during initialization of VM
>> -Xrun library failed to init: jvmhook
>> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
>> Files\Tortois
>> eSVN\bin;C:\Program Files\Windows Imaging\
>> Picked up _JAVA_OPTIONS: -Xrunjvmhook
>> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>>
>> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
>> jasmine.jar
>> ERROR: JVMPI, an experimental interface, is no longer supported.
>> Please use the supported interface: the JVM Tool Interface (JVM TI).
>> Error: could not load Mercury Interactive support. Please run the setup
>> again.
>>       If the problem persists please contact Mercury's Customer support.
>> Error occurred during initialization of VM
>> -Xrun library failed to init: jvmhook
>> errorlevel=1
>> Press any key to continue . . .
>>
>>
>> please provide your valuable comments on the same, i am kind of urgent
>> need
>>
>> Regards
>> GP
>> --
>> View this message in context:
>> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
>> 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
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27351318.html
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: Jmeter launching prob, urgent help needed

Posted by Deepak Shetty <sh...@gmail.com>.
It looks like your QTP installation has put a value JVM_ARGS in your
environment variables in windows. These options are only valid for java 1.4
(and you seem to be running jmeter with atleast java 1.5), and shouldnt
really be there for JMeter.
Options
a. Remove the JVM_ARGS variable from the environment, only add it when you
need it
OR
b. modify jmeter.bat and add a line to it near the top saying
set JVM_ARGS=
(or whatever options you might want to pass)
or call jmeter.bat having first reset JVM_ARGS to blank
regards
deepak


On Wed, Jan 27, 2010 at 3:56 AM, gpub <af...@gmail.com> wrote:

>
> hi all,
>
> i am facing a prob while launching jmeter.bat file
>
> Issue is coming as below
>
> picked up _JAVA_OPTIONS: -Xrunjvmhook
> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> jasmine.jar
> ERROR: JVMPI, an experimental interface, is no longer supported.
> Please use the supported interface: the JVM Tool Interface (JVM TI).
> Error: could not load Mercury Interactive support. Please run the setup
> again.
>       If the problem persists please contact Mercury's Customer support.
> Error occurred during initialization of VM
> -Xrun library failed to init: jvmhook
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Tortois
> eSVN\bin;C:\Program Files\Windows Imaging\
> Picked up _JAVA_OPTIONS: -Xrunjvmhook
> -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MER
>
> CUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\
> jasmine.jar
> ERROR: JVMPI, an experimental interface, is no longer supported.
> Please use the supported interface: the JVM Tool Interface (JVM TI).
> Error: could not load Mercury Interactive support. Please run the setup
> again.
>       If the problem persists please contact Mercury's Customer support.
> Error occurred during initialization of VM
> -Xrun library failed to init: jvmhook
> errorlevel=1
> Press any key to continue . . .
>
>
> please provide your valuable comments on the same, i am kind of urgent need
>
> Regards
> GP
> --
> View this message in context:
> http://old.nabble.com/Jmeter-launching-prob%2C-urgent-help-needed-tp27337857p27337857.html
> 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
>
>