-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Linux 64bit
Java 1.6.0_17
Post update to 1.360 the SSH slave initiator now requires a space to be the first character when setting JVM Options in the slave configuration. An example of the issue is in the following log entry:
[06/01/10 12:13:43] [SSH] Starting slave process: cd '/opt/hudson' && java-server -Xms1024M -Xmx2048M -XX:MaxPermSize=128M -XX:-UseGCOverheadLimit -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar slave.jar
./slave-lnx64-hs2.log:bash: java-server: command not found
As you can see, '-server' was simply appended to the 'java' command in the slave.jar launch string causing the launch to fail.
Hudson versions prior to 1.360 did not require a space in the JVM Options configuration to function properly.
Workaround: Add a space as the first character in the JVM Options box of the slave configuration when defining JVM options.
- duplicates
-
JENKINS-4856 ssh slaves can't find java
- Closed