When I click "Start Checking" for validating a virtual user, Neoload fails to launch the load generating agent...
I get the below error in the logs...
2015/03/04 13:46:19 ERROR - neoload.Gui: Unable to start 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)
Update - Previously on the console it gave an error saying a particular libjava.dylib file was not found. I have now copied the entire jre folder under the /Neoload/jre folder in my MAC.
The previous error has gone away and I get a new error saying
[LoadGenerator]
The stack size specified is too small, Specify at least 160k
NOTE - This specific errors are not showing up in the log files, but only on the command line [which is behind the Neoload GUI]
Further more I have changed and added a setting -Xss1m to my loadgeneratingagent.vmoptions and ran Neoload agagin.
However, I still get the same issue that the stack size is too small.
The stack size that you have configured is too high and plus i'm not sure that you modified the right file.
You need to modify the <install_dir>\conf\agent.properties file and change the stack size of that parameter: lg.launcher.vm.parameters
For example:
lg.launcher.vm.parameters=-server -Djavax.net.debug=ssl -Djsse.enableSNIExtension=false -XX:MaxRAMFraction=4 -Xss256k -Xbootclasspath/p:lib/npn-boot-1.1.7.v20140316.jar
That settings should be enough.
Restart your NeoLoad and try again.
Let me know.