Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •        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%
  -Xms512m -Xmx1g -XX:MaxPermSize=256m
 -Dapp.environment=local
 -Dsolr.solr.home="%OLE_DISCOVERY_CONFIG_HOME%"
 -Ddiscovery.properties.file="%OLE_DISCOVERY_PROP_HOME%\ole-discovery.properties"
 -Dolebibeditor.properties.home="%OLE_DOCSTORE_PROP_HOME%"
 -Ddocstore.properties.home="%OLE_DOCSTORE_PROP_HOME%"
 -Dorg.apache.jackrabbit.repository.home="%OLE_DOCSTORE_HOME%\jackrabbit"
 -Dorg.apache.jackrabbit.repository.conf="%OLE_DOCSTORE_PROP_HOME%\ repository.xml"

...