Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-743

Deadlock in JBoss Deployer during shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0, 3.1
    • None
    • None
    • JBoss 4.0.4.GA, SM 3.x (all versions affected)

    • Patch Available

    Description

      The JBIContainer contains a ShutdownHook which shuts all components down during shutdown of the VM. The JBoss Deployer's is also called during the shutdown and tries to shut down the components too. This frequently causes deadlock situations.

      This can be fixed, by disabling the ShutdownHook of servicemix inside the JBoss Deployer:

      JBIService.java:
      Add
      jbiContainer.setUseShutdownHook(false);
      in method startService() after the JBIContainer is created.

      Regards,

      Frank

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            ftrietsch Frank Trietsch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified