Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-9372

ActiveMQ fails to start - Looking for key xx but not found in fileMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.16.4
    • None
    • Broker, KahaDB
    • None

    Description

      We have recently upgraded to Apache ActiveMQ 5.16.4 in our production environment. Since, the upgrade we face an issue.

      We have setup the ActiveMQ as a Windows service which launches it through wrapper.exe. The setup is same as it was before upgrade. There is no change in setup after upgrade.

       

      Full Path to executable in service: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\wrapper.exe -s D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\wrapper.conf set.ACTIVEMQ_HOME=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\.. set.ACTIVEMQ_BASE=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..

       

      The kahadb store is at a high available file share.

      \\kahadb\kahadb\data\kahadb

       

      Wrapper.conf and ActiveMq.xml is attached to the jira. Also full wrapper.log file is attached.

       

      We stop the Windows service everyday evening. It stops gracefully. After few minutes we reboot the server (Windows server 2019). As Windows service StartUp type is set to AUTOMATIC, the service starts executing. It launches wrapper.exe to start ActiveMQ. But, ActiveMQ fails to start with following errors.

       

      It looks for a data file and does not find it and gives a warning. 

      WARN | Cannot recover message audit

      STATUS | wrapper  | 2023/10/24 19:18:39 | --> Wrapper Started as Service
      STATUS | wrapper  | 2023/10/24 19:18:39 | Launching a JVM...
      INFO   | jvm 1    | 2023/10/24 19:18:43 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
      INFO   | jvm 1    | 2023/10/24 19:18:43 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
      INFO   | jvm 1    | 2023/10/24 19:18:43 | 
      INFO   | jvm 1    | 2023/10/24 19:18:43 | Java Runtime: Red Hat, Inc. 1.8.0_345 D:\Summit\SummitTools6.3\openjdk-1.8_u345\jre
      INFO   | jvm 1    | 2023/10/24 19:18:43 |   Heap sizes: current=5024768k  free=4762519k  max=29826560k
      INFO   | jvm 1    | 2023/10/24 19:18:43 |     JVM args: -Dactivemq.home=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\.. -Dactivemq.base=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\.. -Djavax.net.ssl.keyStorePassword=actualpassword -Djavax.net.ssl.trustStorePassword=actualpassword -Djavax.net.ssl.keyStore=\\\\SumProdFil\\Summit\\Configuration\\ssl
      tomcat.ks -Djavax.net.ssl.trustStore=\\\\SumProdFil\\Summit\\Configuration\\ssl
      java_trust_store.ks -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.conf=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf -Dactivemq.data=//KahaDB/KahaDB/data -Djava.security.auth.login.config=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/login.config -Xmx32g -Xms5g -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=true -Dcom.sun.management.jmxremote.password.file=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/jmx.password -Dcom.sun.management.jmxremote.access.file=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/jmx.access -Dcom.sun.management.jmxremote.rmi.port=49234 -Djava.library.path=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../bin/win64 -Dwrapper.key=q5RtUpLMae_kHike -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=5788 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=0 -Dwrapper.jvmid=1
      INFO   | jvm 1    | 2023/10/24 19:18:43 | Extensions classpath:
      INFO   | jvm 1    | 2023/10/24 19:18:43 |   [D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\camel,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\optional,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\web,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\extra]
      INFO   | jvm 1    | 2023/10/24 19:18:43 | ACTIVEMQ_HOME: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..
      INFO   | jvm 1    | 2023/10/24 19:18:43 | ACTIVEMQ_BASE: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..
      INFO   | jvm 1    | 2023/10/24 19:18:43 | ACTIVEMQ_CONF: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\conf
      INFO   | jvm 1    | 2023/10/24 19:18:43 | ACTIVEMQ_DATA: \\KahaDB\KahaDB\data
      INFO   | jvm 1    | 2023/10/24 19:18:44 | Loading message broker from: xbean:activemq.xml
      INFO   | jvm 1    | 2023/10/24 19:18:44 |  INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@42cf8531: startup date [Tue Oct 24 19:18:44 CEST 2023]; root of context hierarchy
      INFO   | jvm 1    | 2023/10/24 19:18:46 |  INFO | Using Persistence Adapter: KahaDBPersistenceAdapter\\KahaDB\KahaDB\data\kahadb
      INFO   | jvm 1    | 2023/10/24 19:18:46 |  INFO | KahaDB is version 7
      INFO   | jvm 1    | 2023/10/24 19:18:46 | ERROR | Looking for key 22 but not found in fileMap: {26=db-26.log number = 26 , length = 33575506}
      INFO   | jvm 1    | 2023/10/24 19:18:46 |  WARN | Cannot recover message audit
      INFO   | jvm 1    | 2023/10/24 19:18:46 | java.io.IOException: Could not locate data file \\KahaDB\KahaDB\data\kahadb\db-22.log
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getDataFile(Journal.java:728)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.read(Journal.java:949)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:1196)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.recoverProducerAudit(MessageDatabase.java:825)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:702)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:485)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:505)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:309)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:223)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)
      INFO   | jvm 1    | 2023/10/24 19:18:46 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)

       

      It then looks for a another data file and does not find it and gives another warning. 

      WARN | Cannot recover ackMessageFileMap

      INFO   | jvm 1    | 2023/10/24 19:18:46 | ERROR | Looking for key 22 but not found in fileMap: {26=db-26.log number = 26 , length = 33575506}
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  WARN | Cannot recover ackMessageFileMap
      INFO   | jvm 1    | 2023/10/24 19:18:47 | java.io.IOException: Could not locate data file \\KahaDB\KahaDB\data\kahadb\db-22.log
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getDataFile(Journal.java:728)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.read(Journal.java:949)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:1196)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.recoverAckMessageFileMap(MessageDatabase.java:846)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:703)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:485)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:505)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:309)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:223)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:696)

       

      Finally it gives up and fails to start ActiveMQ.

      INFO   | jvm 1    | 2023/10/24 19:18:47 | ERROR | Looking for key 22 but not found in fileMap: {26=db-26.log number = 26 , length = 33575506}
      INFO   | jvm 1    | 2023/10/24 19:18:47 | ERROR | Failed to start Apache ActiveMQ (localhost, null)
      INFO   | jvm 1    | 2023/10/24 19:18:47 | java.io.IOException: Could not locate data file \\KahaDB\KahaDB\data\kahadb\db-22.log
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getDataFile(Journal.java:728)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getNextLocation(Journal.java:899)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getNextLocation(Journal.java:868)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.getNextInitializedLocation(MessageDatabase.java:1084)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.getRecoveryPosition(MessageDatabase.java:1076)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:704)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:485)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:505)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:309)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:223)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:696)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:680)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerService.start(BrokerService.java:644)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1748)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1685)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.main(Main.java:115)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.Thread.run(Thread.java:750)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Apache ActiveMQ 5.16.4 (localhost, null) is shutting down
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Connector ssl stopped
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | PListStore:\\KahaDB\KahaDB\data\localhost\tmp_storage stopped
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Stopping async queue tasks
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Stopping async topic tasks
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Stopped KahaDB
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Apache ActiveMQ 5.16.4 (localhost, null) uptime 1.172 seconds
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Apache ActiveMQ 5.16.4 (localhost, null) is shutdown
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@42cf8531: startup date [Tue Oct 24 19:18:44 CEST 2023]; root of context hierarchy
      INFO   | jvm 1    | 2023/10/24 19:18:47 |  WARN | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Could not locate data file \\KahaDB\KahaDB\data\kahadb\db-22.log
      INFO   | jvm 1    | 2023/10/24 19:18:47 | ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
      INFO   | jvm 1    | 2023/10/24 19:18:47 | java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.main(Main.java:115)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.Thread.run(Thread.java:750)
      INFO   | jvm 1    | 2023/10/24 19:18:47 | Caused by: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:164)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1034)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     ... 16 more
      INFO   | jvm 1    | 2023/10/24 19:18:47 | ERROR: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
      INFO   | jvm 1    | 2023/10/24 19:18:47 | java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:164)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1034)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.apache.activemq.console.Main.main(Main.java:115)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2023/10/24 19:18:47 |     at java.lang.Thread.run(Thread.java:750)
      STATUS | wrapper  | 2023/10/24 19:18:49 | <-- Wrapper Stopped

       

       

      The workaround is to manually restart(Run the Windows service again). This happens daily. Upon restart it still shows one warning i.e. 

       WARN | Cannot recover ackMessageFileMap

      But, it does not show audit related warning now and finally ActiveMQ starts successfully.

      WARN | Cannot recover message audit

       

      STATUS | wrapper  | 2023/10/24 19:19:50 | --> Wrapper Started as Service
      STATUS | wrapper  | 2023/10/24 19:19:50 | Launching a JVM...
      INFO   | jvm 1    | 2023/10/24 19:19:51 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
      INFO   | jvm 1    | 2023/10/24 19:19:51 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
      INFO   | jvm 1    | 2023/10/24 19:19:51 | 
      INFO   | jvm 1    | 2023/10/24 19:19:51 | Java Runtime: Red Hat, Inc. 1.8.0_345 D:\Summit\SummitTools6.3\openjdk-1.8_u345\jre
      INFO   | jvm 1    | 2023/10/24 19:19:51 |   Heap sizes: current=5024768k  free=4762519k  max=29826560k
      INFO   | jvm 1    | 2023/10/24 19:19:51 |     JVM args: -Dactivemq.home=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\.. -Dactivemq.base=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\.. -Djavax.net.ssl.keyStorePassword=actualpassword -Djavax.net.ssl.trustStorePassword=actualpassword -Djavax.net.ssl.keyStore=\\\\SumProdFil\\Summit\\Configuration\\ssl
      tomcat.ks -Djavax.net.ssl.trustStore=\\\\SumProdFil\\Summit\\Configuration\\ssl
      java_trust_store.ks -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.conf=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf -Dactivemq.data=//KahaDB/KahaDB/data -Djava.security.auth.login.config=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/login.config -Xmx32g -Xms5g -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=true -Dcom.sun.management.jmxremote.password.file=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/jmx.password -Dcom.sun.management.jmxremote.access.file=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../conf/jmx.access -Dcom.sun.management.jmxremote.rmi.port=49234 -Djava.library.path=D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\../bin/win64 -Dwrapper.key=x0OrEXhZOb91ltQ1 -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=1352 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=0 -Dwrapper.jvmid=1
      INFO   | jvm 1    | 2023/10/24 19:19:51 | Extensions classpath:
      INFO   | jvm 1    | 2023/10/24 19:19:51 |   [D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\camel,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\optional,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\web,D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\lib\extra]
      INFO   | jvm 1    | 2023/10/24 19:19:51 | ACTIVEMQ_HOME: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..
      INFO   | jvm 1    | 2023/10/24 19:19:51 | ACTIVEMQ_BASE: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..
      INFO   | jvm 1    | 2023/10/24 19:19:51 | ACTIVEMQ_CONF: D:\Summit\SummitTools6.3\apache-activemq-5.16.4\bin\win64\..\..\conf
      INFO   | jvm 1    | 2023/10/24 19:19:51 | ACTIVEMQ_DATA: \\KahaDB\KahaDB\data
      INFO   | jvm 1    | 2023/10/24 19:19:51 | Loading message broker from: xbean:activemq.xml
      INFO   | jvm 1    | 2023/10/24 19:19:51 |  INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@7dd575b1: startup date [Tue Oct 24 19:19:51 CEST 2023]; root of context hierarchy
      INFO   | jvm 1    | 2023/10/24 19:19:52 |  INFO | Using Persistence Adapter: KahaDBPersistenceAdapter\\KahaDB\KahaDB\data\kahadb
      INFO   | jvm 1    | 2023/10/24 19:19:52 |  INFO | KahaDB is version 7
      INFO   | jvm 1    | 2023/10/24 19:19:52 | ERROR | Looking for key 22 but not found in fileMap: {26=db-26.log number = 26 , length = 33575909}
      INFO   | jvm 1    | 2023/10/24 19:19:52 |  WARN | Cannot recover ackMessageFileMap
      INFO   | jvm 1    | 2023/10/24 19:19:52 | java.io.IOException: Could not locate data file \\KahaDB\KahaDB\data\kahadb\db-22.log
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.getDataFile(Journal.java:728)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.disk.journal.Journal.read(Journal.java:949)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:1196)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.recoverAckMessageFileMap(MessageDatabase.java:846)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:703)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:485)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:505)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:309)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:223)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:696)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:680)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.broker.BrokerService.start(BrokerService.java:644)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1748)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1685)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.apache.activemq.console.Main.main(Main.java:115)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at java.lang.reflect.Method.invoke(Method.java:498)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |     at java.lang.Thread.run(Thread.java:750)
      INFO   | jvm 1    | 2023/10/24 19:19:52 |  INFO | Recovering from the journal @26:28
      INFO   | jvm 1    | 2023/10/24 19:19:53 |  INFO | Recovery replayed 27693 operations from the journal in 1.048 seconds.
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | PListStore:\\KahaDB\KahaDB\data\localhost\tmp_storage started
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | Using persisted selector cache from\\KahaDB\KahaDB\data\selectorcache.dat
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | Apache ActiveMQ 5.16.4 (localhost, ID:NKS02797-49881-1698167992868-0:1) is starting
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | Listening for connections at: ssl://NKS02797.nkd01100.nykreditnet.net:61616?transport.enabledProtocols=TLSv1.2&needClientAuth=false&maximumConnections=10000&wireformat.maxFrameSize=104857600&wireFormat.maxInactivityDuration=0&jms.prefetchPolicy.queuePrefetch=1
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | Connector ssl started
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | Apache ActiveMQ 5.16.4 (localhost, ID:NKS02797-49881-1698167992868-0:1) started
      INFO   | jvm 1    | 2023/10/24 19:19:54 |  INFO | For help or more information please see: http://activemq.apache.org
      INFO   | jvm 1    | 2023/10/24 19:19:56 |  INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/
      INFO   | jvm 1    | 2023/10/24 19:19:56 |  INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/

       

       

       

       

      Attachments

        1. activemq.xml
          8 kB
          Md Fazle Ali
        2. image-2023-10-25-08-37-30-586.png
          66 kB
          Md Fazle Ali
        3. image-2023-10-25-08-41-40-037.png
          15 kB
          Md Fazle Ali
        4. wrapper.conf
          8 kB
          Md Fazle Ali
        5. wrapper-1.log
          1.13 MB
          Md Fazle Ali

        Activity

          People

            Unassigned Unassigned
            fazleali Md Fazle Ali
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: