Inside the jmeter.bat file please write the statement as follows:

Set path = java_home/bin
Where java_home is the path to jdk or jre folder
I think it will solve your problem...

With Regards,
Suvendu

-----Original Message-----
From: gpub [mailto:affablepr...@gmail.com]
Sent: Wednesday, May 13, 2009 12:10 PM
To: jmeter-user@jakarta.apache.org
Subject: Re: Jmeter launcing prob


allright!!
the java console error is removed[actually was nt an error  :) ], option
unchecked

Checked version with echo %path%
D:\oracle\ora92\bin; C:\Program Files\Oracle\jre\1.3.1\bin;  C:\Program
Files\Oracle\jre\1.1.8\bin; C:\WINDOWS\system32; C:\WINDOWS;
C:\WINDOWS\System32\Wbem; C:\Program Files\Intel\DMIX

Jmeter is in -->gubhi\Desktop\Jmeter\jakarta-jmeter-2.3\bin

now what path to modify in jmeter.bat and what to comment of below few
details?

Environment variables that can be defined externally:
rem
rem   JMETER_BIN - JMeter bin directory (must end in \)
rem   JM_LAUNCH - java.exe (default) or javaw.exe
rem   JVM_ARGS - additional java options, e.g. -Dprop=val
rem
rem   =====================================================
if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe
--
--
and last string is

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


Regards
-GP



