Versions Compared

Key

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

...

Code Block
languagebash
db_name = oscar?zeroDateTimeBehavior=round&useOldAliasMetadataBehavior=true&jdbcCompliantTruncation=false
db_username = root
db_password = <password>
BASE_DOCUMENT_DIR=/var/lib/OscarDocument/ #make sure this exists, and permissions are ok


 

Lastly, deploy the WAR, and restart Tomcat.

Code Block
languagebash
cd target
/opt/tomcat/bin/shutdown.sh
cp oscar-14.0.0-SNAPSHOT.war /opt/tomcat/webapps/oscar.war
/opt/tomcat/bin/startup.sh


You can now access OSCAR  with your browser at http://localhost:8080/oscar/

your log file is /opt/tomcat/logs/catalina.out