cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with configuring solr in Alfresco 6

nettania
Confirmed Champ
Confirmed Champ

Hi,

I am trying to deploy alfresco6 on a W2019 server with openjdk 11 using this manual. However when I try to start the solr server I get the following error message:

ERROR: On Java 9 you cannot set GC_LOG_OPTS, only default GC logging is available. Exiting

I am using the following command:

solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"

How can I remove the GC_LOG_OPTS

Thank you for your help,

Florian

1 ACCEPTED ANSWER

oounoughi
Star Contributor
Star Contributor

Hi,

Look in the startup script : solr.in.cmd

Check for the line : set "GC_LOG_OPTS=...."

Regards,

O.

View answer in original post

1 REPLY 1

oounoughi
Star Contributor
Star Contributor

Hi,

Look in the startup script : solr.in.cmd

Check for the line : set "GC_LOG_OPTS=...."

Regards,

O.