Preparing and Starting ORDS

To use customer managed Oracle REST Data Services (ORDS) on Autonomous Database, on the system where ORDS runs, you need to perform additional configuration steps and then start ORDS.

For ORDS running with APEX, perform all the steps starting from Step 1. For ORDS running without APEX, perform the steps starting from Step 3.
  1. In the location where ORDS is installed, install the APEX images.
    unzip apex_19version.zip

    Note:

    To use your customer managed ORDS environment for APEX, you must download the APEX images of the APEX release that is currently deployed in your Oracle Autonomous Database. When Oracle announces the next APEX upgrade, you must pre-deploy the images from the upgraded APEX release or defer the APEX upgrade to avoid any service interruption. You can download the APEX images from the Oracle APEX downloads page.
  2. Edit the standalone properties to add or edit the static images property:
    standalone.static.path=/path/to/apex/images
  3. Create a wallet_cache folder, so that ORDS stores the Autonomous Database wallet on this folder and uses it while connecting to JDBC. For example:
    mkdir wallet_cache
  4. Start ORDS.
    • If your customer managed environment for Oracle REST Data Services runs in Oracle Cloud Infrastructure, then start the ORDS service as follows:

      /opt/oracle/ords start
    • If your customer managed environment for Oracle REST Data Services runs in the directory where ORDS is installed, then start the ORDS service as follows:

      java -Duser.timezone=UTC -Ddb.wallet.cache=wallet_cache -jar ords.war standalone --apex-images images --port 8088