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

Boris Klug edited comment on AXIS2-4610 at 12/28/10 8:03 AM:
-------------------------------------------------------------

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.

Tested with Axis 1.5.1, 1.5.3 and 1.5.4 on Tomcat 6 Windows and Linux.


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

      was (Author: boris.klug):
    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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to