don't think that is the problem, but the message:
INFO   | jvm 1    | 2011/08/08 16:20:05 |  INFO | Using Persistence Adapter:
KahaDBPersistenceAdapter[C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\kahadb]

indicates that it is using KahaDB and not JDBC persistence, is that expected?

On 9 August 2011 16:50, pol_ice <pavel.grit...@gmail.com> wrote:
> Hi Gary,
>
> Can it be caused by the wrong version of wrapper.dll? All of my machines are
> 64-bit and it looks like activemq package for Windows only includes 32-bit
> version of wrapper.dll - is that so? I was reading
> http://blog.bigrocksoftware.com/2010/10/07/commons-daemon-procrun-as-a-java-service-wrapper-for-activemq/
> and https://issues.apache.org/jira/browse/AMQ-2968 but do not quite follow
> how this can be applied? Can you please explain?
>
> Here is the log of service restarting after I switched back to kahadb:
>
> ----------------
> STATUS | wrapper  | 2011/08/08 16:20:02 | --> Wrapper Started as Service
> STATUS | wrapper  | 2011/08/08 16:20:02 | Launching a JVM...
> INFO   | jvm 1    | 2011/08/08 16:20:03 | Wrapper (Version 3.2.3)
> http://wrapper.tanukisoftware.org
> INFO   | jvm 1    | 2011/08/08 16:20:03 |   Copyright 1999-2006 Tanuki
> Software, Inc.  All Rights Reserved.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |
> INFO   | jvm 1    | 2011/08/08 16:20:03 |
> INFO   | jvm 1    | 2011/08/08 16:20:03 | WARNING - Unable to load the
> Wrapper's native library 'wrapper.dll'.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           The file is located on
> the path at the following location but
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           could not be loaded:
> INFO   | jvm 1    | 2011/08/08 16:20:03 |
> C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\bin\win32\wrapper.dll
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           Please verify that the
> file is readable by the current user
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           and that the file has
> not been corrupted in any way.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           One common cause of this
> problem is running a 32-bit version
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           of the Wrapper with a
> 64-bit version of Java, or vica versa.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           This is a 64-bit JVM.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           Reported cause:
> INFO   | jvm 1    | 2011/08/08 16:20:03 |
> C:\activemq\apache-activemq-5.5.0\bin\win32\wrapper.dll: Can't find
> dependent libraries
> INFO   | jvm 1    | 2011/08/08 16:20:03 |           System signals will not
> be handled correctly.
> INFO   | jvm 1    | 2011/08/08 16:20:03 |
> INFO   | jvm 1    | 2011/08/08 16:20:03 | Java Runtime: Sun Microsystems
> Inc. 1.6.0_26 C:\Program Files\Java\jdk1.6.0_26\jre
> INFO   | jvm 1    | 2011/08/08 16:20:03 |   Heap sizes: current=60288k
> free=56411k  max=466048k
> INFO   | jvm 1    | 2011/08/08 16:20: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=Cabirc3BAuG74Vhk -Dwrapper.port=32000
> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> -Dwrapper.pid=12152 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper
> -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
> INFO   | jvm 1    | 2011/08/08 16:20:03 | ACTIVEMQ_HOME:
> C:\activemq\apache-activemq-5.5.0\bin\win32\..\..
> INFO   | jvm 1    | 2011/08/08 16:20:03 | ACTIVEMQ_BASE:
> C:\activemq\apache-activemq-5.5.0\bin\win32\..\..
> INFO   | jvm 1    | 2011/08/08 16:20:03 | Loading message broker from:
> xbean:activemq.xml
> INFO   | jvm 1    | 2011/08/08 16:20:03 |  INFO | Refreshing
> org.apache.activemq.xbean.XBeanBrokerFactory$1@56c163f: startup date [Mon
> Aug 08 16:20:03 PDT 2011]; root of context hierarchy
> INFO   | jvm 1    | 2011/08/08 16:20:05 |  WARN |
> destroyApplicationContextOnStop parameter is deprecated, please use shutdown
> hooks instead
> INFO   | jvm 1    | 2011/08/08 16:20:05 |  INFO |
> PListStore:C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\localhost\tmp_storage
> started
> INFO   | jvm 1    | 2011/08/08 16:20:05 |  INFO | JMX consoles can connect
> to service:jmx:rmi://localhost:11119/jndi/rmi://localhost:11099/jmxrmi
> INFO   | jvm 1    | 2011/08/08 16:20:05 |  INFO | Using Persistence Adapter:
> KahaDBPersistenceAdapter[C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\kahadb]
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | KahaDB is version 3
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | Recovering from the
> journal ...
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | Recovery replayed 1
> operations from the journal in 0.042 seconds.
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | ActiveMQ 5.5.0 JMS Message
> Broker (localhost) is starting
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | For help or more
> information please see: http://activemq.apache.org/
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | Listening for connections
> at: tcp://build-cc2:61616
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | Connector openwire Started
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | ActiveMQ JMS Message
> Broker (localhost, ID:build-cc2-56307-1312845606387-0:1) started
> INFO   | jvm 1    | 2011/08/08 16:20:06 |  INFO | jetty-7.1.6.v20100715
> INFO   | jvm 1    | 2011/08/08 16:20:07 |  INFO | ActiveMQ WebConsole
> initialized.
> INFO   | jvm 1    | 2011/08/08 16:20:07 |  INFO | Initializing Spring
> FrameworkServlet 'dispatcher'
> INFO   | jvm 1    | 2011/08/08 16:20:07 |  INFO | ActiveMQ Console at
> http://0.0.0.0:8161/admin
> INFO   | jvm 1    | 2011/08/08 16:20:07 |  INFO | Started
> SelectChannelConnector@0.0.0.0:8161
> -------------------
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persisted-messages-queues-topics-tp3728577p3730355.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to