Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1381

wildfly-init-debian.sh fails on Ubuntu 15.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.CR6
    • 1.0.0.Beta6, 1.0.0.CR1
    • Scripts
    • None
    • Hide

      Set variables in JBOSS_HOME/bin/init.d/wildfly.conf
      ln -s JBOSS_HOME/bin/init.d/wildfly.conf /etc/default/wildfly
      ln -s JBOSS_HOME/bin/init.d/wildfly-init-debian.sh /etc/init.d/wildfly
      cd /etc/init.d
      update-rc.d wildfly defaults

      permissions and user/group are of course set to wildfly.wildfly

      Show
      Set variables in JBOSS_HOME/bin/init.d/wildfly.conf ln -s JBOSS_HOME/bin/init.d/wildfly.conf /etc/default/wildfly ln -s JBOSS_HOME/bin/init.d/wildfly-init-debian.sh /etc/init.d/wildfly cd /etc/init.d update-rc.d wildfly defaults permissions and user/group are of course set to wildfly.wildfly
    • Compatibility/Configuration, User Experience

      Init script "wildfly-init-debian.sh" fails on Ubuntu 15.04 but standalone.sh works fine. Env is jdk_1.8.0_45-b14 and wildfly_9.0.0.Beta2. The error returned is:

      Failed to start wildfly.service: Unit wildfly.service failed to load: No such file or directory.

      Had no issue with the above script on Ubuntu 14.04 so guessing a change in Ubuntu ("Upstart" Maybe?) But, I'm far from an upstart or bash expert. bash -x seems to at least create the pid.

              Unassigned Unassigned
              dennis-3 Dennis Gesker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: