Versions Compared

Key

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

...

To change the storage database to a different data source the Java system property storage.datasource should be set to provide the id of a data source registered within Weave. In a standard Weave installation, this can be done in the startup.cmd and/or weave-service.conf filestheby adding a new line to the ...\jetty_base\start.d\weave.ini file. Other installations may have other methods to set system properties. If the storage.datasource property isn't specified then Weave will use the value "system.datasource", which is the id of the internal HSQLDB database.


none
Code Block
none
titlestartupweave.cmd ini line to change storage database, assumes a Weave datasource with the id 'ds.sqlserver'
SET JAVA_OPTS=%JAVA_OPTS% -Dstorage.datasource=ds.sqlserver

...