You should have APEX 19.1 and 19.2 images in different folders.
But you can define two static files location for ORDS standalone.
Place images e.g. /opt/oracle/apex/191 and /opt/oracle/apex/192
Set ORDS static images location to /opt/oracle/apex/.
Change APEX installations static images location:
E.g. if you set in ORDS standalone.static.context.path=/i,
then APEX 19.1 set static image location /i/191/ and to APEX 19.2 /i/192/.
You can do that by running script reset_image_prefix.sql found from APEX install files.
Or install Tomcat and deploy ORDS there so you can serve both APEX version static files.
Also you need then configure different image path for APEX installations.
Or for workaround use static files from Static Resources on Content Delivery Network
Thanks for your answer.
I have been working on it, but I am not able to get it to work.
I have done the following:
Copied image files for apex 19.1 and 19.2 respectively to these two locations:
"C:\app\Per\product\ords-19.1.0.092.1545\config\ords\standalone\standalone.properties" look like this:
#Sat Apr 11 09:46:21 CEST 2020
In XEPDB2 (apex 19.1) I have run @reset_image_prefix.sql and given /i/191/ as Application Express image prefix.
Started ORDS: java -jar ords.war
When ORDS is started, I can see that "C:\app\Per\product\ords-19.1.0.092.1545\params\ords_params.properties" has been updated and it looks like this:
#Sat Apr 11 10:46:02 CEST 2020
When having done the above steps, I would expect that XEPDB2 (apex 19.1) would work with regards to images and XEPDB1 (apex 19.2) would not work since I still haven't run @reset_image_prefix.sql in XEPDB1.
However, none of the two apex instances work. They give these error messages when started:
XEPDB2 (apex 19.1):
There is a problem with your environment because the Application Express files have not been loaded. Please verify that you have copied the images directory to your application server as instructed in the Installation Guide. In addition, please verify that your image prefix path is correct. Your current path is /i/191/ (it should contain both starting and ending forward slashes, such as the default /i/). Use the SQL script reset_image_prefix.sql if you need to change it.
XEPDB1 (apex 19.2):
There is a problem with your environment because the Application Express files have not been loaded. Please verify that you have copied the images directory to your application server as instructed in the Installation Guide. In addition, please verify that your image prefix path is correct. Your current path is /i/ (it should contain both starting and ending forward slashes, such as the default /i/). Use the SQL script reset_image_prefix.sql if you need to change it.
Are you able to see what I am doing wrong?
What is output if you open browser and go
Also when you go to APEX, see is there any errors on browser console
I have found the reason why what I first did not work.
I had copied to the image files to:
I should have copied to:
So for the record, these changes were done to support image files for two different apex versions in one ORDS-instance:
In XEPDB2 (apex 19.1):
In XEPDB1 (apex 19.2):
Start ORDS: java -jar ords.war
Both Apex instances should now work.