activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Liguori (JIRA)" <>
Subject [jira] Created: (AMQ-2931) ActiveMQ warning - needing Java shutdown hook.
Date Wed, 22 Sep 2010 14:54:40 GMT
ActiveMQ warning - needing Java shutdown hook.

                 Key: AMQ-2931
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.4.0
            Reporter: Robert Liguori
            Priority: Minor

Starting Apache ActiveMQ 5.4.0 shows the following warning:

 WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks

Case Study: Apache  Servicemix applies the appropriate fix:


Stopping ServiceMix
For both Windows and Unix installations, terminate ServiceMix by typing "CTRL-C" on the command
line where ServiceMix is running. ServiceMix uses the Java shutdown hook to cleanly shut down
the container. 

Java Shutdown Hook:

The issue is for the Apache ActiveMQ to use teh the shutdown hook as is done with Servicemix,
therefore correcting the problem and removing the warning.


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

View raw message