Unanswered question

Can't start the Load Generator localhost com.neotys.nl.controller.hb ?

2014/10/22 10:59:01 WARN - neoload.Runtime: Can't start the Load Generator localhost com.neotys.nl.controller.hb: Failed to start Load Generator on localhost. The Load Generator process has been created but has not registered after waiting delay (key "lg.start.delay" in agent.properties). : an error occured while communicating with 'localhost'
at com.neotys.nl.controller.tb.a(tb.java:419)
at com.neotys.nl.controller.tc.a(tc.java:367)
at com.neotys.nl.controller.p.d.d.a(d.java:369)
at com.neotys.nl.controller.p.d.d.a(d.java:137)
at com.neotys.nl.controller.p.d.c.call(c.java:118)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Test F.
Test F.

Test F.

Level
0
1 / 100
point

Answers

Make sure there is no firewall or antivirus application enabled.

If you could attached a zip copy of the Neoload logs folder, perhaps there is more info there (Help > open logs folder).

Rajagopal B.
Rajagopal B.

Rajagopal B.

Level
1
346 / 750
points

Is there any fix for this issue?

What logs are needed? Debug level?

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

There's no bug related to that issue. This error only means that the Load generator did not start or took too much time. The root cause can be an anti-virus or a slow machine with not enough RAM.

Open your task manager and start a user validation. You should see a "java.exe" process that is starting. If it's not the case then you may have a firewall that blocks it.

What is your machine setup?

Rajagopal B.
Rajagopal B.

Rajagopal B.

Level
1
346 / 750
points

The java.exe didnt start when we started to check the virtual user.

OS : Windows 7 64 bit
Processor : Intel(R)Core(TM)i5-4310U CPU @2.00GHz 2.60GHz
RAM : 8 GB

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Ok that means that either something is blocking the LG process to start or there's a memory issue when the JVM is starting. Your machine setup seems to indicate that it's not a memory issue.

Could you provide a zip of the NeoLoad logs folder right after reproducing the issue? You can get the logs from the menu "Help-->Open logs folder".

 

Rajagopal B.
Rajagopal B.

Rajagopal B.

Level
1
346 / 750
points

Shared the logs via email to you.

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I reviewed the log files. And the issue might be related to another JAVA tool that is installed on your machine. Do you have any other JAVA programs like Eclipse or others?

Could you open a command prompt, run the "set" command in your NeoLoad machine and provide me the output?

Thanks

Rajagopal B.
Rajagopal B.

Rajagopal B.

Level
1
346 / 750
points

We cant see any other Java applications like Eclipse installed. Have send the "set" command details over a mail to you.

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I can see a CLASSPATH set in your environment. Could you unset it or change the name and then try to run again a user validation?

It can be done in the System Properties like shown in the screen shot in attachment.

 

Rajagopal B.
Rajagopal B.

Rajagopal B.

Level
1
346 / 750
points

After unsetting the classpath, the LoadGenerator starts and we are able to check virtual user.

Thanks!!