Professional Documents
Culture Documents
Pre-Requisites:
Environment:
Lakshmipathi Kakarla
Operating System: Windows 10
☁🔐
Database Version: Oracle Database 12c EE Release 12.2.0.1.0 - 64bit
View profile
Steps:
unzip apex_18.2.zip
DB:: ORA-00210: Cannot
Open the Specified
cd apex
Control ...
►
November
(2)
Step#3: Login to SQL Command Line ►
September
(1)
►
August
(1)
C:\Soft\DB\TEMP\apex>sqlplus
►
July
(1)
SQL*Plus: Release 12.2.0.1.0 Production on Tue Nov 27 12:52:07 2018
►
June
(2)
►
March
(1)
Copyright (c) 1982, 2016, Oracle. All rights reserved.
►
2017
(6)
Enter user-name: sys as sysdba
►
2016
(15)
Enter password:
►
2015
(13)
►
2014
(20)
Connected to:
►
2013
(50)
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
►
2012
(14)
No of
Note: If you want to specify data file path
Accessors!!!
CREATE TABLESPACE apex DATAFILE '/path/to/datafiles/apex01.dbf' SIZE 100M AUTOEXTE
361,279
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 1/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
Where:
Search This
APEX – name of the tablespace for the APEX user.
APEX – name of the tablespace for APEX files user.
Blog
TEMP – name of the temporary tablespace.
Search
i – virtual directory for APEX images. Define the virtual
image directory as /i/ for future updates.
APEX_INSTANCE_ADMIN_USER
APEX_PUBLIC_USER
FLOWS_FILES
APEX_180200
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 2/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
Check APEX RELEASE VERSION:
Elapsed: 00:01:13.29
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 3/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
EXEC DBMS_XDB.SETHTTPPORT(port);
EXEC DBMS_XDB.SETHTTPPORT(8181);
GETHTTPPORT
———–
8181
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 4/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
SQL> @apex_rest_config.sql
...set_appun.sql
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 5/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
sqlplus /nolog
EXEC DBMS_XDB.SETHTTPPORT(0);
Check the SYS user and common public users are unlocked
and you know their passwords. Remember
to lock the SYS user when the
installation is complete.
CONN / AS SYSDBA
cd C:\Soft\DB\TEMP
cd ords
mkdir config
This Oracle REST Data Services instance has not yet been configured.
Enter 1 to specify the database service name, or 2 to specify the database SID [1]
Enter the database SID [xe]:ORCL
Confirm password:
Confirm password:
Retrieving information.
If using Oracle Application Express or migrating from mod_plsql then you must ente
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to specify passwords for Application Express RESTful Services database use
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 6/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
Confirm password:
Confirm password:
Note: Standalone Mode is a way to run ORDS without needing an application server like Oracle
WebLogic or Apache Tomcat. It’s a quick and handy way to get ORDS up and running using Jetty server,
but it’s not supported for use in production, you’ll need to deploy ORDS to a supported Application
Server when it comes time to go production.
Confirm password:
Confirm password:
Retrieving information.
echo %JAVA_HOME%
C:\Soft\tomcat9\webapps>mkdir i
Note: Apache Tomcat determines the context root from the file
name of a WAR archive. If you need to
keep backward compatibility, so that URLs
are of the form http://server/apex/... rather than
http://server/ords/..., then
you must rename ords.war to apex.war before moving it into to the webapps
folder.
$CATALINA_HOME/bin/startup.bat
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 8/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
$CATALINA_HOME/bin/shtudown.bat
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 9/11
9/12/21, 4:59 PM My Learning's @ Work - by Lakshmipathi Kakarla: APEX:: 18.2 Setup on Windows with ORDS
APEX_180200:
The account that owns the Oracle Application Express schema and metadata.
FLOWS_FILES:
The account that owns the Oracle Application Express uploaded files.
APEX_PUBLIC_USER:
The minimally privileged account is used for Oracle Application Express configuration with Oracle REST
Data Services or Oracle HTTP Server and mod_plsql. If Oracle REST Data Services are configured with
Oracle Application Express, this is the database user used when invoking PL/SQL Gateway operations,
for example, all Oracle Application Express operations.
APEX_REST_PUBLIC_USER:
The account used when invoking RESTful Services definitions stored in Oracle Application Express. It's
created when RESTful Web services are configured.
APEX_LISTENER:
The account used to query RESTful Services definitions stored in Oracle Application Express. It's created
when RESTful Web services are configured.
APEX_INSTANCE_ADMIN_USER:
APEX_INSTANCE_ADMIN_USER was added in 5.1 to To provide the REST administration interface. This
schema is low-privileged. It only has the CREATE SESSION system privilege. The service modules for the
REST administration interface are being stored in the APEX_INSTANCE_ADMIN_USER schema. Oracle
does not require or recommend direct log ins into APEX_INSTANCE_PUBLIC_USER.
ORDS_PUBLIC_USER:
ORDS_PUBLIC_USER is the database user that’s used to create ORDS connection pool(s) and invoke
RESTful Services in the Oracle REST Data Services-enabled schemas. The ORDS_PUBLIC_USER user is
created during the first run of the ORDS installer. When RESTful Services published under ABC user on
database XYZ, then ORDS resolves the call to the proper jdbc connection pool, then proxy connects
from ORDS_PUBLIC_USER to user ABC, and runs the SQL or PL/SQL.
3 comments:
Comment as:
SANJEEV (Goo Sign out
Publish Preview
Notify me
Subscribe to:
Post Comments (Atom)
https://www.lkakarla.com/2018/12/apex-182-setup-on-windows-with-ords.html 11/11