jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milamber <milam...@apache.org>
Subject Re: Jmeter run on Linux using putty
Date Wed, 04 May 2011 06:09:29 GMT
Hello,

1/ Start Xming

2/ Start Putty, on options (left pane): Connection > SSH > X11, check
Enable X11 forwarding, with X display location: localhost:0

3/ Start your SSH session

4/ On your ssh remote session, put this :
DISPLAY=YOUR_IP_WINDOWS:0.0
export DISPLAY

(replace YOUR_IP by the IP of your windows)


5/ Try to launch Jmeter (jmeter.sh)

Milamber




Le 04/05/2011 05:38, Rajiv Nanduani a ecrit :
> java.version=1.6.0_25
>
> here is the log of jmeter
>
>
> rajiv@MLB_LOADTEST01 bin]$ sh jmeter.sh
>
> An error occurred: Can't connect to X11 window server using 'localhost:10.0'
> as the value of the DISPLAY variable.
>
> [rajiv@MLB_LOADTEST01 bin]$ sh jmeter.sh
>
> An error occurred: Can't connect to X11 window server using 'localhost:10.0'
> as the value of the DISPLAY variable.
>
> [rajiv@MLB_LOADTEST01 bin]$ vi jmeter.log
>
> 2011/02/19 07:08:56 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Loading user properties from:
> /data/apps/jmeter/jakarta-jmeter-2.4/bin/user.properties
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Loading system properties from:
> /data/apps/jmeter/jakarta-jmeter-2.4/bin/system.properties
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Copyright (c) 1998-2010 The
> Apache Software Foundation
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Version 2.4 r961953
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: java.version=1.6.0_25
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
> Server VM
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: os.name=Linux
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: os.arch=i386
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: os.version=2.6.18-186.el5PAE
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: file.encoding=UTF-8
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Default Locale=English (United
> States)
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: JMeter  Locale=English (United
> States)
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter:
> JMeterHome=/data/apps/jmeter/jakarta-jmeter-2.4
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: user.dir
> =/data/apps/jmeter/jakarta-jmeter-2.4/bin
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: PWD
> =/data/apps/jmeter/jakarta-jmeter-2.4/bin
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: IP: 10.6.9.21 Name:
> MLB_LOADTEST01 FullName: MLB_LOADTEST01
>
> 2011/02/19 07:08:56 INFO  - jmeter.JMeter: Loaded icon properties from
> org/apache/jmeter/images/icon.properties
>
> 2011/02/19 07:09:02 FATAL - jmeter.JMeter: An error occurred:
> java.lang.InternalError: Can't connect to X11 window server using
> 'localhost:10.0' as the value of the DISPLAY variable.
>
>         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>
>         at
> sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
>
>         at
> sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>
>         at
> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
>
>         at java.lang.Class.forName0(Native Method)
>
>
>
>
> On Tue, May 3, 2011 at 3:18 PM, sebb <sebbaz@gmail.com> wrote:
>
>   
>> There are lots of providers of JDKs (and lots of versions of JDK 1.6
>> from each provider).
>>
>> What does
>>
>> java -version
>>
>> show?
>>
>> On 3 May 2011 17:26, rajivkumarnandvani <rajivkumarnandvani@gmail.com>
>> wrote:
>>     
>>> http://jmeter.512774.n5.nabble.com/file/n4367681/putty.PNG putty.PNG
>>> I am using JDK 1.6
>>>
>>> -----
>>>
>>> rajivkumarnandvani
>>> --
>>> View this message in context:
>>>       
>> http://jmeter.512774.n5.nabble.com/Jmeter-run-on-Linux-using-putty-tp4364104p4367681.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
>>
>>
>>     
>
>   


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


Mime
View raw message