jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Brown" <da...@davidwbrown.name>
Subject Re: telnet to slave @ 1099 OK but Connection refused from jmeter-server
Date Sat, 02 Feb 2008 03:37:47 GMT
Hello Sebb, I have sent the logs to your off-list address. Thanks for the efforts, David.

sebb wrote ..
> Ah, it was not clear to me that the test started OK, but failed during
> the run - it seems when one of the Listeners tries to return a result.
> 
> I'll need the full logs for both client and server, but please don't
> post them to the list.
> 
> S///
> On 01/02/2008, David Brown <david@davidwbrown.name> wrote:
> > Hello Sebb, thanks for the speedy reply. Please find included below the logs
> your requested. I ran a grep on all (dot).log files using the arg: jmeter.engine:
> >
> > ************************************************
> > Slave (Server) node logs
> > ************************************************
> >
> > jmeter-server.log:2008/02/01 12:27:49 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> Starting backing engine on 1099
> > jmeter-server.log:2008/02/01 12:27:49 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> Creating RMI registry (server.rmi.create=true)
> > jmeter-server.log:2008/02/01 12:27:49 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> Creating JMeter engine on host dumbledore
> > jmeter-server.log:2008/02/01 12:27:49 INFO  - jmeter.engine.StandardJMeterEngine:
> Listeners will be started after enabling running version
> > jmeter-server.log:2008/02/01 12:27:49 INFO  - jmeter.engine.StandardJMeterEngine:
> To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
> > jmeter-server.log:2008/02/01 12:27:51 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> Bound to registry on port 1099
> > jmeter-server.log:2008/02/01 12:27:51 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> Reset
> > jmeter-server.log:2008/02/01 12:27:51 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> received host: 192.168.1.2
> > jmeter-server.log:2008/02/01 12:28:01 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> received test tree
> > jmeter-server.log:2008/02/01 12:28:01 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
> running test
> > jmeter-server.log:2008/02/01 12:28:01 INFO  - jmeter.engine.StandardJMeterEngine:
> Running the test!
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233)
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364)
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:233)
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:364)
> > jmeter-server.log:2008/02/01 12:28:12 INFO  - jmeter.engine.StandardJMeterEngine:
> Starting 1 threads for group Thread Group JPetstore. Ramp up = 1.
> > jmeter-server.log:2008/02/01 12:28:12 INFO  - jmeter.engine.StandardJMeterEngine:
> Continue on error
> > jmeter-server.log:2008/02/01 12:28:31 INFO  - jmeter.engine.StandardJMeterEngine:
> Ending thread Thread Group JPetstore 1-1
> > jmeter-server.log:2008/02/01 12:28:31 INFO  - jmeter.engine.StandardJMeterEngine:
> Stopping test
> > jmeter-server.log:2008/02/01 12:28:31 INFO  - jmeter.engine.StandardJMeterEngine:
> Notifying test listeners of end of test
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:248)
> > jmeter-server.log:      at org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:321)
> > jmeter-server.log:2008/02/01 12:28:31 INFO  - jmeter.engine.StandardJMeterEngine:
> Test has ended
> >
> > *************************************************************
> > Master (client) node logs
> > *************************************************************
> >
> > 2008/02/01 18:24:27 INFO  - jmeter.JMeter: LogLevel: jmeter.engine=DEBUG
> > 2008/02/01 18:25:41 INFO  - jmeter.engine.ClientJMeterEngine: about to run remote
> test
> > 2008/02/01 18:25:41 INFO  - jmeter.engine.ClientJMeterEngine: done initiating
> run command
> > 2008/02/01 18:25:41 INFO  - jmeter.engine.ClientJMeterEngine: running clientengine
> run method
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> false
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace false
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.ObjectProperty:
> org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.visualizers.SimpleDataWriter
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.reporters.ResultCollector
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Simple Data Writer
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Simple Data Writer
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> true
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace true
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Distributed Test JPetstore
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Distributed Test JPetstore
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:25:41 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:25:41 INFO  - jmeter.engine.ConvertListeners: num threads = 1
> > 2008/02/01 18:25:41 INFO  - jmeter.engine.ClientJMeterEngine: sent host =192.168.1.2
> > 2008/02/01 18:25:49 INFO  - jmeter.engine.ClientJMeterEngine: sent test
> > 2008/02/01 18:25:50 INFO  - jmeter.engine.ClientJMeterEngine: sent run command
> > 2008/02/01 18:28:34 INFO  - jmeter.engine.ClientJMeterEngine: about to run remote
> test
> > 2008/02/01 18:28:34 INFO  - jmeter.engine.ClientJMeterEngine: done initiating
> run command
> > 2008/02/01 18:28:34 INFO  - jmeter.engine.ClientJMeterEngine: running clientengine
> run method
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> false
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace false
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.ObjectProperty:
> org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.visualizers.SimpleDataWriter
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.reporters.ResultCollector
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Simple Data Writer
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Simple Data Writer
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> true
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace true
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Distributed Test JPetstore
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Distributed Test JPetstore
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:28:34 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:28:34 INFO  - jmeter.engine.ConvertListeners: num threads = 1
> > 2008/02/01 18:28:34 INFO  - jmeter.engine.ClientJMeterEngine: sent host =192.168.1.2
> > 2008/02/01 18:28:36 INFO  - jmeter.engine.ClientJMeterEngine: sent test
> > 2008/02/01 18:28:36 INFO  - jmeter.engine.ClientJMeterEngine: sent run command
> > 2008/02/01 18:32:24 INFO  - jmeter.engine.ClientJMeterEngine: about to run remote
> test
> > 2008/02/01 18:32:24 INFO  - jmeter.engine.ClientJMeterEngine: done initiating
> run command
> > 2008/02/01 18:32:24 INFO  - jmeter.engine.ClientJMeterEngine: running clientengine
> run method
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> false
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace false
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.ObjectProperty:
> org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace org.apache.jmeter.samplers.SampleSaveConfiguration@f94d0c71
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.visualizers.SimpleDataWriter
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> org.apache.jmeter.reporters.ResultCollector
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Simple Data Writer
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Simple Data Writer
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.BooleanProperty:
> true
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace true
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> Distributed Test JPetstore
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> Distributed Test JPetstore
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: About to replace
> in property of type: class org.apache.jmeter.testelement.property.StringProperty:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:32:24 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> /home/david/projects/chevron/tc_assessment/test/test_plans/jboss/jpetstore_results_dist.jtl
> > 2008/02/01 18:32:24 INFO  - jmeter.engine.ConvertListeners: num threads = 1
> > 2008/02/01 18:32:24 INFO  - jmeter.engine.ClientJMeterEngine: sent host =192.168.1.2
> > 2008/02/01 18:32:34 INFO  - jmeter.engine.ClientJMeterEngine: sent test
> > 2008/02/01 18:32:34 INFO  - jmeter.engine.ClientJMeterEngine: sent run command
> >
> > N.B. - the client machine logs time-date stamp is wrong
> >
> > sebb wrote ..
> > > There are some log entries missing.
> > >
> > > What are all the messages containing the string "jmeter.engine." from
> > > the server and client logs please?
> > >
> > >
> > >
> > > On 01/02/2008, David Brown <david@davidwbrown.name> wrote:
> > > > Hello Sebb, thanks for the speedy reply. Your right I do not see a page
(bad
> > > choice of terms). But, I do see a very reasonable return for the telnet session
> > > connection to the slave:
> > > >
> > > > david@worktop:~$ telnet 192.168.1.2 1099
> > > > Trying 192.168.1.2...
> > > > Connected to 192.168.1.2.
> > > > Escape character is '^]'.
> > > >
> > > > I do the same thing when trying to <ping> an email server (SMTPd).
I feel
> reasonably
> > > comfortable that I have no firewall or network issues. The 127.0.0.1 loopback
> is
> > > what the jmeter-server is looking for and even though I have introduced the
> JMETER_CMD_LINE_ARG
> > > as shown below I still get <Connection refused>.
> > > >
> > > > I have defined the HOST variable and placed it in jmeter-server.sh:
> > > >
> > > > HOST="-Djava.rmi.server.hostname=192.168.1.2"
> > > > java $SERVER $JVM_ARGS -jar `dirname $0`/ApacheJMeter.jar $HOST -s "$@"
> > > >
> > > > The jmeter-server.log on the slave clearly shows the non-loopback host
IP
> address
> > > was accepted and set the RMI hostname property accordingly. But, once the test
> > > starts it reverts back to the loopback address namely: 127.0.0.1
> > > >
> > > > Logs:
> > > >
> > > > INFO jmeter.samplers.RemoteListenerWrapper: Test Started on 192.168.1.2
> > > > ERROR jmeter.samplers.RemoteLintenerWrapper: testStarted(host) java.rmi.ConnectException:
> > > connection refused to host: 127.0.0.1
> > > >
> > > > My question is how does the loopback creep back into the process since
JMeter
> > > has been configured to use another IP? Do I need to disable the loopback altogether
> > > at interface: lo?
> > > >
> > > > What more information or diagnostic may I perform to gather better informational
> > > help?
> > > >
> > > > Tests and monitoring pending: please advise, David.
> > > >
> > > >
> > > > sebb wrote ..
> > > > > You should not see a page when telnetting to the RMI server on 1099
> > > > >
> > > > > On 01/02/2008, David Brown <david@davidwbrown.name> wrote:
> > > > > > Hello JMeter gurus, Peter Lin et. al. and users, I have previously
posted
> > > a similar
> > > > > problem and it was ignored probably for good reason. I am able to
telnet
> <slave-host>
> > > > > 1099 and I get the expected page as if I were connecting to an email
server
> > > @ port
> > > > > 25. The connection is of course the RMI listener running for the
JMeter
> slave
> > > @
> > > > > port 1099. However, when I run the Test Plan all I get is Connection
refused.
> > > I
> > > > > applied the Sergey Ten tips (from the JMeter remote test doco) in
the jmeter
> > > shell
> > > > > script but it affords no change. Googling for this problem returns
very
> few
> > > useful
> > > > > tips. Any and all suggestions, advice, rants or raves welcomed. Please
> advise,
> > > > > David.
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > 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
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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

---------------------------------------------------------------------
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