<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Illegal reflective access thrown when running Alfresco Repository CE on ECS in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115084#M31948</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to run Alfresco Repository CE on Amazon Web Services ECS and I get the following error:&lt;/P&gt;&lt;PRE&gt;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&lt;/PRE&gt;&lt;P&gt;It looks like Alfresco just hangs after that.&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.docker.com/r/alfresco/alfresco-content-repository-community" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.docker.com/r/alfresco/alfresco-content-repository-community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The JAVA_OPTS look like this:&lt;/P&gt;&lt;PRE&gt;                -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=false&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot for any help!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 16:33:44 GMT</pubDate>
    <dc:creator>fabrice7</dc:creator>
    <dc:date>2020-09-08T16:33:44Z</dc:date>
    <item>
      <title>Illegal reflective access thrown when running Alfresco Repository CE on ECS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115084#M31948</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to run Alfresco Repository CE on Amazon Web Services ECS and I get the following error:&lt;/P&gt;&lt;PRE&gt;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&lt;/PRE&gt;&lt;P&gt;It looks like Alfresco just hangs after that.&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.docker.com/r/alfresco/alfresco-content-repository-community" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.docker.com/r/alfresco/alfresco-content-repository-community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The JAVA_OPTS look like this:&lt;/P&gt;&lt;PRE&gt;                -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=false&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot for any help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 16:33:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115084#M31948</guid>
      <dc:creator>fabrice7</dc:creator>
      <dc:date>2020-09-08T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal reflective access thrown when running Alfresco Repository CE on ECS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115085#M31949</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;These are not errors ,they are just warnings.&lt;BR /&gt;Plase ensure that you have started activemq,or you can try to add following java OPTS to disable messging start check.&lt;BR /&gt;-Dmessaging.subsystem.autoStart=true&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;By the way why do you choose noindex subsystem?&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Sep 2020 03:50:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115085#M31949</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-09T03:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal reflective access thrown when running Alfresco Repository CE on ECS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115086#M31950</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/39620"&gt;@kaynezhang&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 08:16:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115086#M31950</guid>
      <dc:creator>fabrice7</dc:creator>
      <dc:date>2020-09-09T08:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Illegal reflective access thrown when running Alfresco Repository CE on ECS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115087#M31951</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81742"&gt;@fabrice7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great that you got it sorted and thanks for updating us.&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 09:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/illegal-reflective-access-thrown-when-running-alfresco/m-p/115087#M31951</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-09-09T09:17:27Z</dc:date>
    </item>
  </channel>
</rss>

