09-08-2020 12:33 PM
Hi all,
I am trying to run Alfresco Repository CE on Amazon Web Services ECS and I get the following error:
2020-09-08 15:50:30,566 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Messaging' subsystem, ID: [Messaging, default] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.activemq.util.IntrospectionSupport (file:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib/activemq-client-5.15.11.jar) to method sun.security.ssl.SSLSocketImpl.setHost(java.lang.String) WARNING: Please consider reporting this to the maintainers of org.apache.activemq.util.IntrospectionSupport WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
It looks like Alfresco just hangs after that.
I am using Alfresco Repository CE 6.3.0; it is running inside ECS and I am building my own Docker images based off this one:
https://hub.docker.com/r/alfresco/alfresco-content-repository-community
The JAVA_OPTS look like this:
-Ddir.root=/usr/local/tomcat/alf_data
-Ddb.driver=org.mariadb.jdbc.Driver
-Dindex.subsystem.name=noindex
-Dalfresco.host=acs-repository.${Project}.lan
-Dalfresco.port=443
-Dalfresco.protocol=https
-Daos.baseUrlOverwrite=https://acs-repository.${Project}.lan:443/alfresco/aos
-Dmessaging.broker.connections.max=8
-Dmessaging.broker.url="failover:(${Amazonmq.Outputs.OpenwireEndpoints})"
-Dcsrf.filter.enabled=false
-Djodconverter.enabled=false
-Djodconverter.officeHome=null
-Xms3500m
-Xmx3500m
-Dlocal.transform.service.enabled=false
-Dtransform.service.enabled=false
-Dlegacy.transform.service.enabled=false
-DsyncService.mode=OFF
-Dsync.mode=OFF
-Dsync.pullJob.enabled=false
-Dsync.pushJob.enabled=false
-Dsystem.usages.enabled=false
-Dsystem.usages.clearBatchSize=0
-Dactivities.feed.notifier.enabled=false
-Dactivities.feed.cleaner.enabled=false
-Dactivities.post.cleaner.enabled=false
-Dactivities.feed.generator.enabled=false
-Dactivities.post.lookup.enabled=false
-Dreplication.enabled=false
-Dtransferservice.receiver.enabled=false
-Dsystem.thumbnail.generate=falseThanks a lot for any help!
09-09-2020 04:16 AM
Hi @kaynezhang ,
Thanks for your input. Actually, I found the problem: my security groups didn't allow the Alfresco Repository to connect to the AmazonMQ broker. I fixed that and it now moves a bit further.
Thanks for your help!
09-08-2020 11:50 PM
09-09-2020 04:16 AM
Hi @kaynezhang ,
Thanks for your input. Actually, I found the problem: my security groups didn't allow the Alfresco Repository to connect to the AmazonMQ broker. I fixed that and it now moves a bit further.
Thanks for your help!
09-09-2020 05:17 AM
Hi @fabrice7
Great that you got it sorted and thanks for updating us.
Best wishes,
Explore our Alfresco products with the links below. Use labels to filter content by product module.