{"id":16564,"date":"2021-07-31T20:51:01","date_gmt":"2021-07-31T18:51:01","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/"},"modified":"2021-07-31T20:51:01","modified_gmt":"2021-07-31T18:51:01","slug":"alfresco-activemq-not-starting-blocking-alfresco","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/","title":{"rendered":"Alfresco &#8211; ActiveMQ not starting, blocking Alfresco"},"content":{"rendered":"<p>As already mentioned in a <a href=\"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-basic-setup\/\" target=\"_blank\" rel=\"noopener\">previous blog<\/a>, ActiveMQ has been used in the scope of Alfresco since quite some time. Initially, as an optional component but then, it became mandatory. Just like for the Database, if ActiveMQ isn&#8217;t installed or not reachable, Alfresco will never completely start. Of course, for the Database, you will see that quickly since there will be errors on the Alfresco startup logs but that&#8217;s not really the case for ActiveMQ because it is only a subsystem and Alfresco will just quietly wait for this &#8220;Messaging&#8221; subsystem to be available before continuing the startup process. In this blog, I will show a case I faced recently where ActiveMQ wouldn&#8217;t start for a non-obvious reason and therefore Alfresco was stuck in the startup process as well.<\/p>\n<p>&nbsp;<\/p>\n<p>You can always try to disable the automatic startup of the &#8220;Messaging&#8221; subsystem (using &#8220;<em>messaging.subsystem.autoStart=false<\/em>&#8220;) and you might want to disable the Event one as well. However, it should only stop the automatic startup of the subsystem, that doesn&#8217;t mean that it won&#8217;t be started later, on-demand. Another alternative could be to use the in-memory broker queue (using something like &#8220;<em>messaging.broker.url=vm:\/\/localhost?broker.persistent=false<\/em>&#8221; and making sure you have the activemq broker jar loaded). These options are out of scope of this blog since I needed a real ActiveMQ installation, working.<\/p>\n<p>&nbsp;<\/p>\n<p>So, in case the startup of Alfresco is blocked on the &#8220;Messaging&#8221; subsystem, the logs will contain something like:<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1; highlight: [19]\">alfresco@alf01:~$ cat \/opt\/tomcat\/logs\/catalina.out\n...\n2021-07-09 12:15:00,670  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]\n2021-07-09 12:15:00,692  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete\n2021-07-09 12:15:00,713  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]\n2021-07-09 12:15:00,903  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete\n2021-07-09 12:15:00,979  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v11.0.10+9-Ubuntu-0ubuntu1.18.04; maximum heap size 4096.000MB\n2021-07-09 12:15:01,019  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] ================================================================\n2021-07-09 12:15:01,020  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco license: Mode ENTERPRISE, cluster:enabled granted to Trial User limited to 2 days expiring Sun Jul 11 00:00:00 CEST 2021 (2 days remaining).\n2021-07-09 12:15:01,032  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] Note: this is a limited trial of the Enterprise version of Alfresco Content Services that goes into read-only mode after 2 days. Request an extended 30-day trial at: https:\/\/www.alfresco.com\/platform\/content-services-ecm\/trial\/docker\n2021-07-09 12:15:01,033  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] ================================================================\n2021-07-09 12:15:01,034  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :PRODUCTION\n2021-07-09 12:15:01,035  INFO  [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco Content Services started (Enterprise). Current version: 6.1.1 (3 r1dba1394-b23) schema 12,005. Originally installed version: 6.1.1 (3 r1dba1394-b23) schema 12,005.\n2021-07-09 12:15:01,102  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]\n2021-07-09 12:15:01,892  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete\n2021-07-09 12:15:02,612  INFO  [repo.authorization.AuthorizationService] [localhost-startStop-1] Preauthorized user: admin\n2021-07-09 12:15:02,620  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]\n2021-07-09 12:15:02,640  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete\n2021-07-09 12:15:05,278  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Messaging' subsystem, ID: [Messaging, default]\n2021-07-09 12:15:44,013  WARN  [repo.usage.RepoUsageMonitor] [DefaultScheduler_Worker-3] The Alfresco Content Services license will expire in 2 days.\n09-Jul-2021 12:16:17.538 INFO [hz._hzInstance_1_slingshot.cached.thread-3] com.hazelcast.nio.SocketAcceptor.null [alf01.dbi-services.com]:5801 [slingshot] 5801 is accepting socket connection from \/10.10.10.12:56601\n09-Jul-2021 12:16:17.551 INFO [hz._hzInstance_1_slingshot.cached.thread-3] com.hazelcast.nio.ConnectionManager.null [alf01.dbi-services.com]:5801 [slingshot] 5801 accepted socket connection from \/10.10.10.12:56601\n09-Jul-2021 12:16:24.522 INFO [hz._hzInstance_1_slingshot.ServiceThread] com.hazelcast.cluster.ClusterManager.null [alf01.dbi-services.com]:5801 [slingshot]\n\nMembers [2] {\n Member [alf01.dbi-services.com]:5801 this\n Member [alf02.dbi-services.com]:5801\n}\n\n2021-07-09 12:17:29,624  INFO  [cluster.core.MembershipChangeLogger] [hz._hzInstance_1_MainRepository-e941bb53-3778-456a-b330-ecfb98f54c2a.event-5] Member joined: 10.10.10.12:5701 (hostname: alf02.dbi-services.com)\n2021-07-09 12:17:29,629  INFO  [cluster.core.MembershipChangeLogger] [hz._hzInstance_1_MainRepository-e941bb53-3778-456a-b330-ecfb98f54c2a.event-5] Current cluster members:\n 10.10.10.11:5701 (hostname: alf01.dbi-services.com)\n 10.10.10.12:5701 (hostname: alf02.dbi-services.com)\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>As shown above, the last message during startup is &#8220;<em>Starting &#8216;Messaging&#8217; subsystem, ID: [Messaging, default]<\/em>&#8220;. After that, nothing happens anymore (remaining messages are related to license status and cluster management). As mentioned previously, this is because ActiveMQ is either not running at all, currently starting or just unreachable. Looking at the ActiveMQ logs showed the below:<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1\">alfresco@alf01:~$ date\nFri Jul  9 12:18:01 CEST 2021\nalfresco@alf01:~$\nalfresco@alf01:~$ cat \/opt\/activemq\/logs\/activemq.log\n2021-07-09 12:14:33,968 | INFO  | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@130161f7: startup date [Fri Jul 09 12:14:33 CEST 2021]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main\n2021-07-09 12:14:35,745 | INFO  | Using Persistence Adapter: KahaDBPersistenceAdapter[\/data\/activemq\/kahadb] | org.apache.activemq.broker.BrokerService | main\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>ActiveMQ is apparently in the starting process but it is also stuck on the Persistence Adapter. Looking at the configuration and the current files present:<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1\">alfresco@alf01:~$ grep -A2 \"&lt;persistenceAdapter\" \/opt\/activemq\/conf\/activemq.xml\n        &lt;persistenceAdapter&gt;\n            &lt;kahaDB directory=\"\/data\/activemq\/kahadb\"\/&gt;\n        &lt;\/persistenceAdapter&gt;\nalfresco@alf01:~$\nalfresco@alf01:~$ ll \/data\/activemq\/kahadb\/\ntotal 180\ndrwxr-x--- 1 alfresco alfresco       52 Jul  9 12:14 .\/\ndrwxr-x--- 1 alfresco alfresco       12 Jul  9 12:14 ..\/\n-rw-r----- 1 alfresco alfresco        8 Jul  9 12:14 lock\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>So, the lock file seems present but there is no DB yet. This usually happens when the lock wasn&#8217;t set yet. This environment is an Alfresco Cluster, with therefore multiple nodes and multiple ActiveMQ as well. The simplest setup in this case is to use a shared storage for the kahaDB (using NAS in this case). To debug the issue, I tried to start the ActiveMQ but with a local path, which isn&#8217;t on a NAS. It started properly:<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1; highlight: [3,4]\">alfresco@alf01:~$ cat \/opt\/activemq\/logs\/activemq.log\n2021-07-09 12:22:11,112 | INFO  | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@130161f7: startup date [Fri Jul 09 12:22:11 CEST 2021]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main\n2021-07-09 12:22:14,604 | INFO  | Using Persistence Adapter: KahaDBPersistenceAdapter[\/opt\/activemq\/data\/kahadb] | org.apache.activemq.broker.BrokerService | main\n2021-07-09 12:22:14,839 | INFO  | PListStore:[\/opt\/activemq\/data\/alfdms.b1\/tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main\n2021-07-09 12:22:15,088 | INFO  | Apache ActiveMQ 5.15.6 (alfdms.b1, ID:alf01-37899-1625826134875-0:1) is starting | org.apache.activemq.broker.BrokerService | main\n2021-07-09 12:22:15,176 | INFO  | Listening for connections at: tcp:\/\/alf01:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 12:22:15,181 | INFO  | Connector openwire started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 12:22:15,207 | INFO  | Listening for connections at: amqp:\/\/alf01:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 12:22:15,215 | INFO  | Connector amqp started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 12:22:15,235 | INFO  | Listening for connections at: stomp:\/\/alf01:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 12:22:15,244 | INFO  | Connector stomp started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 12:22:15,263 | INFO  | Listening for connections at: mqtt:\/\/alf01:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 12:22:15,268 | INFO  | Connector mqtt started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 12:22:15,855 | WARN  | ServletContext@o.e.j.s.ServletContextHandler@4f449e8f{\/,null,STARTING} has uncovered http methods for path: \/ | org.eclipse.jetty.security.SecurityHandler | main\n2021-07-09 12:22:16,039 | INFO  | Listening for connections at ws:\/\/alf01:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.ws.WSTransportServer | main\n2021-07-09 12:22:16,041 | INFO  | Connector ws started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 12:22:16,043 | INFO  | Apache ActiveMQ 5.15.6 (alfdms.b1, ID:alf01-37899-1625826134875-0:1) started | org.apache.activemq.broker.BrokerService | main\n2021-07-09 12:22:16,045 | INFO  | For help or more information please see: http:\/\/activemq.apache.org | org.apache.activemq.broker.BrokerService | main\n2021-07-09 12:22:16,052 | WARN  | Store limit is 10240 mb (current store usage is 0 mb). The data directory: \/opt\/activemq\/data\/kahadb only has 8960 mb of usable space. - resetting to maximum available disk space: 8960 mb | org.apache.activemq.broker.BrokerService | main\n2021-07-09 12:22:17,585 | INFO  | No Spring WebApplicationInitializer types detected on classpath | \/admin | main\n2021-07-09 12:22:18,425 | INFO  | ActiveMQ WebConsole available at http:\/\/0.0.0.0:8161\/ | org.apache.activemq.web.WebConsoleStarter | main\n2021-07-09 12:22:18,426 | INFO  | ActiveMQ Jolokia REST API available at http:\/\/0.0.0.0:8161\/api\/jolokia\/ | org.apache.activemq.web.WebConsoleStarter | main\n2021-07-09 12:22:18,526 | INFO  | Initializing Spring FrameworkServlet 'dispatcher' | \/admin | main\n2021-07-09 12:22:18,802 | INFO  | No Spring WebApplicationInitializer types detected on classpath | \/api | main\n2021-07-09 12:22:18,992 | INFO  | jolokia-agent: Using policy access restrictor classpath:\/jolokia-access.xml | \/api | main\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>As soon as ActiveMQ was running, Alfresco could continue the startup process as well:<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1; highlight: [6]\">2021-07-09 12:17:29,624  INFO  [cluster.core.MembershipChangeLogger] [hz._hzInstance_1_MainRepository-e941bb53-3778-456a-b330-ecfb98f54c2a.event-5] Member joined: 10.10.10.12:5701 (hostname: alf02.dbi-services.com)\n2021-07-09 12:17:29,629  INFO  [cluster.core.MembershipChangeLogger] [hz._hzInstance_1_MainRepository-e941bb53-3778-456a-b330-ecfb98f54c2a.event-5] Current cluster members:\n 10.10.10.11:5701 (hostname: alf01.dbi-services.com)\n 10.10.10.12:5701 (hostname: alf02.dbi-services.com)\n\n2021-07-09 12:22:25,435  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Messaging' subsystem, ID: [Messaging, default] complete\n2021-07-09 12:22:36,007  INFO  [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 500 Web Scripts (+0 failed), 656 URLs\n2021-07-09 12:22:36,020  INFO  [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)\n2021-07-09 12:22:36,021  INFO  [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)\n2021-07-09 12:22:36,106  INFO  [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Web Scripts (+0 failed), 0 URLs\n...<\/pre>\n<p>&nbsp;<\/p>\n<p>So, this issue is linked to the NAS. Since I already faced this kind of issue in the past years, I tried looking at the ports used by the NAS for the nlockmgr (Lock Manager):<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">alfresco@alf01:~$ rpcinfo -p 10.10.1.101 | grep nlockmgr\n    100021    1   udp  52352  nlockmgr\n    100021    3   udp  52352  nlockmgr\n    100021    4   udp  52352  nlockmgr\n    100021    1   tcp  46364  nlockmgr\n    100021    3   tcp  46364  nlockmgr\n    100021    4   tcp  46364  nlockmgr\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>I asked a colleague to look at the traces on the network layer, to see if something was being blocked\/dropped and he could confirm me that the issue was simply that the port tcp\/46364 was closed on the FireWall between the Alfresco\/ActiveMQ VM and the NAS. Opening the port allowed ActiveMQ to request a lock of the file and therefore to start properly while using the NAS (port opened ~6min after the startup):<\/p>\n<pre class=\"brush: java; gutter: true; first-line: 1; highlight: [3,4]\">alfresco@alf01:~$ cat \/opt\/activemq\/logs\/activemq.log\n2021-07-09 13:51:07,231 | INFO  | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@130161f7: startup date [Fri Jul 09 13:51:07 CEST 2021]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main\n2021-07-09 13:51:10,349 | INFO  | Using Persistence Adapter: KahaDBPersistenceAdapter[\/data\/activemq\/kahadb] | org.apache.activemq.broker.BrokerService | main\n2021-07-09 13:57:44,643 | INFO  | PListStore:[\/opt\/activemq\/data\/alfdms.b1\/tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main\n2021-07-09 13:57:44,794 | INFO  | Apache ActiveMQ 5.15.6 (alfdms.b1, ID:alf01-40847-1625831864661-0:1) is starting | org.apache.activemq.broker.BrokerService | main\n2021-07-09 13:57:44,819 | INFO  | Listening for connections at: tcp:\/\/alf01:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 13:57:44,821 | INFO  | Connector openwire started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 13:57:44,830 | INFO  | Listening for connections at: amqp:\/\/alf01:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 13:57:44,834 | INFO  | Connector amqp started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 13:57:44,843 | INFO  | Listening for connections at: stomp:\/\/alf01:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 13:57:44,846 | INFO  | Connector stomp started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 13:57:44,857 | INFO  | Listening for connections at: mqtt:\/\/alf01:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main\n2021-07-09 13:57:44,859 | INFO  | Connector mqtt started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 13:57:45,171 | WARN  | ServletContext@o.e.j.s.ServletContextHandler@4f449e8f{\/,null,STARTING} has uncovered http methods for path: \/ | org.eclipse.jetty.security.SecurityHandler | main\n2021-07-09 13:57:45,273 | INFO  | Listening for connections at ws:\/\/alf01:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.ws.WSTransportServer | main\n2021-07-09 13:57:45,274 | INFO  | Connector ws started | org.apache.activemq.broker.TransportConnector | main\n2021-07-09 13:57:45,283 | INFO  | Apache ActiveMQ 5.15.6 (alfdms.b1, ID:alf01-40847-1625831864661-0:1) started | org.apache.activemq.broker.BrokerService | main\n2021-07-09 13:57:45,285 | INFO  | For help or more information please see: http:\/\/activemq.apache.org | org.apache.activemq.broker.BrokerService | main\n2021-07-09 13:57:47,106 | INFO  | No Spring WebApplicationInitializer types detected on classpath | \/admin | main\n2021-07-09 13:57:48,247 | INFO  | ActiveMQ WebConsole available at http:\/\/0.0.0.0:8161\/ | org.apache.activemq.web.WebConsoleStarter | main\n2021-07-09 13:57:48,247 | INFO  | ActiveMQ Jolokia REST API available at http:\/\/0.0.0.0:8161\/api\/jolokia\/ | org.apache.activemq.web.WebConsoleStarter | main\n2021-07-09 13:57:48,297 | INFO  | Initializing Spring FrameworkServlet 'dispatcher' | \/admin | main\n2021-07-09 13:57:48,484 | INFO  | No Spring WebApplicationInitializer types detected on classpath | \/api | main\n2021-07-09 13:57:48,640 | INFO  | jolokia-agent: Using policy access restrictor classpath:\/jolokia-access.xml | \/api | main\nalfresco@alf01:~$\nalfresco@alf01:~$ ll \/data\/activemq\/kahadb\/\ntotal 180\ndrwxr-x--- 1 alfresco alfresco       52 Jul  9 13:57 .\/\ndrwxr-x--- 1 alfresco alfresco       12 Jul  9 13:57 ..\/\n-rw-r----- 1 alfresco alfresco  3554432 Jul  9 14:03 db-1.log\n-rw-r----- 1 alfresco alfresco    53248 Jul  9 14:03 db.data\n-rw-r----- 1 alfresco alfresco    53344 Jul  9 14:03 db.redo\n-rw-r----- 1 alfresco alfresco        8 Jul  9 13:57 lock\nalfresco@alf01:~$<\/pre>\n<p>&nbsp;<\/p>\n<p>There are other reasons why ActiveMQ might not start properly but usually, what&#8217;s happening will be written inside the logs. This one is one of the few cases I faced where it&#8217;s not that obvious&#8230;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As already mentioned in a previous blog, ActiveMQ has been used in the scope of Alfresco since quite some time. Initially, as an optional component but then, it became mandatory. Just like for the Database, if ActiveMQ isn&#8217;t installed or not reachable, Alfresco will never completely start. Of course, for the Database, you will see [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,525],"tags":[1647,3169,2363,2364,2365],"type_dbi":[],"class_list":["post-16564","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-enterprise-content-management","tag-activemq","tag-alfresco","tag-firewall","tag-kahadb","tag-nas"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Alfresco - ActiveMQ not starting, blocking Alfresco - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alfresco - ActiveMQ not starting, blocking Alfresco\" \/>\n<meta property=\"og:description\" content=\"As already mentioned in a previous blog, ActiveMQ has been used in the scope of Alfresco since quite some time. Initially, as an optional component but then, it became mandatory. Just like for the Database, if ActiveMQ isn&#8217;t installed or not reachable, Alfresco will never completely start. Of course, for the Database, you will see [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-31T18:51:01+00:00\" \/>\n<meta name=\"author\" content=\"Morgan Patou\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MorganPatou\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Morgan Patou\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/\"},\"author\":{\"name\":\"Morgan Patou\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"headline\":\"Alfresco &#8211; ActiveMQ not starting, blocking Alfresco\",\"datePublished\":\"2021-07-31T18:51:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/\"},\"wordCount\":591,\"commentCount\":0,\"keywords\":[\"ActiveMQ\",\"Alfresco\",\"FireWall\",\"KahaDB\",\"NAS\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/\",\"name\":\"Alfresco - ActiveMQ not starting, blocking Alfresco - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2021-07-31T18:51:01+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/alfresco-activemq-not-starting-blocking-alfresco\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alfresco &#8211; ActiveMQ not starting, blocking Alfresco\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/c4d05b25843a9bc2ab20415dae6bd2d8\",\"name\":\"Morgan Patou\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"caption\":\"Morgan Patou\"},\"description\":\"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\\\/Banking, and the Pharmaceutical industry.\",\"sameAs\":[\"https:\\\/\\\/blog.dbi-services.com\\\/author\\\/morgan-patou\\\/\",\"https:\\\/\\\/x.com\\\/MorganPatou\"],\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/morgan-patou\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Alfresco - ActiveMQ not starting, blocking Alfresco - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/","og_locale":"en_US","og_type":"article","og_title":"Alfresco - ActiveMQ not starting, blocking Alfresco","og_description":"As already mentioned in a previous blog, ActiveMQ has been used in the scope of Alfresco since quite some time. Initially, as an optional component but then, it became mandatory. Just like for the Database, if ActiveMQ isn&#8217;t installed or not reachable, Alfresco will never completely start. Of course, for the Database, you will see [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/","og_site_name":"dbi Blog","article_published_time":"2021-07-31T18:51:01+00:00","author":"Morgan Patou","twitter_card":"summary_large_image","twitter_creator":"@MorganPatou","twitter_misc":{"Written by":"Morgan Patou","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/"},"author":{"name":"Morgan Patou","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"headline":"Alfresco &#8211; ActiveMQ not starting, blocking Alfresco","datePublished":"2021-07-31T18:51:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/"},"wordCount":591,"commentCount":0,"keywords":["ActiveMQ","Alfresco","FireWall","KahaDB","NAS"],"articleSection":["Application integration &amp; Middleware","Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/","url":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/","name":"Alfresco - ActiveMQ not starting, blocking Alfresco - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2021-07-31T18:51:01+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/alfresco-activemq-not-starting-blocking-alfresco\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Alfresco &#8211; ActiveMQ not starting, blocking Alfresco"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8","name":"Morgan Patou","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","caption":"Morgan Patou"},"description":"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\/Banking, and the Pharmaceutical industry.","sameAs":["https:\/\/blog.dbi-services.com\/author\/morgan-patou\/","https:\/\/x.com\/MorganPatou"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=16564"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16564\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=16564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=16564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=16564"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=16564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}