[JIRA] Created: (HUDSON-6680) SSH Slave configuration "JVM Options" requires space in front of first JVM option post 1.360 update

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6680) SSH Slave configuration "JVM Options" requires space in front of first JVM option post 1.360 update

Hudson issues mailing list
SSH Slave configuration "JVM Options" requires space in front of first JVM option post 1.360 update
---------------------------------------------------------------------------------------------------

                 Key: HUDSON-6680
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6680
             Project: Hudson
          Issue Type: Bug
          Components: ssh-slaves
    Affects Versions: current
         Environment: Linux 64bit
Java 1.6.0_17
            Reporter: dru_n
            Assignee: kohsuke
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-6680) SSH Slave configuration "JVM Options" requires space in front of first JVM option post 1.360 update

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mindless resolved HUDSON-6680.
------------------------------

      Assignee: mindless  (was: kohsuke)
    Resolution: Duplicate

> SSH Slave configuration "JVM Options" requires space in front of first JVM option post 1.360 update
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HUDSON-6680
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6680
>             Project: Hudson
>          Issue Type: Bug
>          Components: ssh-slaves
>    Affects Versions: current
>         Environment: Linux 64bit
> Java 1.6.0_17
>            Reporter: dru_n
>            Assignee: mindless
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]