Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4248

Odd behavior of starting script ./bin/fuse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.2.1
    • Component/s: Karaf, Patching
    • Labels:
      None
    • Steps to Reproduce:
      1. ./bin/fuse
      2. get PID of starting script
      3. kill -TERM $PID
      4. server still running

      Description

      I discovery that new version of starting script /bin/fuse has different behavior than an old one. Old version (JBoss Fuse 6.2.1 build 32) starts only one process karaf.jar which lives with a terminal. If I close terminal so, then the server is terminated.

      New version (JBoss Fuse 6.2.1 build 69) starts two processes first is /bin/karaf script (lives with terminal) which checking exit code from the second process to perform JVM restart. Second karaf.jar process is an instance of the server. Different behavior is that if I terminate /bin/karaf then the server is still running.

      I think that there could be a problem when karaf want to do JVM restart and /bin/karaf process does not exist (e.q. close terminal). It leads to an incomplete restart because the server does not start again.

      It's wanted behavior?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fbolton Fintan Bolton
                  Reporter:
                  tturek Tomáš Turek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: