<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hello Test World &#187; JMeter</title>
	<atom:link href="http://hellotestworld.com/tag/jmeter/feed/" rel="self" type="application/rss+xml" />
	<link>http://hellotestworld.com</link>
	<description>Aaron, Brian, Oliver and Richard on the art of testing</description>
	<lastBuildDate>Thu, 17 May 2012 02:40:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hellotestworld.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/ec475e13be14ded5bfc63be87053a50a?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hello Test World &#187; JMeter</title>
		<link>http://hellotestworld.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hellotestworld.com/osd.xml" title="Hello Test World" />
	<atom:link rel='hub' href='http://hellotestworld.com/?pushpress=hub'/>
		<item>
		<title>JMeter issue running in Remote Mode on Ubuntu</title>
		<link>http://hellotestworld.com/2012/02/16/jmeter-issue-running-in-remote-mode-on-ubuntu/</link>
		<comments>http://hellotestworld.com/2012/02/16/jmeter-issue-running-in-remote-mode-on-ubuntu/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 03:12:34 +0000</pubDate>
		<dc:creator>oliver_nz</dc:creator>
				<category><![CDATA[Performance Testing]]></category>
		<category><![CDATA[JMeter]]></category>
		<category><![CDATA[Oliver]]></category>
		<category><![CDATA[performance testing]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://hellotestworld.com/?p=240</guid>
		<description><![CDATA[I do a lot of performance testing with JMeter and every now and again you get thrown a curve ball. I was trying set up a remote performance testing cluster and when invoking the servers with JMeter RMI calls the tests were executing but the valuable results were not coming back to the client. Looking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellotestworld.com&#038;blog=16007215&#038;post=240&#038;subd=hellotestworld&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I do a lot of performance testing with <a href="http://jmeter.apache.org">JMeter </a>and every now and again you get thrown a curve ball. I was trying set up a remote performance testing cluster and when invoking the servers with JMeter <a href="http://en.wikipedia.org/wiki/Java_remote_method_invocation">RMI</a> calls the tests were executing but the valuable results were not coming back to the client. Looking at the log&#8230;</p>
<p><span id="more-240"></span></p>
<p>&#8230;(jmeter-server.log on server machine) I could see that the connection back failed. I must add, that I am using Ubuntu in a headless mode to do these things and it looks like a Linux/Debian only issue.</p>
<p>The log output was:</p>
<pre style="padding-left:30px;">ERROR - jmeter.JMeter: Uncaught exception: org.apache.jorphan.util.JMeterError: Could not return sample
 at org.apache.jmeter.samplers.AsynchSampleSender$Worker.run(AsynchSampleSender.java:148)
Caused by: java.rmi.ConnectException: Connection refused to host: <strong>127.0.1.1</strong>; nested exception is:
 java.net.ConnectException: Connection refused</pre>
<p>After searching the web for quite a bit there was little to go on. Eventually I figured out that the issue is actually on the client side and not the server-side as you would anticipate by the error log. Google didn&#8217;t quite help as much as I would have liked it to so I thought I&#8217;d just do a blog post o that others can find a clearer answer.</p>
<p>The solution is to go into the /etc/hosts file and find the entry that looks something like</p>
<pre style="padding-left:30px;">127.0.1.1     &lt;server-name1&gt; &lt;server-name2&gt;</pre>
<p>Comment this line out with a # or delete it completely.</p>
<p>Please note though that I don&#8217;t know if this has any other implications. The line was added to deal with issues in Debian when using Gnome.</p>
<p>I hope this helps someone else that runs into the same issue and sorry to the non technical people out there for this post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hellotestworld.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hellotestworld.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hellotestworld.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellotestworld.com&#038;blog=16007215&#038;post=240&#038;subd=hellotestworld&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hellotestworld.com/2012/02/16/jmeter-issue-running-in-remote-mode-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65af5848f7066cbc3944eb0e779c2259?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">erlewein</media:title>
		</media:content>
	</item>
	</channel>
</rss>
