[JIRA] (JENKINS-6957) Windows slave fails to find java

4 views
Skip to first unread message

ilatypov@yahoo.ca (JIRA)

unread,
Jan 10, 2020, 8:39:02 PM1/10/20
to jenkinsc...@googlegroups.com
Ilguiz Latypov commented on Bug JENKINS-6957
 
Re: Windows slave fails to find java

The "system cannot find the file specified" results from the poor service wrapper architecture that freezes the java.exe location in the "executable" XML tag inside its jenkins-slave.xml.

https://mohitgoyal.co/2016/12/18/failed-to-start-jenkins-after-updating-java/

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ilatypov@yahoo.ca (JIRA)

unread,
Jan 10, 2020, 8:41:04 PM1/10/20
to jenkinsc...@googlegroups.com
Ilguiz Latypov edited a comment on Bug JENKINS-6957
The "system cannot find the file specified" error results from the poor service wrapper architecture that freezes the java.exe location in the "executable" XML tag inside its jenkins-slave.xml.

[ https://mohitgoyal.co/2016/12/18/failed-to-start-jenkins-after-updating-java/ ]

 

I also found that it helps to comment out the other tag enabling a live update of the slave JAR.  When this update is enabled, the service fails to start silently trying to download the file and timing out without giving a verbose reason for this.

 

ilatypov@yahoo.ca (JIRA)

unread,
Jan 10, 2020, 8:42:02 PM1/10/20
to jenkinsc...@googlegroups.com
Ilguiz Latypov edited a comment on Bug JENKINS-6957
The "system cannot find the file specified" error results from the poor service wrapper architecture that freezes the java.exe location in the "executable" XML tag inside its jenkins-slave.xml.

[https://mohitgoyal.co/2016/12/18/failed-to-start-jenkins-after-updating-java/]

 

I also found that it helps to comment out the other tag enabling a live update of the slave JAR.  When this update is enabled, the service fails to start silently trying .  The wrapper log shows an attempt to download the file and timing out without giving a verbose reason for this.

 
Reply all
Reply to author
Forward
0 new messages