Details
-
Bug
-
Status: Resolved (View Workflow)
-
Blocker
-
Resolution: Fixed
-
windows XP
Windows Server 2003 Enterprise Edition SP2
Description
since update to 1.507 (from 1.505), no build is possible.
it seems that fix of https://issues.jenkins-ci.org/browse/JENKINS-15587 has broken XP compatibility.
when starting to run any job, error message is :
FATAL: Error looking up function 'CreateSymbolicLinkW': La procédure spécifiée est introuvable.
java.lang.UnsatisfiedLinkError: Error looking up function 'CreateSymbolicLinkW': La procédure spécifiée est introuvable.
at com.sun.jna.Function.<init>(Function.java:179)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:347)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:327)
at com.sun.jna.Library$Handler.invoke(Library.java:203)
at $Proxy22.CreateSymbolicLinkW(Unknown Source)
at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:85)
at hudson.Util.createSymlink(Util.java:1048)
at hudson.model.Run.execute(Run.java:1573)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
Attachments
Issue Links
- is blocking
-
JENKINS-15587 Builds disappear from jobs - hudson.util.IOException2: Invalid directory name - java.text.ParseException: Unparseable date: "39"
-
- Resolved
-
OK.. I made some progress and wanted to help others who are having trouble. It appears that by upgrading to Java 1.7 (jre7) instead of 1.6 does the trick. I found out that just changing JAVA_HOME is not enough to be able to do the switch.
If you go to Manage Jenkins, then system info (sysinfo).. check the java.runtime.version. You will see that it seems to ignores whatever is in JAVA_HOME.
I discovered that the reason for this is that a Copy of the JRE at the time of initial installation was copied to JENKINS_HOME/jre.
To fix this, I did the following...
I put this together from a few of the notes above and wanted to share it with other WinXP users that might not easily find this resolution.