cancel
Showing results for 
Search instead for 
Did you mean: 

Endeless starting of Messaging subsystem

npavlov
Confirmed Champ
Confirmed Champ

I try to start tomcat with alfresco (6.0 community) and get:

...

2019-03-12 18:19:47,215 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2019-03-12 18:19:47,216 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2019-03-12 18:19:47,345 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2019-03-12 18:19:51,543 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Messaging' subsystem, ID: [Messaging, default]

What is the Messaging subsystem? I can't find it here (Subsystem categories | Alfresco Documentation )

And what should I do with this problem?

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

The Messaging subsystem in Alfresco 6.1 is used for the communication with ActiveMQ for all the new, fancy out-of-process event processing functionality. It is technically speaking an optional component as Alfresco runs fine without it, and it appears someone at Alfresco forgot to implement a timeout in the attempt to connect to ActiveMQ.

You can disable the auto-start of the Messaging subsystem by configuring the following in alfresco-global.properties (or specify it as a -D parameter in a Docker scenario):

messaging.subsystem.autoStart=false

Edit: Please note the added information in an additional reply to my answer.

View answer in original post

7 REPLIES 7

You may use the Out-Of-Process SDK with Alfresco 7.1:

https://docs.alfresco.com/content-services/latest/develop/oop-ext-points/

Hyland Developer Evangelist

queenjuliet
Champ in-the-making
Champ in-the-making

For docker-compose.yml file: add -Dmessaging.subsystem.autoStart=false in the JAVA_OPTS section. 

npavlov
Confirmed Champ
Confirmed Champ

It was required to install ActiveMQ. But I haven't it installed.

Disabling it in alfresco-global.properties also works.