Create an Oracle Application Express app
Create an Oracle Application Express app in Access Gateway.
- Sign in to the Access Gateway Admin UI console.
- Click the Applications tab.
- Click +Add.
-
Select Oracle Application Express. Click Create.
-
In the Essentials pane specify the following:
Field Value Label A name for the app. Public Domain A fully qualified host name such as <yourexteralname>.<your domain> (for example, app-ex.externalexample.com).
Protected Web Resource The URL of the internal, protected app. For example, app-ex.internalexample.com:port, where
- port: The port Oracle Application Express listens on for HTTP requests.
Group Enter the group containing the users who should have access to the application. Post Login URL
Enter or modify the Post Login URL. By default this field is enabled and contains the value: app-ex.externalexample.com/apex
Description Optional. An appropriate description for your application. - Click Next. The Attributes pane appears.
Configure load balancing
Only use Access Gateway as the load balancer. See Load balancing.
- Expand the Protected Web Resource tab.
- Enable Load Balancing By Access Gateway.
A table of hostnames and weights representing the target load balancing instances appears. This table is initially empty. Click edit to modify an entry in the table, or click delete to delete an entry.
- Choose either HTTP or HTTPS as the URL scheme. Each protected web resource that you add inherits this scheme.
- Optional. Enable and specify Host Header value.
- Complete the following steps to add a host, repeat as required:
- Click Add protected web resource.
- Enter a fully qualified hostname:port combination (for example, https://backendserver1.atko.com:7001).
- Enter a weight from 1 to 100. Enter 0 to specify that a host is disabled.
Weights represent the percentage of requests that will be routed to this host.
For example, two hosts of weights 2:1 would result in requests being routed ~66% to the host weighted 2 and ~33% to the host weighted 1.
- Click Okay.
-
Optional. Configure health checks, which use GET operations to confirm that back-end resources are functional.
New requests aren't routed to resources that have been labeled unhealthy by the health checks.
- Enable Load Balancer Health Check.
- Click Edit to modify health check settings.
- Modify settings as required.
Field Value Default
Path The URI path to the resource used in health check. / Method The HTTP method used. Always GET Status code The HTTP status code used to determine health. 200 Interval The interval between health checks in seconds. 10 Request timeout The health check request timeout in seconds. 1 Healthy threshold The number of requests that must succeed before a host is considered healthy. 3 Unhealthy threshold The number of requests that must fail before a host is considered unhealthy. 3 - Click Save to save changes or click Cancel to exit without saving.