Apex Migration 19.2 to 20.0.1 (Version Oracle 11.2.0 DB / Tomcat 9.0)
Apex
Migration 19.2 to 20.0.1 (Version Oracle
11.2.0 DB / Tomcat 9.0)
1) Download the 20.1
2) Unzip the Downloaded folder
3) Go to Command Prompt and go
to location of unzip folder and perform sqlplus
4) Connect Sys as sysdba
SQL> @apexins1.sql sysaux
sysaux temp /i/
Entire Phase will take 15 to 20 minute time. Make sure Phase
3 complete successfully.
5) Run the apex_rest_config
command
SQL> @apex_rest_config.sql
) 6) Stop the tomcat Server
7) Copy Images folder data from apex_20.1_en/apex/images and Past to apache-tomcat-version/webapps/i
(before take the backup of “I” folder)
8) Copy Images folder from apex_20.1_en /apex/images and
past to ORDS/ Images folder
(before take the backup of Images folder of
ORDS)
9) Connect Sqlplus as sys user Perform Attached Script
DECLARE
ACL_PATH
VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to '*'
and give APEX_200100
-- the "connect" privilege if APEX_200100
does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM
DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND
UPPER_PORT IS NULL;
IF
DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_200100,
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_200100, TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to
everywhere',
'APEX_200100, TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
/
COMMIT
10)
Validate ORDS.War file (Go to Folder where ORDS has installed and perform the -Jar Validate Command in Command prompt)
C:\> java -jar C:\ORDS\ords.war validate
Useful URL
https://dgielis.blogspot.com/2018/05/safely-upgrading-to-oracle-apex-181.html
Excellent ..
ReplyDelete