...
The following instructions assume that you have active systems in place. The upgrade will not impact these systems, environments, and components.
Note |
---|
Java 11 or later is required. Oracle and OpenJDK are supported. Before upgrading, ensure that all current system requirements are met. See System Requirements. |
Uninstalling the Earlier Version
- Ensure that you have downloaded the latest CTP package.
- (Recommended) Back up your database as described in Database Configuration.
- Shut down the Tomcat running the earlier version.
- In your Tomcat installation, navigate to
/webapps/em/
. - Delete your existing license file.
- (If using a MySQL or Oracle database) Copy the
mysql-connector
orojdbc
jar file fromWEB-INF/lib/
to a temporary location. - Delete
/webapps/em/
and/work/Catalina/localhost/em/
. Note that all useful information (besides the license) is persisted in the database. - Move the existing
em.war
to your temporary location. Keep the backups outside of the/webapps/
folder so Tomcat doesn’t try to use them. - (Optional) Reset persisted data from the database (create a backup first):
- HyperSQL
Delete the hsqldb files for CTP and create them again in the web UI.
- MySQL
Drop the database and create a new one with themysql_db.sql
script from EM.2.7:mysql –u root –p
drop database em;
quit
- Oracle
Drop the database and create a new one as follows:sqlplus SYS AS SYSDBA
DROP TABLESPACE EM_TEMP INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE EM_DATA INCLUDING CONTENTS AND DATAFILES;
DROP USER EM CASCADE;
quit
Contact your Oracle DBA for assistance.
Installing CTP
- Place the new em.war in the
/webapps
folder. - Start Tomcat.
- Replace the license file in
/webapps/em
/ with your new CTP 3.x license file. - (If using a MySQL or Oracle database) Restore the
mysql-connector
orojdbc
jar file you copied in step 6 above to/webapps/em/WEB-INF/lib/
. - Restart Tomcat.
- When prompted, save the existing license.
...