2 Replies Latest reply on Sep 1, 2017 1:38 PM by thatJeffSmith-Oracle

    ORDS yields 404 error / Apex working fine

    3533246

      We are evaluating the APEX product and installed on the local pc. Here is the current configuration.

       

      APEX 5.1.1

      Oracle 11G

      ORDS 3.0.11.180.12.34 (Installed successfully but unable to start under the same port as Apex)

       

       

      Apex is working fine under http://localhost:8080/apex

      When I try to install ORDS, initially it gives the port 8080 is being used by other process. Hence I started the ORDS in 8090 using the following command.

       

      java -jar ords.war standalone --port 8090

       

      ORDS has been started but when I access the URL under http://localhost:8090/ords

      It gives 404 error page.

       

      How can we rectify this error. In a nut shell, should both ORDS and APEX run under different ports or the same port. RestFul application end point url is pointing to 8080 in APEX. FYI.

       

      Please help me to resolve this issue.

       

      Thanks,

      Raja

        • 1. Re: ORDS yields 404 error / Apex working fine
          Mike Kutz

          APEX runs inside the database and needs <something> to bridge the gap between HTTP calls and Database calls.

           

          That <something> can be EPG or ORDS or mod_plsql (deprecated).

          You normally don't run more than 1.

           

          It sounds like you are running EPG as the <something> for APEX.

          If you are:  you can get ORDS to use port 8080 if and only if you turn off EPG.

           

          That would solve the "port 8080" problem.

           

          For the 404 problem:  Try adding a trailing slash to the URL.

           

          personal opinion:  "standalone mode" of ORDS isn't recommended for "kicking the tires".

           

          My $0.02

           

          MK

          • 2. Re: ORDS yields 404 error / Apex working fine
            thatJeffSmith-Oracle

            >>personal opinion:  "standalone mode" of ORDS isn't recommended for "kicking the tires".

            I'd go the other way, it's great for kicking the tires.

             

            Although the benefits of Tomcat definitely make that worth the time to setup for production.