On 12/03/2009, Barath <barathg...@gmail.com> wrote: > > Hi all, > > I fixed the issue and Jmeter is working fine. :jumping: > > Issue is due to /usr/bin (where "java" is available which points to > /usr/lib/jvm/jdk1.4) is in my PATH variable before the jdk1.5/bin, so the > Java 1.4 gets executed. I fixed by renaming the Jdk 1.4 installed in > /usr/lib/jvm. > > Thank you all for your support to solve the issue.:handshake:
Glad it's sorted. This problem is one reason why the jmeter log file records the JVM details ... > > ~Barath > > > > > sebb-2-2 wrote: > > > > On 11/03/2009, Barath <barathg...@gmail.com> wrote: > >> > >> Thomos, its a typo in the message, but i used chmod +x jmeter jmeter.sh > >> only > >> in shell :handshake:. Thank you very much. > >> > >> FYI, > >> java -version > >> gives 1.4.2 version even though $JAVA_HOME variable echos > >> > >> /root/software/jdk1.5.0_17 > >> > >> > >> which java > >> points to /usr/bin/java > >> > >> Is jmeter used $JAVA_HOME variable for finding the java? (if so it > >> should > >> work :rules:) > > > > No, it uses PATH. Same as "java -version" above. > > > >> ~Barath > >> > >> > >> > >> Thomas Johnson-8 wrote: > >> > > >> > Just a nitpick - was that "chmod -x ..." or "chmod +x ..." ? > >> > > >> > On Wed, Mar 11, 2009 at 3:12 PM, Barath <barathg...@gmail.com> wrote: > >> >> > >> >> Thank you Sebb for your quick response, but still i am unable to > >> solve > >> >> the > >> >> issue. > >> >> > >> >> 1. I downloaded .zip and using "unzip" command i unzipped the .zip > >> file. > >> >> 2. Red hat enterprice linux server release 5.2 (Tikanga) > >> >> 3. Tried ./jmeter, it just loads empty jmeter frame. (Before doing > >> this > >> >> i > >> >> just ran chmod -x jmeter jmeter.sh) > >> >> 4. Output of > >> >> a. echo $JAVA_HOME gives /root/software/jdk1.5.0_17 > >> >> b. echo $PATH has /root/software/jdk1.5.0_17/bin > >> >> then why the Jmeter is using different Java version? How to solve > >> this > >> >> issue? > >> >> > >> >> ~Barath > >> >> > >> >> > >> >> sebb-2-2 wrote: > >> >>> > >> >>> On 11/03/2009, Barath <barathg...@gmail.com> wrote: > >> >>>> > >> >>>> Hi, > >> >>>> > >> >>>> I tried to run the Jmeter version - 2.3.2 in my linux system with > >> the > >> >>> > >> >>> Which OS version? > >> >>> > >> >>> Did you download the zip or the tgz archive? > >> >>> > >> >>>> command, > >> >>>> 1 . "jmeter" got "Command not found" error and so i tried > >> >>> > >> >>> Was . on the PATH? Clearly not, given what you write below. > >> >>> > >> >>> Did you try ./jmeter ? > >> >>> > >> >>> Might need to do 'chmod +x jmeter'. > >> >>> > >> >>>> 2 . "sh jmeter.sh" it just opens the jmeter frame without any > >> >>>> menu(attachment http://www.nabble.com/file/p22455101/jmeter.log > >> >>>> jmeter.log > >> >>>> ) > >> >>> > >> >>> Looks like the JVM is not compatible. > >> >>> > >> >>> Try a different Java. > >> >>> > >> >>>> . After few minutes, in command prompt i am getting the following > >> error > >> >>>> in > >> >>>> repeated intervals, > >> >>>> "GC Warning: Repeated allocation of very large block (appr. size > >> >>>> 8048640): > >> >>>> May lead to memory leak and poor performance." > >> >>>> > >> >>>> I then added "." in PATH and tried to run "jmeter" command now i > >> am > >> >>>> getting > >> >>>> error 2 (mentioned above) > >> >>> > >> >>> That's not a JMeter issue ... > >> >>> > >> >>>> Since the jmeter.log shows some GUI error, i tried to run jmeter > >> in > >> >>>> non > >> >>>> GUI > >> >>>> mode. > >> >>>> 3. Command - "jmeter -n -t /root/software/jmeterresponse/test.jmx > >> -l > >> >>>> /root/software/jmeterresponse/result.txt" now i am getting > >> "permission > >> >>>> denied" error message but i logged in as ROOT. > >> >>>> 4. Command - "sh jmeter.sh -n -t > >> >>>> /root/software/jmeterresponse/test.jmx > >> >>>> -l > >> >>>> /root/software/jmeterresponse/result.txt" now i am getting Error > >> in > >> >>>> NonGUIDriver java.lang.NullPointerException > >> >>>> > >> >>>> Note : > >> >>>> Jboss server is running the linux machine where i tried to run > >> jmeter. > >> >>>> JAVA_HOME is also set to jdk 1.5. > >> >>> > >> >>> However JMeter is running Java 1.4 - have a look at the log file. > >> >>> > >> >>>> Output of "ls -l" command in the jmeter/bin shows > >> >>>> "-rw-r--r-- l root root 3976 Jun 10 2008 jmeter" and so on for > >> other > >> >>>> files. > >> >>> > >> >>> In that case you need "chmod +x jmeter jmeter.sh" > >> >>> > >> >>>> Please help me to starting the jmeter in GUI or non GUI mode. > >> >>>> > >> >>>> ~Barath > >> >>>> > >> >>>> -- > >> >>>> View this message in context: > >> >>>> > >> > http://www.nabble.com/Jmeter-2.3.2-not-working-in-Linux-tp22455101p22455101.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 > >> >>>> > >> >>>> > >> >>> > >> >>> > >> --------------------------------------------------------------------- > >> >>> 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-2.3.2-not-working-in-Linux-tp22455101p22455968.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 > >> >> > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > 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-2.3.2-not-working-in-Linux-tp22455101p22456399.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 > >> > >> > > > > --------------------------------------------------------------------- > > 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-2.3.2-not-working-in-Linux-tp22455101p22470943.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org