...
- Ensure that you have downloaded the latest CTP package.
- (Recommended) Back up your database as described in Database Backup, Re-Creation, and PortingConfiguration.
- 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.
...