Question

Oracle ORDS 3.0
Oracle 12c database
Red Hat Linux 6.8
Tomcat 8.0.22

Can two ORDS be deployed to one web server (Tomcat) and access the same database? If so, how is this accomplished?

That is, I would be deploying to Tomcat an ords1.war file and an ords2.war file that both connect to the same Oracle database.

Better yet, I need two URLs that point to two different applications running on the same database. Perhaps another ORDS is not needed.

The context root (normally just 'ords') has to be different for each application. For example, ords1 and ords2. Hence, the thought that there needs to be a ords1.war and ords2.war file deployed.

Was it helpful?

Solution

This can be done.

Make a copy of the existing ords.war (call it, say, ords2.war) and just follow the same process that you would when creating your initial ORDS .war file. Just be sure to use different configuration directories for each ORDS .war file in order to avoid possible collisions.

You name the two ORDS .war file differently in order to change the 'root'. For example:

https://mywebsite.com/ords/...
https://mywebsite.com/ords2/...

has the 'root' of ords and ords2, respectively

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top