|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Yes, I'm aware of the JMeter mailing list. Yes, I'm subscribed. Yes,
I've asked there. No, I haven't received any useful responses :-( I'm running JMeter 2.2 on a Windows 2000 Server machine at 192.168.101.6 I have JMeter 2.2 installed on two Linux machines, 192.168.101.16 and 192.168.101.69 None of these machines are running any sort of firewall. JMeter is running on the Linux machines: 14698 ? S 0:00 /bin/sh /root/jakarta-jmeter-2.2/bin/jmeter-server 14702 ? Sl 0:00 /usr/bin/grmiregistry 14704 ? S 0:00 /bin/sh /root/jakarta-jmeter-2.2/bin/jmeter -Dserver_ 14706 ? Sl 0:01 java -server -Xms256m -Xmx256m -XX:NewSize=128m -XX:M On both Linux machines, I can telnet localhost 1099 and connect to JMeter. On the Windows machine, I can telnet to 192.168.101.16 1099 or 192.168.101.69 1099 and get a blank window, which the doc says is an indication of success. However, when I Run, Remote Start All in the JMeter GUI on the Windows system, it tells me "Bad call to remote host" several times. In jmeter.log, I get several instances that say: 2006/07/06 15:11:29 ERROR - jmeter.gui.action.RemoteStart: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect It's always 127.0.0.1, not the remote IP addresses. In jmeter.properties, I have: remote_hosts=192.168.101.16,192.168.101.69 I've tried with and without 127.0.0.1 as well as with and without :1099 at the end of each IP address. jmeter.log says: 2006/07/06 15:11:07 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US 2006/07/06 15:11:07 INFO - jmeter.JMeter: Loading user properties from: user.properties 2006/07/06 15:11:07 INFO - jmeter.JMeter: Loading system properties from: system.properties 2006/07/06 15:11:07 INFO - jmeter.JMeter: Copyright (c) 1998-2006 The Apache Software Foundation 2006/07/06 15:11:07 INFO - jmeter.JMeter: Version 2.2 2006/07/06 15:11:07 INFO - jmeter.JMeter: java.version=1.4.2_06 2006/07/06 15:11:07 INFO - jmeter.JMeter: os.name=Windows 2000 2006/07/06 15:11:07 INFO - jmeter.JMeter: os.arch=x86 2006/07/06 15:11:07 INFO - jmeter.JMeter: os.version=5.0 2006/07/06 15:11:07 INFO - jmeter.JMeter: Default Locale=English (United States) 2006/07/06 15:11:07 INFO - jmeter.JMeter: JMeter Locale=English (United States) 2006/07/06 15:11:07 INFO - jmeter.JMeter: JMeterHome=C:\Program Files\JMeter\jakarta-jmeter-2.2 2006/07/06 15:11:07 INFO - jmeter.JMeter: user.dir=C:\Program Files\JMeter\jakarta-jmeter-2.2\bin 2006/07/06 15:11:07 INFO - jmeter.JMeter: PWD =C:\Program Files\JMeter\jakarta-jmeter-2.2\bin 2006/07/06 15:11:07 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLP arser 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanI nfo: Entered access log sampler bean info 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanI nfo: found parsers: [org.apache.jmeter.protocol.http.util.accesslog.Ord erPreservingLogParser, org.apache.jmeter.protocol.http.util.accesslog.Sha redTCLogParser, org.apache.jmeter.protocol.http.util.accesslog.TCL ogParser] 2006/07/06 15:11:11 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanI nfo: Got to end of access log samper bean info init 2006/07/06 15:11:12 WARN - jmeter.gui.util.MenuFactory: Missing jar? Could not create org.apache.jmeter.visualizers.MailerVisualizer. java.lang.NoClassDefFoundError: javax/mail/MessagingException 2006/07/06 15:11:12 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 2006/07/06 15:11:12 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2006/07/06 15:11:23 INFO - jmeter.gui.action.Load: Loading file: C:\tmp\Aggregate Report.jmx 2006/07/06 15:11:23 INFO - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 2006/07/06 15:11:23 INFO - jmeter.save.SaveService: Using SaveService properties file version 408187 2006/07/06 15:11:23 WARN - jmeter.save.SaveService: Could not set up alias MailerModel java.lang.NoClassDefFoundError: javax/mail/Message 2006/07/06 15:11:24 INFO - jmeter.protocol.http.sampler.HTTPSampler2: Local host = sputnik-one 2006/07/06 15:11:24 INFO - jmeter.protocol.tcp.sampler.TCPSampler: Protocol Handler name=TCPClientImpl 2006/07/06 15:11:24 INFO - jmeter.protocol.tcp.sampler.TCPSampler: Status prefix= 2006/07/06 15:11:24 INFO - jmeter.protocol.tcp.sampler.TCPSampler: Status suffix= 2006/07/06 15:11:24 INFO - jmeter.protocol.tcp.sampler.TCPSampler: Status properties= 2006/07/06 15:11:24 WARN - jmeter.save.SaveService: Could not set up alias JMSSampler java.lang.NoClassDefFoundError: javax/jms/Message 2006/07/06 15:11:24 WARN - jmeter.save.SaveService: Could not set up alias SubscriberSampler java.lang.NoClassDefFoundError: javax/jms/MessageListener 2006/07/06 15:11:24 WARN - jmeter.save.SaveService: Could not set up alias MailerVisualizer java.lang.NoClassDefFoundError: javax/mail/MessagingException 2006/07/06 15:11:24 WARN - jmeter.save.SaveService: Could not set up alias WebServiceSampler java.lang.NoClassDefFoundError: javax/mail/MessagingException 2006/07/06 15:11:24 INFO - jmeter.save.SaveService: Using SaveService properties version 1.8 2006/07/06 15:11:24 INFO - jmeter.save.SaveService: All converter versions present and correct 2006/07/06 15:11:29 ERROR - jmeter.gui.action.RemoteStart: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source) at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Unknown Source) at org.apache.jmeter.engine.ClientJMeterEngine.getEng ine(ClientJMeterEngine.java:51) at org.apache.jmeter.engine.ClientJMeterEngine.<init> (ClientJMeterEngine.java:55) at org.apache.jmeter.gui.action.RemoteStart.doRemoteI nit(RemoteStart.java:169) at org.apache.jmeter.gui.action.RemoteStart.doAction( RemoteStart.java:84) at org.apache.jmeter.gui.action.ActionRouter.performA ction(ActionRouter.java:75) at org.apache.jmeter.gui.action.ActionRouter.access$0 00(ActionRouter.java:43) at org.apache.jmeter.gui.action.ActionRouter$1.run(Ac tionRouter.java:60) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(Unknown Source) ... 20 more 2006/07/06 15:11:33 ERROR - jmeter.gui.action.RemoteStart: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source) at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source) at sun.rmi.server.UnicastRef.newCall(Unknown Source) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Unknown Source) at org.apache.jmeter.engine.ClientJMeterEngine.getEng ine(ClientJMeterEngine.java:51) at org.apache.jmeter.engine.ClientJMeterEngine.<init> (ClientJMeterEngine.java:55) at org.apache.jmeter.gui.action.RemoteStart.doRemoteS tart(RemoteStart.java:149) at org.apache.jmeter.gui.action.RemoteStart.doAction( RemoteStart.java:89) at org.apache.jmeter.gui.action.ActionRouter.performA ction(ActionRouter.java:75) at org.apache.jmeter.gui.action.ActionRouter.access$0 00(ActionRouter.java:43) at org.apache.jmeter.gui.action.ActionRouter$1.run(Ac tionRouter.java:60) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(Unknown Source) ... 20 more 2006/07/06 15:11:34 INFO - jmeter.engine.ClientJMeterEngine: about to run remote test 2006/07/06 15:11:34 INFO - jmeter.engine.ClientJMeterEngine: done initiating run command 2006/07/06 15:11:34 INFO - jmeter.engine.ClientJMeterEngine: running clientengine run method 2006/07/06 15:11:34 INFO - jmeter.engine.ConvertListeners: num threads = 50 2006/07/06 15:11:34 INFO - jmeter.engine.ConvertListeners: num threads = 50 2006/07/06 15:11:34 INFO - jmeter.samplers.StandardSampleSender: Using Standard Remote Sampler for this test run 2006/07/06 15:11:34 INFO - jmeter.samplers.StandardSampleSender: Using Standard Remote Sampler for this test run 2006/07/06 15:11:34 INFO - jmeter.engine.ClientJMeterEngine: sent host =192.168.101.16 2006/07/06 15:11:34 ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException: error marshalling arguments; nested exception is: java.net.SocketException: Connection reset by peer: socket write error at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.apache.jmeter.engine.RemoteJMeterEngineImpl_St ub.configure(Unknown Source) at org.apache.jmeter.engine.ClientJMeterEngine.run(Cl ientJMeterEngine.java:124) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at java.io.ObjectOutputStream$BlockDataOutputStream.d rain(Unknown Source) at java.io.ObjectOutputStream$BlockDataOutputStream.w riteByte(Unknown Source) at java.io.ObjectOutputStream.writeFatalException(Unk nown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at sun.rmi.server.UnicastRef.marshalValue(Unknown Source) ... 4 more 2006/07/06 15:11:36 ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source) at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.apache.jmeter.engine.RemoteJMeterEngineImpl_St ub.reset(Unknown Source) at org.apache.jmeter.engine.ClientJMeterEngine.reset( ClientJMeterEngine.java:95) at org.apache.jmeter.gui.action.RemoteStart.doRemoteS tart(RemoteStart.java:157) at org.apache.jmeter.gui.action.RemoteStart.doAction( RemoteStart.java:89) at org.apache.jmeter.gui.action.ActionRouter.performA ction(ActionRouter.java:75) at org.apache.jmeter.gui.action.ActionRouter.access$0 00(ActionRouter.java:43) at org.apache.jmeter.gui.action.ActionRouter$1.run(Ac tionRouter.java:60) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(Unknown Source) ... 18 more 2006/07/06 15:11:36 INFO - jmeter.engine.ClientJMeterEngine: about to run remote test 2006/07/06 15:11:36 INFO - jmeter.engine.ClientJMeterEngine: done initiating run command 2006/07/06 15:11:36 INFO - jmeter.engine.ClientJMeterEngine: running clientengine run method 2006/07/06 15:11:36 INFO - jmeter.engine.ConvertListeners: num threads = 50 2006/07/06 15:11:36 INFO - jmeter.engine.ConvertListeners: num threads = 50 2006/07/06 15:11:36 INFO - jmeter.samplers.StandardSampleSender: Using Standard Remote Sampler for this test run 2006/07/06 15:11:36 INFO - jmeter.samplers.StandardSampleSender: Using Standard Remote Sampler for this test run 2006/07/06 15:11:37 ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source) at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source) at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.apache.jmeter.engine.RemoteJMeterEngineImpl_St ub.setHost(Unknown Source) at org.apache.jmeter.engine.ClientJMeterEngine.run(Cl ientJMeterEngine.java:122) at java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(Unknown Source) at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(Unknown Source) ... 7 more -- * John Oliver http://www.john-oliver.net/ * |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In article <slrneat605.c1k.joliver@ns.sdsitehosting.net>,
John Oliver <joliver@john-oliver.net> wrote: > Yes, I'm aware of the JMeter mailing list. Yes, I'm subscribed. Yes, > I've asked there. No, I haven't received any useful responses :-( > > I'm running JMeter 2.2 on a Windows 2000 Server machine at 192.168.101.6 > I have JMeter 2.2 installed on two Linux machines, 192.168.101.16 and > 192.168.101.69 None of these machines are running any sort of firewall. I had a similar problem a while ago. I was unable to get the remote mode working at all, so I just gave up and ran JMeter normally on the server (Linux), but over a remote X11 connection, so the window was showing up on my local (OS X) machine. I know nothing about running X11 on Windows, but I'm pretty sure there are ways to do it. -MB |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
In article <slrneat605.c1k.joliver@ns.sdsitehosting.net>,
John Oliver <joliver@john-oliver.net> wrote: > Yes, I'm aware of the JMeter mailing list. Yes, I'm subscribed. Yes, > I've asked there. No, I haven't received any useful responses :-( > > I'm running JMeter 2.2 on a Windows 2000 Server machine at 192.168.101.6 > I have JMeter 2.2 installed on two Linux machines, 192.168.101.16 and > 192.168.101.69 None of these machines are running any sort of firewall. I had a similar problem a while ago. I was unable to get the remote mode working at all, so I just gave up and ran JMeter normally on the server (Linux), but over a remote X11 connection, so the window was showing up on my local (OS X) machine. I know nothing about running X11 on Windows, but I'm pretty sure there are ways to do it. -MB |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Tue, 11 Jul 2006 03:35:43 GMT, Mike Baranczak wrote:
> I had a similar problem a while ago. I was unable to get the remote mode > working at all, so I just gave up and ran JMeter normally on the server > (Linux), but over a remote X11 connection, so the window was showing up > on my local (OS X) machine. I know nothing about running X11 on Windows, > but I'm pretty sure there are ways to do it. Thanks for the response, Mike. My problem is that I need to be able to do distributed testing... if a single machine can generate enough traffic to overwhelm my clustered web server, I'm in big trouble! :-) Anyone have any recommendations for commercial products? -- * John Oliver http://www.john-oliver.net/ * |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Tue, 11 Jul 2006 03:35:43 GMT, Mike Baranczak wrote:
> I had a similar problem a while ago. I was unable to get the remote mode > working at all, so I just gave up and ran JMeter normally on the server > (Linux), but over a remote X11 connection, so the window was showing up > on my local (OS X) machine. I know nothing about running X11 on Windows, > but I'm pretty sure there are ways to do it. Thanks for the response, Mike. My problem is that I need to be able to do distributed testing... if a single machine can generate enough traffic to overwhelm my clustered web server, I'm in big trouble! :-) Anyone have any recommendations for commercial products? -- * John Oliver http://www.john-oliver.net/ * |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Hi John,
Any luck on running it remotely? I tried everything to run it. Need ! regards Ranjeet |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Hi John,
Any luck on running it remotely? I tried everything to run it. Need ! regards Ranjeet |
|
![]() |
| Outils de la discussion | |
|
|