Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2293

ssh slave doesn't detect correctly java installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ssh-slaves-plugin
    • None
    • Platform: All, OS: All

      Hi everyone,

      I'm using hudson on a linux machine (tethys) without any problem. I want to
      distribute a build to another linux machine (calypso) with the same
      configuration (in fact, copy/paste of the VM in a vmware server).

      But When I want to start the slave (calypso) with the ssh configuration, I've
      this log :

      [08/29/08 15:04:20] [SSH] Opening SSH connection to calypso:22.
      [08/29/08 15:04:20] [SSH] Authenticating as administrateur/******.
      [08/29/08 15:04:20] [SSH] Authentication successful.
      [08/29/08 15:04:20] [SSH] Checking default java version...
      java.io.IOException: The default version of java is either unsupported version
      or unknown
      at hudson.plugins.sshslaves.SSHLauncher.findJava(SSHLauncher.java:275)
      at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:107)
      at hudson.slaves.SlaveComputer$1.run(SlaveComputer.java:113)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      [08/29/08 15:04:20] [SSH] Connection closed.

      Both machines contains same version of java
      [ludovic@calypso ~]$ su administrateur
      Mot de passe : [administrateur@calypso ludovic]$ [administrateur@calypso
      ludovic]$ [administrateur@calypso ludovic]$ java -version
      java version "1.6.0_07"
      Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
      [administrateur@calypso ludovic]$
      [ludovic@tethys ~]$ su administrateur
      Mot de passe : ja[administrateur@tethys ludovic]$ java -version
      java version "1.6.0_07"
      Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
      [administrateur@tethys ludovic]$

      Could you explain me what's wrong ??

      Ludovic


      Ludovic SMADJA
      Systar SA - R&D
      http://www.systar.fr
      171, bureaux de la Colline
      92213 Saint-Cloud Cedex
      Tel. +33 (0)1 49 11 45 31

      Pourquoi signer un email ??
      http://www.cacert.org/help.php?id=2〈=fr_FR#whyEmails

      Clé PGP : EAB942A4 sur pgp.mit.edu

            kohsuke Kohsuke Kawaguchi
            castorls castorls
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: