[ https://issues.apache.org/jira/browse/SOLR-16406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Wöckinger updated SOLR-16406: ------------------------------------ Description: As documented there are several ways to enable Solr modules. When using -Dsolr.modules=analysis-extras all works as expected and the start up produces following log: {code:java} 2022-09-09T12:31:41.911492838Z 2022-09-09 12:31:41.910 INFO (main) [] o.a.s.c.SolrResourceLoader Added 12 libs to classloader, from paths: [/opt/solr/modules/analysis-extras/lib] 2022-09-09T12:31:41.911590590Z 2022-09-09 12:31:41.911 INFO (main) [] o.a.s.c.NodeConfig Added module analysis-extras. libPath=/opt/solr/modules/analysis-extras/lib with 12 libs {code} But when using SOLR_MODULES=analysis-extras in solr.in.sh the module is not loaded. Additionally i checked the `solr` (under /opt/bin/solr) script itself and /opt/solr/bin/solr.in.sh is included was: As documented there are several ways to enable Solr modules. When using -Dsolr.modules=analysis-extras all works as expected and the start up produces following log: ``` 2022-09-09T12:31:41.911492838Z 2022-09-09 12:31:41.910 INFO (main) [] o.a.s.c.SolrResourceLoader Added 12 libs to classloader, from paths: [/opt/solr/modules/analysis-extras/lib] 2022-09-09T12:31:41.911590590Z 2022-09-09 12:31:41.911 INFO (main) [] o.a.s.c.NodeConfig Added module analysis-extras. libPath=/opt/solr/modules/analysis-extras/lib with 12 libs ``` But when using SOLR_MODULES=analysis-extras in solr.in.sh the module is not loaded. Additionally i checked the `solr` (under /opt/bin/solr) script itself and /opt/solr/bin/solr.in.sh is included > Module loading does not work when using SOLR_MODULES in solr.in.sh > ------------------------------------------------------------------ > > Key: SOLR-16406 > URL: https://issues.apache.org/jira/browse/SOLR-16406 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Server > Affects Versions: 9.0 > Reporter: Thomas Wöckinger > Priority: Major > > As documented there are several ways to enable Solr modules. > When using -Dsolr.modules=analysis-extras all works as expected and the start > up produces following log: > {code:java} > 2022-09-09T12:31:41.911492838Z 2022-09-09 12:31:41.910 INFO (main) [] > o.a.s.c.SolrResourceLoader Added 12 libs to classloader, from paths: > [/opt/solr/modules/analysis-extras/lib] > 2022-09-09T12:31:41.911590590Z 2022-09-09 12:31:41.911 INFO (main) [] > o.a.s.c.NodeConfig Added module analysis-extras. > libPath=/opt/solr/modules/analysis-extras/lib with 12 libs {code} > But when using SOLR_MODULES=analysis-extras in solr.in.sh the module is not > loaded. > Additionally i checked the `solr` (under /opt/bin/solr) script itself and > /opt/solr/bin/solr.in.sh is included > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org