Versions Compared

Key

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

...

Inside /opt/shrine/tomcat/conf/context.xml, add a ?serverTimezone=UTC parameter to each mysql URL. (No change is needed if you are using a different brand of database.)

Code Block
languagexml
themeRDark
...
<Context>
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <Resource name="jdbc/problemDB" auth="Container" type="javax.sql.DataSource"
              maxTotal="128" maxIdle="32" maxWaitMillis="10000"
              username="shrine" password="demouser" driverClassName="com.mysql.jdbc.Driver"
              url="jdbc:mysql://localhost:3306/shrine_query_history?serverTimezone=UTC"
              testOnBorrow="true" validationQuery="SELECT 1" />
...

...

If your site uses the ACT aim 3 plugins reconfigure them to use this SHRINE endpoint URL:

Code Block
languagexml
themeRDark
https://your.shrine.node:6443/shrine-api/aim3/xml

...

Code Block
languagebash
themeRDark
# Set Tomcat options
export CATALINA_OPTS="$CATALINA_OPTS -server -Xms1024m -Xmx3072m -Duser.timezone=America/New_York"

Ensure that adapterMappingsFileName exists in shrine.conf

Please ensure that the adapterMappingsFileName directive exists under the adapter section in shrine.conf, and that it points to a valid adapter mappings file.