Sorry, that was something I did to test the kahadb.. instead of mssql persistence.
Here is the log of restarting with JDBC persistence: -------------- INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | ActiveMQ Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) is shutting down INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | ActiveMQ Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) is shutting down INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | Connector openwire Stopped INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | PListStore:C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\localhost\tmp_storage stopped INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | ActiveMQ JMS Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) stopped INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | Connector openwire Stopped INFO | jvm 1 | 2011/08/09 09:11:01 | INFO | ActiveMQ JMS Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) stopped STATUS | wrapper | 2011/08/09 09:11:02 | <-- Wrapper Stopped STATUS | wrapper | 2011/08/09 09:11:02 | --> Wrapper Started as Service STATUS | wrapper | 2011/08/09 09:11:02 | Launching a JVM... INFO | jvm 1 | 2011/08/09 09:11:02 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2011/08/09 09:11:02 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2011/08/09 09:11:02 | INFO | jvm 1 | 2011/08/09 09:11:02 | INFO | jvm 1 | 2011/08/09 09:11:02 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'. INFO | jvm 1 | 2011/08/09 09:11:02 | The file is located on the path at the following location but INFO | jvm 1 | 2011/08/09 09:11:02 | could not be loaded: INFO | jvm 1 | 2011/08/09 09:11:02 | C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\bin\win32\wrapper.dll INFO | jvm 1 | 2011/08/09 09:11:02 | Please verify that the file is readable by the current user INFO | jvm 1 | 2011/08/09 09:11:02 | and that the file has not been corrupted in any way. INFO | jvm 1 | 2011/08/09 09:11:02 | One common cause of this problem is running a 32-bit version INFO | jvm 1 | 2011/08/09 09:11:02 | of the Wrapper with a 64-bit version of Java, or vica versa. INFO | jvm 1 | 2011/08/09 09:11:02 | This is a 64-bit JVM. INFO | jvm 1 | 2011/08/09 09:11:02 | Reported cause: INFO | jvm 1 | 2011/08/09 09:11:02 | C:\activemq\apache-activemq-5.5.0\bin\win32\wrapper.dll: Can't find dependent libraries INFO | jvm 1 | 2011/08/09 09:11:02 | System signals will not be handled correctly. INFO | jvm 1 | 2011/08/09 09:11:02 | INFO | jvm 1 | 2011/08/09 09:11:03 | Java Runtime: Sun Microsystems Inc. 1.6.0_26 C:\Program Files\Java\jdk1.6.0_26\jre INFO | jvm 1 | 2011/08/09 09:11:03 | Heap sizes: current=60288k free=56411k max=466048k INFO | jvm 1 | 2011/08/09 09:11:03 | JVM args: -Dactivemq.home=C:\activemq\apache-activemq-5.5.0\bin\win32\..\.. -Dactivemq.base=C:\activemq\apache-activemq-5.5.0\bin\win32\..\.. -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=C:\activemq\apache-activemq-5.5.0\bin\win32\..\../conf/broker.ks -Djavax.net.ssl.trustStore=C:\activemq\apache-activemq-5.5.0\bin\win32\..\../conf/broker.ts -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Djava.io.tmpdir=C:\activemq\apache-activemq-5.5.0\bin\win32\..\../temp -Xmx512m -Djava.library.path=C:\activemq\apache-activemq-5.5.0\bin\win32\..\../bin/win32 -Dwrapper.key=_Td5Nss_ztZR0FDB -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=376 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 INFO | jvm 1 | 2011/08/09 09:11:03 | ACTIVEMQ_HOME: C:\activemq\apache-activemq-5.5.0\bin\win32\..\.. INFO | jvm 1 | 2011/08/09 09:11:03 | ACTIVEMQ_BASE: C:\activemq\apache-activemq-5.5.0\bin\win32\..\.. INFO | jvm 1 | 2011/08/09 09:11:03 | Loading message broker from: xbean:activemq.xml INFO | jvm 1 | 2011/08/09 09:11:03 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@212bcd4b: startup date [Tue Aug 09 09:11:03 PDT 2011]; root of context hierarchy INFO | jvm 1 | 2011/08/09 09:11:05 | WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead INFO | jvm 1 | 2011/08/09 09:11:05 | INFO | PListStore:C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\localhost\tmp_storage started INFO | jvm 1 | 2011/08/09 09:11:05 | INFO | JMX consoles can connect to service:jmx:rmi://localhost:11119/jndi/rmi://localhost:11099/jmxrmi INFO | jvm 1 | 2011/08/09 09:11:05 | INFO | Using Persistence Adapter: JDBCPersistenceAdapter(org.apache.commons.dbcp.BasicDataSource@40bb2bc3) --------------------- It looks like it just doesn't try to restore anything from journal as it did for kahadb. -- View this message in context: http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persisted-messages-queues-topics-tp3728577p3730417.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
