Oracle APEX 20.2 / ORDS 20.3 / Tomcat 9.0 Installation
(Oracle APEX 20.2 +ORDS 20.3 + Oracle 12c DB 12.2.0.1 + Tomcat 9.0)
APEX 20.2 Desupported features include:
Desupported Web Listeners:
Legacy Web Listener – Oracle HTTP Server
Embedded PL/SQL Gateway
Desupported Browser:
Microsoft Internet Explorer 11 is desupported.
a) Oracle APEX 20.2 Installations
1) Download the Oracle APEX 20.2
https://www.oracle.com/tools/downloads/apex-downloads.html
2) Unzip Folder in desired path
i.e T:\App\Apex
3) Go to Apex Path in command prompt and execute the SQLPLUS Command
T:\app\apex> Sqlplus
4) Please make sure you are connecting your desire container before start installation
CONN sys/Manager1/CISPDB AS SYSDBA
Check Container
Sql > show pdbs
Result should be CISPDB only one container show
5) @apexins.sql SYSAUX SYSAUX TEMP /i/
this will take 10 min time
Last Line Out put will be
timing for: Complete Installatiom
Elapsed: 00:10:33.61
PL/SQL procedure successfully completed.
Inserted 1 row
Sql>
6) APEX should have created a number of database accounts during the installation. To verify that the accounts have been installed in the correct PDB, run the following command:
SQL> select username from dba_users order by username asc;
USERNAME
--------------------------------------------------------------------------------
ANONYMOUS
APEX_200100
APEX_INSTANCE_ADMIN_USER
APEX_PUBLIC_USER
7) Conn sys/Manager1@CISPDB as sysdba
SQL> @apxchpwd.SQL
Password should be: Abc@4321#
8) alter user APEX_PUBLIC_USER account unlock;
9) alter user APEX_PUBLIC_USER identified by Manager1;
10) Create the APEX_LISTENER and APEX_REST_PUBLIC_USER users by running the "apex_rest_config.sql" script.
Passwrod should be :- Manager1 for both
11) Let’s summarise what we have done so far:
a)install APEX 20.2 by executing the apexins.sql script in the pluggable database CISPDB
b)create the APEX Instance Administration user by executing the script apxchpwd.sql
c) unlock the account APEX_PUBLIC_USER and set the password
d)configure RESTful services by executing the script apex_rest_config.sql
11.1) the embedded PL/SQL gateway that is included with the database :-The embedded PL/SQL gateway has its limits
11.2) Oracle HTTP Server with mod_plsql :- Oracle HTTP Server is close to being deprecated, (Like WebLogic OHS Server)
11.3) Oracle REST Data Services (ORDS) :- Advisable
Below 12 points is not needed specially installing 20.2 (Execute step 13 Directly)
12) Check the port setting for XML DB Protocol Server. (Since 20.2 there is no point to set port in DB Side as 20.2 only can deploy with ORDS + Tomcat )
SQL > CONN sys/Manager1@CISPDB AS SYSDBA
SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
If is 0 we need to change with 8080, or another.
EXEC DBMS_XDB.SETHTTPPORT(8088);
Check the port setting for XML DB Protocol Server.
13) run the sys.sql/sys1.sql ans sys2.sql (Please email me for this file)
B) Now install JDK 8 + Version towards configure the Ords
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
C) Download ORDS Latest Version (https://www.oracle.com/database/technologies/appdev/rest-data-services-downloads.html)
Here my case its 20.3.0 (Unzip and rename as Ords)
Unzip Download folder and Past in T:\app\ords
Go to Command Prompt and perform as mentioned in below image
D) Download & Install Tomcat 9.0
Configured 8082 Port at time of installing the Tomcat
1) Copy the contents of the <apex directory>/images folder to <Tomcat directory>/webapps/i/.
Where
<apex directory> is the directory location of the Oracle Application Express distribution.
<Tomcat directory> is the folder where Apache Tomcat is installed.
2) Move the ords/apex.war file into the webapps folder where Apache Tomcat is installed
3) Restart the Tomact Server form service.msc
Perform the URL Again
Localhost:8082/ords
Other Useful Link
https://o7planning.org/en/10493/install-oracle-rest-data-services-ords-for-oracle-apex#a1694509
Web logic server configuration
http://info.aimstar.com/blog/deploying-ords-on-weblogic-for-apex
Thanks but how to do configuration of already installed apex 20.1?
ReplyDeleteSame process dear .... i have installed on 20.1
DeleteWhile running reports query that time give error http protocol..
ReplyDelete