jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajivkumarnandv...@gmail.com
Subject Re: Re: Jmeter run on Linux using putty
Date Wed, 04 May 2011 07:01:55 GMT
Hi milamber thanks for the reply

I tried this but still getting the error. it seems that request from remote  
server is coming to Windows Xming but it is denying refer the log of Xming

Xming log details

DetectUnicodeSupport - Windows XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened  
the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the  
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the  
display.
AUDIT: Wed May 04 02:57:01 2011: 1960 C:\Program Files\Xming\Xming.exe:  
client 4 rejected from IP 10.6.9.21

SSH window log details:

[rajiv@MLB_LOADTEST01 ~]$ cd /data/apps/jmeter/jakarta-jmeter-2.4//bin
[rajiv@MLB_LOADTEST01 bin]$ echo $DISPLAY
10.193.68.125:0.0
[rajiv@MLB_LOADTEST01 bin]$ sh jmeter.sh
Xlib: connection to "10.193.68.125:0.0" refused by server
Xlib: No protocol specified

An error occurred: Can't connect to X11 window server  
using '10.193.68.125:0.0' as the value of the DISPLAY variable.


Jmeter Log details:

[rajiv@MLB_LOADTEST01 bin]$ tail -100 jmeter.log
2011/02/20 01:35:57 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
2011/02/20 01:35:57 INFO - jmeter.JMeter: Loading user properties from:  
/data/apps/jmeter/jakarta-jmeter-2.4/bin/user.properties
2011/02/20 01:35:57 INFO - jmeter.JMeter: Loading system properties from:  
/data/apps/jmeter/jakarta-jmeter-2.4/bin/system.properties
2011/02/20 01:35:57 INFO - jmeter.JMeter: Copyright (c) 1998-2010 The  
Apache Software Foundation
2011/02/20 01:35:57 INFO - jmeter.JMeter: Version 2.4 r961953
2011/02/20 01:35:57 INFO - jmeter.JMeter: java.version=1.6.0_25
2011/02/20 01:35:57 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM)  
Server VM
2011/02/20 01:35:57 INFO - jmeter.JMeter: os.name=Linux
2011/02/20 01:35:57 INFO - jmeter.JMeter: os.arch=i386
2011/02/20 01:35:57 INFO - jmeter.JMeter: os.version=2.6.18-186.el5PAE
2011/02/20 01:35:57 INFO - jmeter.JMeter: file.encoding=UTF-8
2011/02/20 01:35:57 INFO - jmeter.JMeter: Default Locale=English (United  
States)
2011/02/20 01:35:57 INFO - jmeter.JMeter: JMeter Locale=English (United  
States)
2011/02/20 01:35:57 INFO - jmeter.JMeter:  
JMeterHome=/data/apps/jmeter/jakarta-jmeter-2.4
2011/02/20 01:35:57 INFO - jmeter.JMeter: user.dir  
=/data/apps/jmeter/jakarta-jmeter-2.4/bin
2011/02/20 01:35:57 INFO - jmeter.JMeter: PWD  
=/data/apps/jmeter/jakarta-jmeter-2.4/bin
2011/02/20 01:35:57 INFO - jmeter.JMeter: IP: 10.6.9.21 Name:  
MLB_LOADTEST01 FullName: MLB_LOADTEST01
2011/02/20 01:35:57 INFO - jmeter.JMeter: Loaded icon properties from  
org/apache/jmeter/images/icon.properties
2011/02/20 01:35:58 FATAL - jmeter.JMeter: An error occurred:  
java.lang.InternalError: Can't connect to X11 window server  
using '10.193.68.125:0.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)
at java.lang.Class.forName(Class.java:169)
at  
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:834)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
at javax.swing.ImageIcon.<init>(ImageIcon.java:148)
at javax.swing.ImageIcon.<init>(ImageIcon.java:167)
at  
org.apache.jmeter.plugin.PluginManager.installPlugin(PluginManager.java:61)
at org.apache.jmeter.plugin.PluginManager.install(PluginManager.java:47)
at org.apache.jmeter.JMeter.startGui(JMeter.java:217)
at org.apache.jmeter.JMeter.start(JMeter.java:343)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.jmeter.NewDriver.main(NewDriver.java:207)


On , Milamber <milamber@apache.org> wrote:
> 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.(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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message