Deepak Shetty wrote:
>
> Oracle Client does put its version of java on the PATH. Open a command
> window and do an echo %PATH% see which version of java is first.
> Alternately
> modify jmeter.bat where it is launching java and comment out the rest and
> just have a  -version to see what version of java is getting picked up.
> Secondly you need to see why you are getting a forbidden response . theres
> no performance impact disabling them, but your test may not be right with
> these disabled.
> The popup you are getting is the java console window for the browser is it
> not? You can goto control panel --> java --> advanced tab --> java console
> and you probably have show console checked or something. Your app is using
> applets and this is just the java console showing what its doing, these
> arent errors
>
> regards
> deepak
>
>
> On Tue, May 12, 2009 at 9:27 PM, gpub <affablepr...@gmail.com> wrote:
>
>>
>> Hi
>>
>> well i am sure about the version, Java web start shows this
>> (Java Web Start 1.4.2_16 Console, started Wed May 13 09:04:12 IST 2009
>> Java 2 Runtime Environment: Version 1.4.2_16 by Sun Microsystems Inc.)
>> Regarding the jmeter lauch i tell you what happened,
>> 1. Installed Sdk
>> 2. Then successsfully launced @ Desktop\Jmeter\jakarta-jmeter-2.3\bin
>> with
>> jmeter.bat file
>> 3. Then i installed the oracle Oracle 9i client, jmeter.bat file gaves
>> error
>> (Exception in thread "main" java.lang.UnsupportedClassVersionError:
>> org/apache/jmeter/NewDriver (Unsupported major.minor version 48.0.. we
>> all
>> knew about this ))
>> 4. Then i unintalled the jre and then installed again.
>> 5. And jmeter sucessfully launched  @
>> Desktop\Jmeter\jakarta-jmeter-2.3\bin
>> with ApacheJMeter.jar but gives the same errror(Exception in thread
>> "main"
>> java.lang.UnsupportedClassVersionError: ) with jmeter.bat file
>> 6. Now  i record my script with http proxy and re-run it after saving the
>> test plan
>> 7. but 2 samplers got failed(permisson prb), i have dissabled them
>> though,
>> now its fine.
>> 8.  But what happened when i record my oracle application(at one stage
>> some
>> popups in my application with orcale FROMS need to be recorded) and there
>> comes the " Java console icon " on the bottom right(where sys date shown)
>> which reads this:
>>
>> Oracle JInitiator: Version 1.3.1.26
>>  Using JRE version 1.3.1.26-internal Java HotSpot(TM) Client VM
>>  User home directory = C:\Documents and Settings\gubhi
>>  Proxy Configuration: Manual Configuration
>>  Proxy: localhost:8080
>>  Proxy Overrides:
>>  JAR cache enabled
>>  Location: C:\Documents and Settings\gubhi.XX\Oracle Jar Cache
>>  Maximum size: 50 MB
>>  Compression level: 0
>>  ---------------------------------------------------
>>  c:   clear console window
>>  f:   finalize objects on finalization queue
>>  g:   garbage collect
>>  h:   display this help message
>>  l:   dump classloader list
>>  m:   print memory usage
>>  q:   hide console
>>  s:   dump system properties
>>  t:   dump thread list
>>  x:   clear classloader cache
>> 0-5: set trace level to <n>
>> ----------------------------------------------------
>> Loading
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndforms.jarfrom
>> JAR cache
>> Loading
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar
>> from JAR cache
>> Loading
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar
>> from
>> JAR cache
>> Loading
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndswing.jarfrom
>> JAR cache
>> Loading
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar
>> from JAR cache
>> Loading
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar
>> from JAR cache
>> Loading
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar
>> from JAR cache
>> Loading
>> http://smcorxxx.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndlist.jarfrom
>> JAR cache
>> connectMode=Socket
>> serverHost=smcoraapp1.XXXXX.com
>> serverPort=9003
>> Forms Applet version is : 60825
>> Loading
>> http://smcoraapp1.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar
>> from JAR cache
>>
>> I just do not know why does this java console comes up and shows these
>> above
>> mentioned errors
>>
>> And my another question is ( the 2 samplers were showing some 403
>> Response
>> )
>> i have disabled them. Will this disabling of 2 Samplers cause any
>> Response
>> time performance(if i would be going to incease no. of threads in future)
>> ?
>>
>> This time i may be clear.
>> hope to get a good response on this
>>
>> Regards
>> -Gp
>> ___
>>
>>
>>
>>
>>
>> Oracle JInitiator: Version 1.3.1.26
>> > Using JRE version 1.3.1.26-internal Java HotSpot(TM) Client VM
>> > User home directory = C:\Documents and Settings\gubhi
>> > Proxy Configuration: Manual Configuration
>> > Proxy: localhost:8080
>> > Proxy Overrides:
>> > JAR cache enabled
>> > Location: C:\Documents and Settings\gubhi\Oracle Jar Cache
>> > Maximum size: 50 MB
>> > Compression level: 0
>> > ---------------------------------------------------
>> > c:   clear console window
>> > f:   finalize objects on finalization queue
>> > g:   garbage collect
>> > h:   display this help message
>> > l:   dump classloader list
>> > m:   print memory usage
>> > q:   hide console
>> > s:   dump system properties
>> > t:   dump thread list
>> > x:   clear classloader cache
>> > 0-5: set trace level to <n>
>> > ----------------------------------------------------
>> > Loading
>> >
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndforms.jarfrom
>> > JAR cache
>> > Loading
>> >
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar
>> > from JAR cache
>> > Loading
>> >
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndewt.jarfrom
>> > JAR cache
>> > Loading
>> >
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndswing.jarfrom
>> > JAR cache
>> > Loading
>> >
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar
>> > from JAR cache
>> > Loading
>> > http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar
>> > from JAR cache
>> > Loading
>> > http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar
>> > from JAR cache
>> > Loading
>> >
>> http://smcorxxx.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndlist.jarfrom
>> > JAR cache
>> > connectMode=Socket
>> > serverHost=smcoraapp1.XXXXX.com
>> > serverPort=9003
>> > Forms Applet version is : 60825
>> > Loading
>> >
>> http://smcoraapp1.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar
>> > from JAR cache
>>
>> Deepak Shetty wrote:
>> >
>> > Hi
>> > perhaps Im missing something , how are you launching Jmeter (whatever
>> you
>> > have sent is showing that you are using jre1.3.1 , you need atleast
>> > version
>> > 1.4)?. The  instructions i have given are if you are running jmeter.bat
>> .
>> >  If you are running this via some IDE , then you'll have to change the
>> IDE
>> > settings or the PATH environment variable
>> >
>> > Goto Control panel -->system --> advanced system settings -->
>> environment
>> > variables (This is for vista)
>> > Then In the System variables find PATH and append the path to your
>> > JDK1.4/bin  at the start (note this changes the path for your entire
>> > system.
>> > you can do this just for your IDE or whatever if you want)
>> > regards
>> > deepak
>> >
>> >
>> > On Mon, May 11, 2009 at 11:32 PM, gpub <affablepr...@gmail.com> wrote:
>> >
>> >>
>> >> hey deepak,
>> >> please let me know where to set this path
>> >>
>> >> as the jmeter is running fine on my system, with the this
>> >> ApacheJMeter.jar
>> >> under bin forlder
>> >> but i need to know that will it cause any problem??
>> >>
>> >> And another thing is that when i ran my scripsts ... the Jintiator
>> runs
>> >> and
>> >> give me these
>> >>
>> >> Oracle JInitiator: Version 1.3.1.26
>> >> Using JRE version 1.3.1.26-internal Java HotSpot(TM) Client VM
>> >> User home directory = C:\Documents and Settings\gubhi
>> >> Proxy Configuration: Manual Configuration
>> >> Proxy: localhost:8080
>> >> Proxy Overrides:
>> >> JAR cache enabled
>> >> Location: C:\Documents and Settings\gubhi\Oracle Jar Cache
>> >> Maximum size: 50 MB
>> >> Compression level: 0
>> >> ---------------------------------------------------
>> >> c:   clear console window
>> >> f:   finalize objects on finalization queue
>> >> g:   garbage collect
>> >> h:   display this help message
>> >> l:   dump classloader list
>> >> m:   print memory usage
>> >> q:   hide console
>> >> s:   dump system properties
>> >> t:   dump thread list
>> >> x:   clear classloader cache
>> >> 0-5: set trace level to <n>
>> >> ----------------------------------------------------
>> >>
>> >> Loading
>> >>
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndforms.jarfrom
>> >> JAR cache
>> >> Loading
>> >>
>> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar
>> >> from JAR cache
>> >> Loading
>> >> http://smcorxxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar
>> >> from
>> >> JAR cache
>> >> Loading
>> >>
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndswing.jarfrom
>> >> JAR cache
>> >> Loading
>> >>
>> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar
>> >> from JAR cache
>> >> Loading
>> >> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar
>> >> from JAR cache
>> >> Loading
>> >> http://smcorxxx.xxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar
>> >> from JAR cache
>> >> Loading
>> >>
>> http://smcorxxx.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndlist.jarfrom
>> >> JAR cache
>> >> connectMode=Socket
>> >> serverHost=smcoraapp1.XXXXX.com
>> >> serverPort=9003
>> >> Forms Applet version is : 60825
>> >> Loading
>> >>
>> http://smcoraapp1.xxxxx.com:8003/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar
>> >> from JAR cache
>> >>
>> >> Any idea ??
>> >>
>> >>
>> >>
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> > Multiple ways
>> >> >
>> >> > In unix
>> >> > export PATH=pathtoyourjava:$PATH
>> >> > In windows
>> >> > set PATH=pathtoyourjava;%PATH%
>> >> > and then launch jmeter from the same window.
>> >> >
>> >> > OR
>> >> > You can also set the JM_LAUNCH enivornment variable to point to your
>> >> java.
>> >> >
>> >> > To diagnose modify jmeter.bat or jmeter (depending on your OS) to
>> print
>> >> > out
>> >> > the version (using -version)
>> >> >
>> >> > regards
>> >> > deepak
>> >> >
>> >> >
>> >> > On Mon, May 11, 2009 at 11:11 PM, gpub <affablepr...@gmail.com>
>> wrote:
>> >> >
>> >> >>
>> >> >> yes
>> >> >>
>> >> >> and how could i be suppose to do it.. --> "Change your path to
>> point
>> >> to
>> >> >> the
>> >> >> correct version of java"
>> >> >> i already have version j2sdk-1_4_2_16 on my sys
>> >> >>
>> >> >>
>> >> >>
>> >> >> Deepak Shetty wrote:
>> >> >> >
>> >> >> > hi
>> >> >> > its not the jar its the version of Java thats in your
>> Path.(should
>> >> be
>> >> >> > atleast java 1.4). Change your path to point to the correct
>> veresion
>> >> of
>> >> >> > java
>> >> >> > regards
>> >> >> > deepak
>> >> >> >
>> >> >> > On Mon, May 11, 2009 at 10:53 PM, gpub <affablepr...@gmail.com>
>> >> wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> Jmeter batch file is showing errors
>> >> >> >> Exception in thread "main"
>> java.lang.UnsupportedClassVersionError:
>> >> >> >> org/apache/jmeter/NewDriver (Unsupported major.minor version
>> 48.0)
>> >> at
>> >> >> >> java.lang.ClassLoader.defineClass0(Native Method)
>> >> >> >>
>> >> >> >> But Jmeter gets launched with ApacheJMeter.jar file under
>> >> >> >> \Jmeter\jakarta-jmeter-2.3\bin folder
>> >> >> >>
>> >> >> >> Does this affect any operation or any prob it will give in
>> future
>> >> ??
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> http://www.nabble.com/Jmeter-launcing-prob-tp23496603p23496603.html
>> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail:
>> jmeter-user-unsubscr...@jakarta.apache.org
>> >> >> >> For additional commands, e-mail:
>> >> jmeter-user-h...@jakarta.apache.org
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://www.nabble.com/Jmeter-launcing-prob-tp23496603p23496741.html
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> >> >> For additional commands, e-mail:
>> jmeter-user-h...@jakarta.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Jmeter-launcing-prob-tp23496603p23496933.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Jmeter-launcing-prob-tp23496603p23515189.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>
>>
>
>

--
View this message in context: 
http://www.nabble.com/Jmeter-launcing-prob-tp23496603p23516268.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

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

Reply via email to