Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

apex_version.txt file (& /etc/ords/config/global/doc_root directory) missing ?

Jim DicksonJun 27 2024 — edited Jun 27 2024

apex version = 23.2.3

autonomous adb-s (23 ai)

APEX_INSTANCE_ADMIN.GET_PARAMETER('IMAGE_PREFIX') = /i/23.2.3/
standalone.context.path /ords Global
standalone.doc.root /etc/ords/config/global/doc_root Global
standalone.static.context.path /i Default

At one point, IMAGE_PREFIX was set to https://static.oracle.com/cdn/apex/23.2.3/ but reverted for this troubleshooting.

[oracle@apex23b-ords ~]$ tree /etc/ords/config/
/etc/ords/config/
├── databases
│ └── default
│ ├── pool.xml
│ └── wallet
│ └── cwallet.sso
└── global
└── settings.xml

Note that under global, there is no doc_root sub-directory.

I am actually trying to debug/troubleshoot a 502 error from Load Balancer

and following https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/24.1/orddg/troubleshooting-REST.html#GUID-459D10EB-4E62-4D28-92EB-BE1886615E00

https://example.com/i/apex_version.txt

APEX app itself works fine.

Not sure if relevant but this custom ORDS 24.1.

I am making assumption that /i maps to /etc/ords/config/global/doc_root - please advise if this is wrong.

Ultimately I need URL for Health Check policy for Load Balancer Backend Set

see https://fuzziebrain.com/content/id/2005

Under Health Check, set the following:

  • Protocol - HTTP
  • Port - 8080
  • URL Path - /i/19.2.0.00.18/apex_version.txt
This post has been answered by Jim Dickson on Aug 19 2024
Jump to Answer
Comments
Post Details
Added on Jun 27 2024
6 comments
1,176 views