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!

Need help to Migrate from Glassfish to Tomcat

RichDWMay 1 2018 — edited May 2 2018

Apex 5.02

Glassfish 4.1.1

Ords 3.08

I have a production and a test instance of Apex.. both databases on separate servers and the ORDS/Glassfish install on a 3rd server.  The Apex instances are fronted by an IIS server (also on the ORDS/GF server) acting as proxy that points either to the production DB or to the test DB.. based on URL.  Both instances use the one ORDS/GF configuration.

I now want to migrate away from Glassfish to Tomcat and have attempted to set up a tomcat install that points to the test DB.  Once I have that working and understand the process of migration, the production instance will also be moved to it's own Tomcat instance and I'll end up with IIS pointing to two separate Tomcat -> ApexDB  instances.

Currently (test) Tomcat Is installed and working (on port 9090 due to a conflict) and I've installed ORDS on that same server.  I've created the ords.war (in my case I renamed it apex.war) and the i.war files and moved them into the Tomcat Webapp folder where they were automatically loaded.  (The apex.war file process DID successfully upgrade the ORDS installation on the Test DB from 3 to 18).

On that server, if I go to the url of   http://localhost:9090/i/apex_version.txt I see the contents of the text file in my browser as expected... so the apex images seem to be found and should display as expected.

However if I go to the url of http://localhost:9090/apex/ I get a "Oracle REST Data Services" 404 Not Found  error.

From the ORDS install directory I ran the Rest validation command   java -jar apex.war validate

This asks for the correct server name, port, SID, SYS password - and successfully completes... the log file shows no errors.  So the apex..war file looks like it is pointed to the right DB and the REST services are ok.

So why can't I open Apex at http://localhost:9090/apex/ ?

Since this is an upgrade of REST, I should not have to re-run any of the install scripts, should I?

Eagerly awaiting your responses and assistance...

Rich

This post has been answered by RichDW on May 2 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2018
Added on May 1 2018
3 comments
1,053 views