• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • core
    • Synology DS212 / Linux, Embedded Java 7 or 8, latest Jenkins war

      I have followed this thread http://webselblog.wordpress.com/2011/08/20/howto-setup-jenkins-on-a-synology-ds1511/ to install Jenkins on a Synology box.

      Java is installed correctly and I can get Jenkins started. However it fails with a fatal error after a few minutes.

      Please see log files attached.

      Installed Java 7 Embedded ARMv5 Linux - Headless EABI, SoftFP ABI, Little Endian3

          [JENKINS-25402] Jenkins crashes on startup

          Houman Khorasani created issue -

          Oleg Nenashev added a comment -

          Please don't forget to reference other threads you submit regarding the issue.
          URL: http://forum.synology.com/enu/viewtopic.php?f=190&t=92245

          As I see the guidelines are quite old and probably outdated (2011th).

          • What Jenkins version do you use?
          • Do you use Oracle Embedded SE Java? Have you tried another Java VMs?

          You could disable the automatic plugins list update in UpdateCenter (-Dhudson.model.UpdateCenter.never=true). Probably, it will workaround the failure.

          Oleg Nenashev added a comment - Please don't forget to reference other threads you submit regarding the issue. URL: http://forum.synology.com/enu/viewtopic.php?f=190&t=92245 As I see the guidelines are quite old and probably outdated (2011th). What Jenkins version do you use? Do you use Oracle Embedded SE Java? Have you tried another Java VMs? You could disable the automatic plugins list update in UpdateCenter (-Dhudson.model.UpdateCenter.never=true). Probably, it will workaround the failure.

          Daniel Beck added a comment -

          Looks related to JNA given the errors.

          Assigning to Craig, maybe he has an idea how to debug.

          Daniel Beck added a comment - Looks related to JNA given the errors. Assigning to Craig, maybe he has an idea how to debug.
          Daniel Beck made changes -
          Assignee New: Craig Rodrigues [ rodrigc ]
          Labels Original: exception jenkins New: jna

          Houman Khorasani added a comment - - edited

          Thanks for the support guys.

          I am using the latest Jenkins version:
          wget -O /var/lib/jenkins/jenkins.war http://mirrors.jenkins-ci.org/war/latest/jenkins.war

          I am using the Oracle Embedded SE Java from here:
          http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/index.html

          I have used
          ORACLE JAVA SE EMBEDDED VERSION 7 UPDATE 71 for ARMv5 Linux
          and also
          ORACLE JAVA SE EMBEDDED VERSION 8 UPDATE 6 for ARMv5 Linux

          Both have the same problem.

          Hope this helps,
          Many Thanks

          Houman Khorasani added a comment - - edited Thanks for the support guys. I am using the latest Jenkins version: wget -O /var/lib/jenkins/jenkins.war http://mirrors.jenkins-ci.org/war/latest/jenkins.war I am using the Oracle Embedded SE Java from here: http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/index.html I have used ORACLE JAVA SE EMBEDDED VERSION 7 UPDATE 71 for ARMv5 Linux and also ORACLE JAVA SE EMBEDDED VERSION 8 UPDATE 6 for ARMv5 Linux Both have the same problem. Hope this helps, Many Thanks

          This is a JNA problem. I don't have access to the ARM platform which
          you have. If you want to help debug this, do the following:

          (1) Make sure that you have apache-ant installed
          (2) git clone https://github.com/twall/jna
          (3) Build jna and run the tests:
          cd jna
          ant

          (4) Report any problems to: https://github.com/twall/jna#community-and-support

          Craig Rodrigues added a comment - This is a JNA problem. I don't have access to the ARM platform which you have. If you want to help debug this, do the following: (1) Make sure that you have apache-ant installed (2) git clone https://github.com/twall/jna (3) Build jna and run the tests: cd jna ant (4) Report any problems to: https://github.com/twall/jna#community-and-support

          Michka,

          Can you build JNA and run the tests on ARM
          using the steps which I described, and provide
          the results? Is your ARM platform the same as the ARMv5Linux platform that Synology uses?

          Craig Rodrigues added a comment - Michka, Can you build JNA and run the tests on ARM using the steps which I described, and provide the results? Is your ARM platform the same as the ARMv5Linux platform that Synology uses?
          Craig Rodrigues made changes -
          Assignee Original: Craig Rodrigues [ rodrigc ] New: Michka Popoff [ imichka ]

          Houman Khorasani added a comment - - edited

          Thanks for the help.

          Yes DS 212 is a Marvell Kirkwood mv6282 1.6Ghz ARM (Marvell ARMADA 300) and fully ARMv5TE-compliant.
          http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have
          http://www.marvell.com/embedded-processors/kirkwood/assets/88f6282-3_pb.pdf

          I have installed apache-ant and cloned jna as you suggested.

          Trying to build it got me this error:

          Unable to locate tools.jar. Expected to find it in /volume1/@appstore/java7/lib/tools.jar
          Buildfile: /volume1/public/jna/build.xml

          -enable-native:

          -dynamic-properties:

          BUILD FAILED
          /volume1/public/jna/build.xml:258: Can't find JNI headers (java.home=/volume1/@appstore/java7/jre)

          It seems I need the proper JDK for that.
          http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html

          But I don't know how to install this on a synology. The previous SE was supported through a community package, which I got from here: http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/

          Houman Khorasani added a comment - - edited Thanks for the help. Yes DS 212 is a Marvell Kirkwood mv6282 1.6Ghz ARM (Marvell ARMADA 300) and fully ARMv5TE-compliant. http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have http://www.marvell.com/embedded-processors/kirkwood/assets/88f6282-3_pb.pdf I have installed apache-ant and cloned jna as you suggested. Trying to build it got me this error: Unable to locate tools.jar. Expected to find it in /volume1/@appstore/java7/lib/tools.jar Buildfile: /volume1/public/jna/build.xml -enable-native: -dynamic-properties: BUILD FAILED /volume1/public/jna/build.xml:258: Can't find JNI headers (java.home=/volume1/@appstore/java7/jre) It seems I need the proper JDK for that. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html But I don't know how to install this on a synology. The previous SE was supported through a community package, which I got from here: http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/

          You need a full JDK to compile things.

          If you download the http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html
          and extract the tar.gz file, set the PATH to point to the right java
          binary, can you get it to work?

          Otherwise I recommend asking a Synology developer to help you.

          Craig Rodrigues added a comment - You need a full JDK to compile things. If you download the http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html and extract the tar.gz file, set the PATH to point to the right java binary, can you get it to work? Otherwise I recommend asking a Synology developer to help you.

            imichka Michka Popoff
            houmie Houman Khorasani
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: