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

admin script report wrong pid and wrong status

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      To reproduce:

      • start fuse root container with fuse script.
      • run "admin list" command. admin script report the right pid
      • start another instance of the root container again, with fuse script. container will not start, because it is waiting on a persistence lock
      • run "admin list" command. The root container is now showing as started, but with the pid of the second container, which is not even up.
      • After sometime, second root container will abort the startup and exit. Only the first container is till running. However, running "admin list" again shows that the process has stoped
      Show
      To reproduce: start fuse root container with fuse script. run "admin list" command. admin script report the right pid start another instance of the root container again, with fuse script. container will not start, because it is waiting on a persistence lock run "admin list" command. The root container is now showing as started, but with the pid of the second container, which is not even up. After sometime, second root container will abort the startup and exit. Only the first container is till running. However, running "admin list" again shows that the process has stoped
    • Sprint:
      6.3 Sprint 2 (1-Feb - 26-Feb)

      Description

      When starting a second instance of a fuse container by mistake, admin script report wrong information.
      The reason seems to be that the starting script updates instances.properties file with pid of the new container pid before it has the chance to start properly.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  oscerd Andrea Cosentino
                  Reporter:
                  mbelkour Amine Belkoura
                  Tester:
                  Tomas Plevko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: