Using Oracle Application Express in Database Classic Cloud Service
Database deployments on Oracle Database Classic Cloud Service include Oracle Application Express.
Note:
This section does not apply to Database Classic deployments that use Oracle Real Application Clusters. Such deployments do not currently include Oracle Application Express.
Oracle Application Express enables you to design, develop and deploy responsive, database-driven applications using only your web browser. If you are new to Oracle Application Express, see its Overview and Getting Started pages on Oracle Technology Network to learn about its features and get started using it.
This section provides guidance on how to navigate to Oracle Application Express from Oracle Database Classic Cloud Service and how to upgrade Oracle Application Express releases residing in Database Classic Cloud Service.
Topics
-
Upgrading from Oracle Application Express 4.2 or 5.0 to 5.1 for Oracle Database 11g
-
Upgrading from Oracle Application Express 4.2 to 5.1 for Oracle Database 12c
-
Upgrading from Oracle Application Express 5.0 to 5.1 for Oracle Database 12c
-
Upgrading from Oracle Application Express 5.1.0 or 5.1.3 to 5.1.4 for Oracle Database 11g
Accessing the Oracle Application Express Console
Database deployments of single-instance databases on Oracle Database Classic Cloud Service include Oracle Application Express, which you manage using the Oracle Application Express Instance Administration console.
If you are new to Oracle Application Express, see its Overview and Getting Started pages on Oracle Technology Network to learn about its features and get started using it.
You can access the Oracle Application Express Instance Administration console in the following ways:
Using the “Open Application Express Console” Menu Item to Access the Console
Note:
For database deployments built on Oracle Cloud Infrastructure Classic, the network port to access the Oracle Application Express Instance Administration console is blocked by default. To use the Open Application Express Console menu item, you must unblock port 443, either by enabling the deployment’s ora_p2_httpssl predefined access rule or by creating your own access rule that opens port 443. For instructions, see Enabling Access to a Compute Node Port.
-
Open the Services page of the Oracle Database Classic Cloud Service console.
For detailed instructions, see Accessing the Oracle Database Classic Cloud Service Console.
-
From the menu for the deployment, select Open Application Express Console.
-
If your browser displays a warning that your connection is not secure or not private, use the browser’s advanced option to continue.
You get this warning because Database Classic Cloud Service database deployments use a self-signed certificate to provide HTTPS (secure HTTP) connectivity, and such certificates are considered suspicious by many web browsers.
-
When prompted for a workspace, username and password, enter the following information. Then click Sign In.
-
In the workspace box, enter INTERNAL.
-
In the username box, enter ADMIN.
-
In the password box, enter the password specified during the database deployment creation process.
Note: if the database deployment was created using a QuickStart template, the password is available in the zip file downloaded when the deployment was created.
-
The Open Application Express Console menu item is also available on the Overview page in the menu next to the deployment’s name.
Using a Direct URL to Access the Console
Note:
For database deployments built on Oracle Cloud Infrastructure Classic, the network port to access the Oracle Application Express Instance Administration console is blocked by default. To use a direct URL, you must unblock port 443, either by enabling the deployment’s ora_p2_httpssl predefined access rule or by creating your own access rule that opens port 443. For instructions, see Enabling Access to a Compute Node Port.
-
In your web browser, go to the URL appropriate to the Oracle Database version on the database deployment:
-
For a PDB in an Oracle Database 12c database:
https://
node-ip-address
/ords/
lowercase-pdb-name
/
-
For an Oracle Database 11g Release 2 database:
https://
node-ip-address
/apex/
where
compute-node-ip-address
is the IP address of the deployment’s compute node as listed on the deployment’s Overview page, andlowercase-pdb-name
is the name of the PDB, with all letters in lowercase. -
-
If your browser displays a warning that your connection is not secure or not private, use the browser’s advanced option to continue.
You get this warning because Database Classic Cloud Service database deployments use a self-signed certificate to provide HTTPS (secure HTTP) connectivity, and such certificates are considered suspicious by many web browsers.
-
When prompted for a workspace, username and password, enter the following information. Then click Sign In.
-
In the workspace box, enter INTERNAL.
-
In the username box, enter ADMIN.
-
In the password box, enter the password specified during the database deployment creation process.
Note: if the database deployment was created using a QuickStart template, the password is available in the zip file downloaded when the deployment was created.
-
Using an SSH Tunnel to Access the Console
-
Create an SSH tunnel to port 443 on the compute node hosting Oracle Application Express. For information about creating an SSH tunnel, see Creating an SSH Tunnel to a Compute Node Port.
-
After creating the SSH tunnel, direct your browser to the URL appropriate to the Oracle Database version on the database deployment:
-
For a PDB in an Oracle Database 12c database:
https://localhost/ords/
lowercase-pdb-name
/
-
For an Oracle Database 11g Release 2 database:
https://localhost/apex/
where
lowercase-pdb-name
is the name of the PDB, with all letters in lowercase. -
-
When prompted for a workspace, username and password, enter the following information. Then click Sign In.
-
In the workspace box, enter INTERNAL.
-
In the username box, enter ADMIN.
-
In the password box, enter the password specified during the database deployment creation process.
Note: if the database deployment was created using a QuickStart template, the password is available in the zip file downloaded when the deployment was created.
-
Upgrading from Oracle Application Express 4.2 or 5.0 to 5.1 for Oracle Database 11g
These instructions are applicable if you have an Oracle Database 11g database deployment and want to upgrade Oracle Application Express 4.2 or Oracle Application Express 5.0 to Oracle Application Express 5.1.
- Determine the version of your current Oracle Application Express installation:
- Ensure that you have the required version of the cloud tooling:
- Upload Oracle Application Express 5.1 to the compute node:
- Download Oracle Application Express 5.1.0.00.45 from Oracle Technology Network.
- Log in to the compute node as the
oracle
user. - Use
scp
orsftp
to upload the Oracle Application Express 5.1 zip file to the/tmp
directory on the compute node.
- Unzip the Oracle Application Express 5.1 zip file:
- Install Oracle Application Express 5.1:
- Configure Oracle Application Express by executing the Oracle REST Data Services (ORDS) assistant:
- If you upgraded from Oracle Application Express version 4.2, perform the following steps:
Upgrading from Oracle Application Express 4.2 to 5.1 for Oracle Database 12c
These instructions are applicable if you have an Oracle Database 12c Release 1 or Release 2 database deployment and want to upgrade Oracle Application Express 4.2 in the root container (CDB$ROOT) to Oracle Application Express 5.1 in the pluggable databases (PDBs).
Upgrading from Oracle Application Express 5.0 to 5.1 for Oracle Database 12c
These instructions are applicable if you have an Oracle Database 12c Release 1 or Release 2 database deployment and want to upgrade Oracle Application Express 5.0 in the root container (CDB$ROOT) to Oracle Application Express 5.1 in the pluggable databases (PDBs).
Upgrading from Oracle Application Express 5.1.0 or 5.1.3 to 5.1.4 for Oracle Database 11g
These instructions are applicable if you have an Oracle Database 11g database deployment and want to upgrade Oracle Application Express 5.1.0.00.45 or Oracle Application Express 5.1.3.00.05 to Oracle Application Express 5.1.4.00.08.
- Determine the version of your current Oracle Application Express installation:
- Ensure that you have the required version of the cloud tooling:
- Upload Oracle Application Express 5.1.4.00.08 to the compute node:
- Download Oracle Application Express 5.1.4.00.08 from Oracle Technology Network.
- Download Patch 26795231: PATCH SET FOR APPLICATION EXPRESS (PATCH SET VERSION 5.1.4).
- Log in to the compute node as the
oracle
user. - Upload the Oracle Application Express 5.1.4 zip file to the
/tmp
directory on the compute node. See Copying Files to or from a Database Classic Cloud Service Database Deployment for instructions on how to copy files to the compute node. - Upload the patch zip file to the
/tmp
directory on the compute node. See Copying Files to or from a Database Classic Cloud Service Database Deployment for instructions on how to copy files to the compute node.
- Unzip the patch zip file and the Oracle Application Express 5.1.4 zip file:
- Install Oracle Application Express 5.1.4:
- Configure Oracle Application Express by executing the Oracle REST Data Services (ORDS) assistant:
Upgrading from Oracle Application Express 5.1.0 or 5.1.3 to 5.1.4 for Oracle Database 12c and Oracle Database 18c
These instructions are applicable if you have an Oracle Database 12c or Oracle Database 18c database deployment and want to upgrade Oracle Application Express 5.1.0.00.45 or Oracle Application Express 5.1.3.00.05 to Oracle Application Express 5.1.4.00.08.
Upgrading from Oracle Application Express 5.1.0 or 5.1.3 or 5.1.4 to 18.1.0 for Oracle Database 12.2 and Oracle Database 18c
These instructions are applicable if you have an Oracle Database 12.2 or Oracle Database 18c database deployment and want to upgrade Oracle Application Express 5.1.0.00.45 or Oracle Application Express 5.1.3.00.05 or Oracle Application Express 5.1.4.00.08 to Oracle Application Express 18.1.0.00.45.
Moving Oracle Application Express 5.1 from CDB$ROOT to PDBs
These instructions are applicable if you have an Oracle Database 12c Release 1 or Release 2 database deployment and you have previously upgraded to Oracle Application Express 5.1 in the root container (CDB$ROOT). These instructions tell you how to move Oracle Application Express to the pluggable databases (PDBs).