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

Cannot restart Hudson from the web frontend on OpenSolaris in VirtualBox

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Hudson running in embedded mode on 'SunOS xxx 5.10 Generic_139556-08 i86pc i386 i86pc'

      The restart buttons do no appear in the web frontend with the following in the logs:

      WARNING: Failed to install embedded lifecycle implementation
      java.io.EOFException
      at java.io.RandomAccessFile.readInt(RandomAccessFile.java:725)
      at com.sun.akuma.JavaVMArguments.ofSolaris(JavaVMArguments.java:206)
      at com.sun.akuma.JavaVMArguments.of(JavaVMArguments.java:83)
      at com.sun.akuma.JavaVMArguments.current(JavaVMArguments.java:69)
      at hudson.lifecycle.UnixLifecycle.<init>(UnixLifecycle.java:52)
      at hudson.lifecycle.Lifecycle.get(Lifecycle.java:93)
      at hudson.model.Hudson.getLifecycle(Hudson.java:1773)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)

      Is there a missing lib*.so file on OpenSolaris?

          [JENKINS-6629] Cannot restart Hudson from the web frontend on OpenSolaris in VirtualBox

          Alan Harder added a comment -

          The akuma library is failing to read process info about your JVM, so lifecycle based features such as self-restart are not available. JavaVMArguments.java

          Alan Harder added a comment - The akuma library is failing to read process info about your JVM, so lifecycle based features such as self-restart are not available. JavaVMArguments.java

          acollins added a comment -

          Thanks for the info and quick response. I think the same thing is happening in this issue: JENKINS-6224

          I'll run a couple of tests locally and see if I can provide a patch.

          acollins added a comment - Thanks for the info and quick response. I think the same thing is happening in this issue: JENKINS-6224 I'll run a couple of tests locally and see if I can provide a patch.

          acollins added a comment -

          I have raised a bug for akuma here https://akuma.dev.java.net/issues/show_bug.cgi?id=2

          acollins added a comment - I have raised a bug for akuma here https://akuma.dev.java.net/issues/show_bug.cgi?id=2

          evernat added a comment -

          evernat added a comment - The issue in akuma is http://java.net/jira/browse/AKUMA-2

          Tnarik Innael added a comment -

          It seems the related issue in akuma was fixed in version 1.6. Could this be integrated with Jenkins to fix this issue?

          Tnarik Innael added a comment - It seems the related issue in akuma was fixed in version 1.6. Could this be integrated with Jenkins to fix this issue?

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/d01dbe6246800f55cf9d7a4d22d1f8294073dc49
          Log:
          [FIXED JENKINS-6629] make restart work with Solaris 32bit x86

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/d01dbe6246800f55cf9d7a4d22d1f8294073dc49 Log: [FIXED JENKINS-6629] make restart work with Solaris 32bit x86

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/b29f3de98894bb5ecc1fe14a403bf0f27237b1c5
          Log:
          JENKINS-6629 merge messup

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html http://jenkins-ci.org/commit/jenkins/b29f3de98894bb5ecc1fe14a403bf0f27237b1c5 Log: JENKINS-6629 merge messup

          dogfood added a comment -

          dogfood added a comment - Integrated in jenkins_main_trunk #1326

            Unassigned Unassigned
            acollins acollins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: