Answered question

Why after configuring my Jboss monitor do I have an error where Neoload is trying to connect to 127.0.0.1?

I configured my Jboss monitor and indicated a hostname. But I got an error when I checked the connection status. In the error, I see this address "127.0.0.1" instead of my server IP. Why is Neoload doing that?

Support
Support

Support

Level
0
-10 / 100
points
Team
Support
Support

Support

Level
0
-10 / 100
points
Team

NeoLoad uses JMX (Java Management Extension) to monitor a Jboss server.

After the first connection using the IP address that you have set in the monitor settings, Jboss might send back the loopback address "127.0.0.1".

This address will be then used for the rest of the connection and it will fail since it's not the correct target address. It mostly happens when Jboss is under Linux.

You have to modify the "/etc/hosts" file in the Jboss server in order to have something like that:

 

hostname 127.0.0.1 localhost

 

For more information, see "Jboss" under "Web/EJB Tier" section in NeoLoad documentation.

Did you find this useful ?

No (1)

Yes (0)

0%

0% of users found this answer useful