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

Starting scripts not terminated on Solaris with LAUNCH_JBOSS_IN_BACKGROUND=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Scripts
    • None
    • Solaris 11 (x86, x86_64, sparc), Solaris 10 sparc

    • Hide
      1. export LAUNCH_JBOSS_IN_BACKGROUND=true
      2. bash -x ./bin/standalone.sh
      3. In another terminal send term signal to stop standalone.sh process.
        kill -TERM $PID
      4. see terminal with standalone.sh script
      Show
      export LAUNCH_JBOSS_IN_BACKGROUND=true bash -x ./bin/standalone.sh In another terminal send term signal to stop standalone.sh process. kill -TERM $PID see terminal with standalone.sh script

      Standalone.sh script is not terminating when I run it with LAUNCH_JBOSS_IN_BACKGROUND=true on Solaris 11 OS. The problem is that after sending TERM signal to end standalone script. Then the jboss-module.jar is successfully terminated, but starting script gets into an infinite loop that constantly writes to log this:

      + SIGNAL=15
      ++ kill -l 15
      + SIGNAL_NAME=TERM
      + echo '*** JBossAS process (12898) received TERM signal ***'
      *** JBossAS process (12898) received TERM signal ***
      + '[' 143 -ge 128 ']'
      + wait 12898
      + WAIT_STATUS=143
      + '[' 143 -gt 128 ']'
      ++ expr 143 - 128
      + SIGNAL=15
      ++ kill -l 15
      + SIGNAL_NAME=TERM
      + echo '*** JBossAS process (12898) received TERM signal ***'
      *** JBossAS process (12898) received TERM signal ***
      + '[' 143 -ge 128 ']'
      + wait 12898
      + WAIT_STATUS=143
      + '[' 143 -gt 128 ']'
      ++ expr 143 - 128
      + SIGNAL=15
      ++ kill -l 15
      + SIGNAL_NAME=TERM
      + echo '*** JBossAS process (12898) received TERM signal ***'
      *** JBossAS process (12898) received TERM signal ***
      + '[' 143 -ge 128 ']'
      + wait 12898
      + WAIT_STATUS=143
      + '[' 143 -gt 128 ']'
      ++ expr 143 - 128
      + SIGNAL=15
      ++ kill -l 15
      + SIGNAL_NAME=TERM
      + echo '*** JBossAS process (12898) received TERM signal ***'
      

              tomazcerar Tomaž Cerar (Inactive)
              tturek@redhat.com Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: