Sorry, fixed by re-installing JRE locally.
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: 21 September 2012 08:33
To: jenkinsci-users@googlegroups.com
Subject: Windows slave is failing to launch
Hi
This morning our Windows Jenkins slave has gone offline. It has been working
happily for many months. I don't know what has changed that may have caused
the problem. I have pasted the log message below. Any suggestions for a fix
please?
Best regards
David
Connecting to mywindowspc
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK jdk-6u16-oth-JPR@CDS-CDS_Developer
Downloading JDK from
http://download.oracle.com/otn/java/jdk/6u16-b01/jdk-6u16-windows-i586.exe
Oracle now requires Oracle account to download previous versions of JDK. Please
specify your Oracle account
username/password.http://hudsonmaster.uktm.eu.nec.com:8080/descriptorByName/hudson.tools.JDKInstaller/enterCredential
ERROR: Failed to prepare Java
hudson.AbortExceptionhttp://stacktrace.jenkins-ci.org/search?query=hudson.AbortException:
Unable to install JDK unless a valid Oracle account username/password is
provided in the system configuration.
at
hudson.tools.JDKInstaller.locate(JDKInstaller.java:408)http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.JDKInstaller.locateentity=method
at
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:241)http://stacktrace.jenkins-ci.org/search/?query=hudson.os.windows.ManagedWindowsServiceLauncher.launchentity=method
at
hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.SlaveComputer$1.callentity=method
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
Waiting for the service to become ready
ERROR: The service didn't respond. Perphaps it failed to launch?
Click
herehttps://www.mailcontrol.com/sr/LGKFWMsnv0fTndxI!oX7UvIItv2OGGpT3FLhgiFFUck7TyhkL32gTQXsBaxhRAqEKeX!AkUDiWy8ewgPpp7kgg==
to report this email as spam.