• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Hello,

      I am using Hudson 1.285 on Tomcat 6.0.18 on windows 2003 Server with Java 1.6.0

      At the end of a successful build, I have the following error :

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 minutes 51 seconds
      [INFO] Finished at: Mon Feb 23 10:43:08 CET 2009
      [INFO] Final Memory: 107M/762M
      [INFO] ------------------------------------------------------------------------
      channel stopped
      FATAL: Can't load library:
      C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/work/Catalina/localhost/hudson/loader/winp.dll
      java.lang.UnsatisfiedLinkError: Can't load library:
      C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/work/Catalina/localhost/hudson/loader/winp.dll
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1677)
      at java.lang.Runtime.load0(Runtime.java:770)
      at java.lang.System.load(System.java:1005)
      at org.jvnet.winp.Native.load(Native.java:93)
      at org.jvnet.winp.Native.<clinit>(Native.java:49)
      at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:195)
      at hudson.util.ProcessTreeKiller$Windows.<clinit>(ProcessTreeKiller.java:208)
      at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)
      at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:275)
      at hudson.model.Run.run(Run.java:894)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:229)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

      Even if the build is successfull, the build is marked as failed du to this error.

          [JENKINS-3111] Can't load library winp.dll

          Note to myself. Convert from URL to File with more care.

          Been there, done that, and I even blogged about it
          http://weblogs.java.net/blog/kohsuke/archive/2007/04/how_to_convert.html, and
          here I am, I'm still making the same mistake...

          Kohsuke Kawaguchi added a comment - Note to myself. Convert from URL to File with more care. Been there, done that, and I even blogged about it http://weblogs.java.net/blog/kohsuke/archive/2007/04/how_to_convert.html , and here I am, I'm still making the same mistake...

          SCM/JIRA link daemon added a comment - Code changed in winp User: : kohsuke Path: trunk/winp/src/main/java/org/jvnet/winp/Native.java https://winp.dev.java.net/source/browse/winp/trunk/winp/src/main/java/org/jvnet/winp/Native.java?view=diff&rev=125&p1=trunk/winp/src/main/java/org/jvnet/winp/Native.java&p2=trunk/winp/src/main/java/org/jvnet/winp/Native.java&r1=124&r2=125 Log: JENKINS-3111 Fixed the URL->File conversion

          Alan Harder added a comment -

          r15840 | kohsuke | 2009-02-27 07:59:59 -0700 (Fri, 27 Feb 2009) | 6 lines
          Changed paths:
          M /trunk/hudson/main/core/pom.xml
          M /trunk/www/changelog.html

          Integrated in 1.287.


          Fixed a bug in loading <tt>winp.dll</tt> when directory names involve
          whitespaces.
          (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=3111">issue
          3111</a>)

          Alan Harder added a comment - r15840 | kohsuke | 2009-02-27 07:59:59 -0700 (Fri, 27 Feb 2009) | 6 lines Changed paths: M /trunk/hudson/main/core/pom.xml M /trunk/www/changelog.html Integrated in 1.287. Fixed a bug in loading <tt>winp.dll</tt> when directory names involve whitespaces. (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=3111">issue 3111</a>)

            Unassigned Unassigned
            alacenaire alacenaire
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: