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

Odd behavior of starting script ./bin/fuse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Karaf, Patching
    • None
    • % %
      1. ./bin/fuse
      2. get PID of starting script
      3. kill -TERM $PID
      4. server still running

      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?

            fbolton@redhat.com Fintan Bolton (Inactive)
            tturek@redhat.com Tomas Turek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: