Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4212

ListenerManager Shutdown Hook Attempts to Unregister Itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5, nightly
    • 1.5, nightly
    • kernel
    • None
    • Any

    Description

      The ListenerManagerShutdownThread calls listenerManager.stop( ) and the stop( ) method in turns attempts to unregister the shutdown hook causing an IllegalStateException to be thrown.

      Exception in thread "Thread-2" java.lang.IllegalStateException: Shutdown in progress
      at java.lang.Shutdown.remove(Shutdown.java:104)
      at java.lang.Runtime.removeShutdownHook(Runtime.java:218)
      at org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:155)
      at org.apache.axis2.engine.ListenerManager$ListenerManagerShutdownThread.run(ListenerManager.java:258)

      Attachments

        1. AXIS2-4212-update1.patch
          0.6 kB
          Hiranya Kasub Jayathilaka
        2. axis-4212.patch
          0.6 kB
          Hiranya Kasub Jayathilaka

        Activity

          People

            asankha Asankha Chamath Perera
            hiranya Hiranya Kasub Jayathilaka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: