...
Go to %TOMCAT_HOME%\bin directory.
Open catalinaCreate/open setenv.bat file under %TOMCAT_HOME%\bin directory
Define the following variables in catalinasetenv.bat file after the line :doneSetArgs .
- set OLE_DISCOVERY_HOME=\opt\docstore\discovery
- set OLE_DISCOVERY_PROP_HOME=%OLE_DISCOVERY_HOME%\properties
- set OLE_DISCOVERY_CONFIG_HOME=%OLE_DISCOVERY_HOME%\solr-config
- set OLE_DOCSTORE_HOME=\opt\docstore
- set OLE_DOCSTORE_PROP_HOME=%OLE_DOCSTORE_HOME%\properties
Set JAVA_OPTS as below.
(The entire text below should be in SINGLE LINE after your Discovery environment variables.)
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% |
Save the file catalinasetenv.bat
...