You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2009/01/16 15:45:00 UTC
[jira] Updated: (AXIS2-4212) ListenerManager Shutdown Hook Attempts
to Unregister Itself
[ https://issues.apache.org/jira/browse/AXIS2-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4212:
---------------------------------------
Attachment: axis-4212.patch
Patch attached
> ListenerManager Shutdown Hook Attempts to Unregister Itself
> -----------------------------------------------------------
>
> Key: AXIS2-4212
> URL: https://issues.apache.org/jira/browse/AXIS2-4212
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.5, nightly
> Environment: Any
> Reporter: Hiranya Jayathilaka
> Fix For: 1.5, nightly
>
> Attachments: axis-4212.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.