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 "Boris Klug (JIRA)" <ji...@apache.org> on 2010/12/28 14:02:47 UTC

[jira] Commented: (AXIS2-4610) ServiceLifeCycle shutDown() doesn't fire upon hot update

    [ https://issues.apache.org/jira/browse/AXIS2-4610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975492#action_12975492 ] 

Boris Klug commented on AXIS2-4610:
-----------------------------------

I have the same problem: We want to use hot deployment for updating our services in production without restarting Axis2.

We need the shutDown hook to close db connections.


It would be also great if there would be a method which is called when a service is disabled or enabled.

> ServiceLifeCycle shutDown() doesn't fire upon hot update
> --------------------------------------------------------
>
>                 Key: AXIS2-4610
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4610
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: Tomcat 5.5.23
> Solaris 8 - SunOS longmdappd18 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-Enterprise
> Rampart 1.5
>            Reporter: Mark MacIver
>
> I've implemented the ServiceLifeCycle interface to create and close connections in the startUp and shutDown methods.   shutDown is fired when Tomcat is shutdown, however it isn't fired when I perform a hot update (i.e drop a new version of the aar file into the services directory).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org