I just did a simple AIO maven install and did the ./run.sh. I am using AIO SDK 4.2 starting up I am getting this error:
alfresco-acs_1 | 2021-05-02 21:12:19,815 ERROR [component.jms.DefaultJmsMessageListenerContainer] [Camel (alfrescoCamelContext) thread #1 - JmsConsumer[acs-repo-rendition-events]] Could not refresh JMS Connection for destination 'acs-repo-rendition-events' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [vm]
in my global properties I have the default:
# Embedded broker without persistence messaging.broker.url=vm://localhost?broker.persistent=false
How do I fix this? And/Or is there a way to making it persistant? Im not really sure what this does and why it's important. I just know I can't get the default install to work.
Solved! Go to Solution.
So it seems that there is a dependency missing in the default alfresco pom that is in the image. I had to import, in my alfresco-platform-docker pom, in the dependencies plugin:
<artifactItem>
<groupId>org.apache.activemq</groupId> <artifactId>activemq-broker</artifactId> <version>5.16.1</version> </artifactItem>
And now the error is gone.
Is there a public Jira or something that I can report these too?
Could likely be that the activemq did not started properly.
This is the default setting:
messaging.broker.url=\"failovernio://localhost:61616)?timeout=3000&jms.useCompression=true\"
if you don't want to use transformation services and disable actibemq then you can add following in global properties:
messaging.subsystem.autoStart=false
Try following docker commands and see if you can find all services up and running as defined in docker-compose.yml:
docker ps
So it seems that there is a dependency missing in the default alfresco pom that is in the image. I had to import, in my alfresco-platform-docker pom, in the dependencies plugin:
<artifactItem>
<groupId>org.apache.activemq</groupId> <artifactId>activemq-broker</artifactId> <version>5.16.1</version> </artifactItem>
And now the error is gone.
Is there a public Jira or something that I can report these too?
Hi there,
I am having the same error message in my SDK4.2 AIO project. Where exactly should I add
<artifactItem>
<groupId>org.apache.activemq</groupId> <artifactId>activemq-broker</artifactId> <version>5.16.1</version> </artifactItem>
Do you mind sharing your modified pom.xml under platform-docker? Like below?
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<artifactItem>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
<version>5.16.1</version>
</artifactItem>
Thanks,
Qing
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.