Versions Compared

Key

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

...

  • By default JOC Cockpit starts the H2® database in embedded mode which does not allow shared access.
  • For shared access the H2® database can be configured for mixed mode which includes to add the AUTO_SERVER=TRUE parameter to the JDBC URL.
    • By default JOC Cockpit makes use of the hibernate.cfg.xml Hibernate file in the /var/sos-berlin.com/js7/joc/resources/joc directory, for details see JS7 - Database.
    • Users can add the AUTO_SERVER=TRUE parameter to the JDBC URL like this:

      Code Block
      languagexml
      <property name="jakarta.persistence.jdbc.url">jdbc:h2:./resources/joc/h2/joc;MODE=LEGACY;AUTO_SERVER=TRUE</property>


    • For shared access the AUTO_SERVER=TRUE parameter similarly has to be used for URLs specified by the Operation Script.
  • It is recommended to activate shared access as this allows to take online backups while JOC Cockpit is up and running.

...