[JIRA] [core] (JENKINS-25490) Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

2016-01-07 Thread afriza...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Afriza Noor Arief updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25490 
 
 
 
  Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped  
 
 
 
 
 
 
 
 
 

Change By:
 
 Afriza Noor Arief 
 
 
 
 
 
 
 
 
 
 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 it2. Setup a dumb slave via Java Web Start3. Connect the slave via the same machine4. Stop the masterAfter 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: {code} 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.(FileInputStream.java:146) at java.io.FileInputStream.(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) {code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
   

[JIRA] [core] (JENKINS-25490) Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

2014-12-04 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-25490


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















Richard Mortimer that is a plausible explanation. If so, the fix is still pretty fragile: we do not really want to be relaunching javaws at all if we can help it.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25490) Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

2014-12-04 Thread oldel...@java.net (JIRA)














































Richard Mortimer
 commented on  JENKINS-25490


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















I'm glad it is fixed. I wonder if the failure was occurring because JWS was trying to re-download the .jnlp file but couldn't because the master was restarting. The fix for JENKINS-24272 only restarts the slave when the master has restarted so the .jnlp file would be available then.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25490) Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

2014-12-03 Thread jgl...@cloudbees.com (JIRA)















































Jesse Glick
 resolved  JENKINS-25490 as Duplicate


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
















The fix of JENKINS-24272 changes this behavior, and so far seems to fix it. Now when the master is stopped, the GUI window shows Terminated as expected, rather than closing. Then when the master comes back up, the window is closed, but now it reopens and connects. I am not sure if the javaws process is still being restarted, but if so, it somehow seems to work now.





Change By:


Jesse Glick
(03/Dec/14 8:25 PM)




Status:


Open
Resolved





Resolution:


Duplicate



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25490) Slave agent run with javaws breaks with "Unable to launch the application" when master is stopped

2014-12-03 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 updated  JENKINS-25490


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
















Change By:


Jesse Glick
(03/Dec/14 8:19 PM)




Summary:


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



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.