jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: why hostname is localhost?
Date Wed, 11 Sep 2013 10:08:35 GMT
On 11 September 2013 10:54, cihat g├╝zel <c.guzel.src@gmail.com> wrote:
> hi all.
>
> I try jmeter-server on linux (fedora18). It says "Created remote
> object:*localhost
> *:44750" . But the hostname should not be  "localhost" . It should be
> hostname as like "10.6.149.95".
>
> So my jmeter master is failed, if I try the following command at another
> server :
>
> ./jmeter -n -t  myRequest.jmx -R 10.6.149.95
> or
> ./jmeter -n -t  myRequest.jmx -r
>
> The failed logs :
>
> Created the tree successfully using /root/myRequest.jmx
> Configuring remote engine for *10.6.149.95*
> Using remote object: *127.0.0.1*:44750 *(null)*
> Starting remote engines
> Starting the test @ Wed Sep 11 14:01:48 TRST 2013 (1378897308614)
> *An error occurred*: method java.util.ResourceBundle.containsKey with
> signature (Ljava.lang.String;)Z was not found.

That error suggests you are not using a standard JVM, or there is a
classpath error as that is a standard method.
Fixing that might possibly fix the host error.

>
> My /etc/hosts file:
>
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 10.6.149.95 host-10-6-149-95

There are hosts files on the client and server nodes.
Ensure you check both.

>  Why the hostname is 127.0.0.1? How to solve this problem?
>
> Thanks.

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


Mime
View raw message