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)