Professional Documents
Culture Documents
of
Apex 20.2 with ORDS & Apache Tomcat
Prepared by
Md Shwadhin Hossain
Oracle Developer
Gmail: mr.shwadhin95@gmail.com
Download Apex20.2 from below link:
https://drive.google.com/file/d/1erRcgEVL0OZIa8xm9ctmFthwQulbc0oQ/view?usp=sha
ring
2. Open Sqlplus login as sysdba & Create a Tablespace for apex installation.
4. Set your Apex unzip directory connect sqlplus & paste that line
@apexins apex apex temp /i/
and press enter. It will take 10-15 minutes.
6. After complete previous steps paste the below line and give the user name, email address and
password.
SYS> @apxchpwd.sql
NOTE: Remember the User name & Password that you give. Password should contain at least
one Upper alphabetical letter, one symbol and one number as like my password is :
$Shwadhin_20
7. After complete steps 6 paste the below line and give Password twice like: admin_123
SYS>@apex_rest_config.sql
NOTE: To remember the password use same password to all. As I used “admin_123”.
8. After complete previous steps paste the below lines:
ALTER USER APEX_LISTENER ACCOUNT UNLOCK identified by admin_123;
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => '*',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_200200',
principal_type => xs_acl.ptype_db));
END;
/
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => 'localhost',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_200200',
principal_type => xs_acl.ptype_db));
END;
/
EXEC DBMS_XDB.sethttpport(0);
commit;
10. Download JDK 8 from below link and install it to your computer.
https://drive.google.com/file/d/1j-iQaj74sLqLvGiX_SkPIbHxrR5IUlae/view?usp=sharing
Go to your file directory where you have stored installation file. In the directory
folder right click on “jdk” file & chose (Run as administration).
Note: After click (Run as administration) a pop-up will show to give permission, Click
“Yes”.
18. Now copy the “image” folder from apex installation directory to “ords” folder.
19. Create a folder named “config” inside ords folder.
20. Set your Java home user variable in Environment Variable. Right click on “This Pc” and click
“Propertise”.
29. Copy the config folder directory that was created in ords folder paste it and press enter.
30. Change or press enter as your default database server location, listener port & database service name.
as my database service name is orcl.
31. After previous step you should give several time password like admin_123 and to the resources
location give your image folder directory location that pasted in ords folder and press enter.
32. In that following snapshoot your Installation is done.
33. Now open your browser and paste the below URL.
http://localhost:8080/ords/
---End ---
Installing Apache Tomcat for Apex ORDS server
3. Click “Next”
4. Click “I Agree”
7. Click “Next”
8. Click “Install”
9. Click “Finish”
10. Go to the ords folder copy ords.war file.
11. Paste the ords.war file to this directory “C:\Program Files\Apache Software Foundation\Tomcat
9.0_Tomcat9_ords\webapps”
12. Copy the image folder from ords folder.
13. And paste the image folder to this directory “C:\Program Files\Apache Software
Foundation\Tomcat 9.0_Tomcat9_ords\webapps” and rename it as( i )
14. Go to Service
15. Right click on Apache Tomcat 9.0……… and click Properties.
16. Choose “Automatic” then click Apply and click Ok.
17. Then Click “Restart” from left side. After restart close it and open your browser.
http://localhost:8080/ords/
---End---