1 Reply Latest reply on Mar 2, 2017 4:00 PM by Magyhdz-Oracle

    Changing the context root for ORDS

    Fechen-Oracle

      I followed the installation instruction to deploy ORDS to Glassfish and Tomcat. In both cases, if I change the context root during the deployment to something other than "ords", I always get error "404 Not Found":

       

      "The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured."

       

      It seems to me that the web server dispatched the request to ORDS but ORDS cannot further interpret the URL to connect to the database. However deploying ords.war to the context root of "ords" always worked.

       

      Any way to change the context root for the deployed ORDS?

       

      Thanks!

        • 1. Re: Changing the context root for ORDS
          Magyhdz-Oracle

          Instead of deploying ords.war as is, do the follow:

          1.  Unzip the ords software ords3.0.9...zip

          2.  rename the file called ords.war to be apex.war

          3. configure your apex.war

           

          ** if you rename after configure or deploy and change the root context will not work, the trick is rename as soon as you unzip then configure and follow the rest of steps to deploy apex.war to your web server