Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15792

jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • core
    • None

      rpm -q jenkins
      jenkins-1.489-1.1.noarch

      I used the yum installer to install jenkins on ppc64 with the IBM 1.6 JDK following the guide here:

      https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions

      When starting the jenkins service, I get this:

      service jenkins start
      Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at Main._main(Main.java:129)
      at Main.main(Main.java:98)
      Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path
      at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:697)
      at com.sun.jna.Native.loadNativeLibrary(Native.java:674)
      at com.sun.jna.Native.<clinit>(Native.java:115)
      at java.lang.J9VMInternals.initializeImpl(Native Method)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:89)
      at java.lang.J9VMInternals.initializeImpl(Native Method)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
      at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:126)
      at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java:114)
      at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:104)
      at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:92)
      at com.sun.akuma.Daemon.daemonize(Daemon.java:105)
      at com.sun.akuma.Daemon.all(Daemon.java:87)
      ... 6 more

      I don't know how this is different from issue 4820 which was fixed apparently:

      https://issues.jenkins-ci.org/browse/JENKINS-4820

      But where people say updating jenkins fixed that issue, I'm still hitting it. I'm not sure if there is a problem with my java setup or not.

            Unassigned Unassigned
            mriedem Matt Riedemann
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: