Port Argument Triggers ORDS Standalone.properties File To Be Recreated
(Doc ID 2731967.1)
Last updated on SEPTEMBER 16, 2022
Applies to:
Oracle REST Data Services - Version 20.2 and laterInformation in this document applies to any platform.
Goal
Configured SSL (using port 7778) for ORDS Standalone mode.
APEX is accessible using the Standalone mode SSL port 7778.
Excerpts from standalone.properties file:
jetty.secure.port=7778
ssl.cert=/xxxx/xxxx/xxx/xxx/xxx.crt
ssl.cert.key=/xxxx/xxxx/xxx/xxx/xxx-key.der
ssl.host=xxxx.com
Starting ORDS Standalone mode from a script and passing the argument -> --port 7778
This is recreating the standalone.properties file and removing all the SSL-related parameters from the file and shows jetty.port=7778
Removal of the --port argument fromm the script helps prevent this behavior.
It is not mandatory that this argument be present since the port is also defined within the standalone.properties file. However, it’s nice to have it because it causes the port number to be be explicitly displayed with a process list command:
$ ps -ef | grep ords
... /bin/java -jar /ora/app/oracle/product/ords/ords.war standalone --apex-images /ora/app/oracle/product/apex/images --port 7778
Is there a way to specify the port argument in the script so that the port does not change from https to http and these parameters (jetty.secure.port, ssl.cert, ssl.cert.key, ssl.host) are retained?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |