Most Significant Changes went from
- Java 8 to Java 11
- Tomcat 8 to Tomcat 9
- Maven 3.3 to Maven 3.6
- Mysql server 5.7 to version 8.0
- Spring 3.2 to Spring 5.1
- Hibernate 3.6 to Hibernate 5.4
- JQuery 1.11 to JQuery 3.4
Actions for you to Take
- Install and use Zulu-JDK 11
- Update JAVA_HOME to point to this JDK
- Tomcat 9
- Use tomcat-9.0.16
- Take the <Resource> xml stanza from your old conf/Catalina/localhost/scheduler.xml and place it as an element of <Context> in conf/Catalina/context.xml
- Then remove the old scheduler.xml
- Change that <Resource> in conf/Catalina/context.xml as follows:
for driverClass, use the following
driverClass="com.mysql.cj.jdbc.Driver"
for jdbcUrl, use the following (with the 'html entity' for ampersand)
jdbcUrl="jdbc:mysql://localhost/scheduler?serverTimezone=EST&useJDBCCompliantTimezoneShift=true&useSSL=false"
- In lib, remove older versions of c3p0, mysql-connector-java and mchange-commons-java
- Then download and add
- Configure and run the standalone, updateUserSalt, to convert DB user salt fields to new MIME flavored salts
- Erratum for its README: Adjust update-user-salt.properties to match the encryption properties from scheduler.properties and the DB Resource xml-stanza from context.xml
- However, use the form of the jdbc-url as indicate in the next bullet
- For standalone modules (such as updateUserSalt) the jdbc-url specified in their properties files should use a shorter version than does tomcat:
- jdbc-url = jdbc:mysql://localhost/scheduler?serverTimezone=EST
- For building, use maven 3.6.1
It is possible that even more recent releases of tomcat, JDK, Maven, etc. will also work, but we have not verified this.