Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Since the former major LTS release I experience a kinda problematic problem with our Jenkins instance. Whenever the master is stopped (shutdown) with active connections to slaves, the JLNP client on the slaves stops working with the message: "Unable to launch the application". This was not the case before, so the client application was still running and reconnected once the master was back online.

      With the current behavior I have to step through all the >60 slave nodes, and start the JLNP client manually.

      Steps:
      1. Download Jenkins 1.580.1 and run it
      2. Setup a dumb slave via Java Web Start
      3. Connect the slave via the same machine
      4. Stop the master

      After step 4 the JLNP client should stay open, waiting for the master being online again. But it fails with the above message and the following stack:

      Exception:
      
      CouldNotLoadArgumentException[ Could not load file/URL specified: /tmp/javawJ3YZLo]
      	at com.sun.javaws.Main.launchApp(Unknown Source)
      	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      	at com.sun.javaws.Main.access$000(Unknown Source)
      	at com.sun.javaws.Main$1.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:744)
      
      Wrapped Exception:
      
      java.io.FileNotFoundException: /tmp/javawJ3YZLo (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      	at java.io.FileInputStream.<init>(FileInputStream.java:101)
      	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
      	at com.sun.javaws.Main.launchApp(Unknown Source)
      	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      	at com.sun.javaws.Main.access$000(Unknown Source)
      	at com.sun.javaws.Main$1.run(Unknown Source)
      	at java.lang.Thread.run(Thread.java:744)
      

            Assignee:
            Unassigned
            Reporter:
            Henrik Skupin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: