Professional Documents
Culture Documents
Oracle APEX Installation With ORDS & TOMCAT
Oracle APEX Installation With ORDS & TOMCAT
Oracle APEX Installation With ORDS & TOMCAT
com
R&D TEAM - OPTIMIZA
here
- Download ORDS 21.4.2 .zip file from
here
- Download TOMCAT 32-bit/64-bit
windows Service Installer from here
APEX INSTALLATION
First create a new folder d:\oracle\ then unzip the apex binary zipfile so now you have d:\oracle\apex dir
Open command prompt, point to directory d:\oracle\apex and login to Oracle pluggable database
using sqlplus Login with SYS user using this commands:
set ORACLE_SID=oppdb
sqlplus sys/sys@oppdb as sysdba
where the oppdb is the name of the pluggable database in my case
Tablespace created.
APEX INSTALLATION
Execute the “apexins.sql” script, specifying the tablespace names and image URL.
SQL> @apexins.sql APEX APEX TEMP /i/
this takes some time, wait for the installation to get complete
Now change the admin password by running the “apxchpwd.sql” scripts as the SYS user by run this command:
SQL> @apxchpwd.sql
Now create APEX_LISTENER and APEX_REST_PUBLIC_USER users by running the apex_rest_config.sql on same prompt
logged in as SYS user
NOTE: ENTER ONE EMAIL FOR ALL STEPS WE WILL MAKE
SQL> @apex_rest_config.sql
Check the status of users created on database, you can notice that the account is locked for these. Execute below
command one by one with the same password to unlock the users.
Check the port setting for XML DB Protocol Server. Default it will be ‘0’ for 21.2 the value has to be ‘0’
SQL> select dbms_XDB.gethttpport from dual;
If the value is not zero execute the command to make it 0
SQL> EXEC DBMS_XDB.sethttpport(0);
Create a new folder inside D:\oracle and name it ords so you now have D:\oracle\ords dir
Now unzip ords zipfile inside this folder
From the APEX folder copy the image folder to ords folder
Open command prompt, point to directory d:\oracle\ords and execute below command to start with ORDS installation
java -jar ords.war
Choose location for Store Configuration data-> D:\oracle\ords\config
Now complete :
Enter listen port [1521]: Hit "Enter" button, my port is 1521 your port may be different.
Specify Database SID [1]: provide option "1" & hit "Enter" button, the database service name is the pluggable database
make sure for that, my pluggable db here is ‘oppdb’
If using Oracle Application Express or migrating from... [1]: Hit "Enter" button
Specify password, & Confirm password for APEX_PUBLIC_USER from your choice.
The same one you entered
Enter 1 if you wish to start in standalone mode... enter 2 Hit "Enter" button.
CONGRAAAAAATS
Now start installation process for TOMCAT from exe file we downloaded
After installation process got to the tomcat file you created
Open the webapp folder and make a new folder and call it (i)
Go to APEX folder and open images folder and copy all its content D:\oracle\apex\images
Then go back to (i) folder you created and past all images inside it.
Now we want to deploy ORDS on tomcat, so go to D:\oracle\ords file and copy ords.war file
Then go to tomcat webapps file and past it here
CONGRATS MAN!!
Now scroll down and click on administration link to create a new workspace to signin