You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK 4.3 - Alfresco AIO jar archetype is including active-mq all jar at module level instead of docker project level
Expected Behavior
When i try to build amp and deploy to remote server it should work correctly.
Current Behavior
Alfresco fails to start after applying the amp and following error is thrown that relates to "activemq-all-xx.jar"
[web.context.ContextLoader] [main] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMappings' defined in URL [jar:file:/opt/alfresco7/tomcat/webapps/alfresco/WEB-INF/lib/spring-webscripts-8.22.jar!/org/springframework/extensions/webscripts/spring-webscripts-mvc-context.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.web.servlet.handler.AbstractHandlerMapping.obtainApplicationContext()Lorg/springframework/context/ApplicationContext;
Moved the activemq-all dependency from parent pom.xml to platform-docker pom.xml in order to avoid it being included in the amp. Inclusion in the amp caused issues when amp is deployed on a server.
abhinavmishra14
changed the title
Alfresco AIO jar archetype is including activemq-all jar at module level instead of docker project level
SDK 4.3 - Alfresco AIO jar archetype is including activemq-all jar at module level instead of docker project level
Jan 25, 2022
SDK 4.3 - Alfresco AIO jar archetype is including active-mq all jar at module level instead of docker project level
Expected Behavior
When i try to build amp and deploy to remote server it should work correctly.
Current Behavior
Alfresco fails to start after applying the amp and following error is thrown that relates to "activemq-all-xx.jar"
See full detail here: https://hub.alfresco.com/t5/alfresco-content-services-forum/error-deploying-aio-with-sdk-4-3/m-p/310967/highlight/false#M26453
Possible Solution
Moved the activemq-all dependency from parent pom.xml to platform-docker pom.xml in order to avoid it being included in the amp. Inclusion in the amp caused issues when amp is deployed on a server.
Solution : https://hub.alfresco.com/t5/alfresco-content-services-forum/error-deploying-aio-with-sdk-4-3/m-p/310991#M26467
See the PR: #628
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: