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

Error while starting WildFly as service in domain mode using init scripts.

XMLWordPrintable

    • Hide

      1. copy init script wildfly-init-redhat.sh from $JBOSS_HOME/docs/contrib/scripts/init.d/ to /etc/init.d
      2. copy conf file wildfly.conf into /etc/default
      3. setup wildfly.conf as domain mode
      4. Start WildFly service using below command:
      ~~
      service wildfly start

      Show
      1. copy init script wildfly-init-redhat.sh from $JBOSS_HOME/docs/contrib/scripts/init.d/ to /etc/init.d 2. copy conf file wildfly.conf into /etc/default 3. setup wildfly.conf as domain mode 4. Start WildFly service using below command: ~~ service wildfly start

      When starting WildFly as a service in domain mode using init scripts there appears in console.log error:

      /usr/bin/dirname: unrecognized option '--domain-config=domain.xml'
      Try '/usr/bin/dirname --help' for more information.

              rstancel@redhat.com Radovan Stancel
              rstancel@redhat.com Radovan Stancel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h