1 Reply Latest reply on Jun 30, 2016 6:17 AM by HristiyanK

    Oracle Rest with Apache Tomcat - 404 Not Found

    2982223

      Hello, all !

       

      Have a problem with running Oracle Rest 3.0 on Oracle XE 11g ( Windows 2008 Server ) and Apache Tomcat 7.

       

      After installation and configuration of Oracle Apex and Rest, Apache installation and ords.war deployment, running 127.0.1.1:9090/ords/ gives 404 Error with following Debug Info :

       

      Any help would be appreciated,

       

      Best Regards

       

      DispatcherNotFoundException [statusCode=404, reasons=[]]

      at oracle.dbtools.http.entrypoint.Dispatcher.choose(Dispatcher.java:86)

      at oracle.dbtools.http.entrypoint.Dispatcher.dispatch(Dispatcher.java:97)

      at oracle.dbtools.http.entrypoint.EntryPoint$FilteredServlet.service(EntryPoint.java:243)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:73)

      at oracle.dbtools.http.forwarding.QueryFilteringRewrite.doFilter(QueryFilteringRewrite.java:89)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.forwarding.ForwardingFilter.doFilter(ForwardingFilter.java:59)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.cors.CORSPreflightFilter.doFilter(CORSPreflightFilter.java:67)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.cookies.auth.CookieSessionCSRFFilter.doFilter(CookieSessionCSRFFilter.java:77)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.auth.AuthenticationFilter.authenticate(AuthenticationFilter.java:89)

      at oracle.dbtools.http.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:62)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.url.mapping.RequestMapperBase.doFilter(RequestMapperBase.java:53)

      at oracle.dbtools.url.mapping.CompositeMapper$RequestMapperFilterChain.doFilter(CompositeMapper.java:144)

      at oracle.dbtools.url.mapping.RequestMapperBase.doFilter(RequestMapperBase.java:53)

      at oracle.dbtools.url.mapping.CompositeMapper.doFilter(CompositeMapper.java:37)

      at oracle.dbtools.url.mapping.URLMappingBase.doFilter(URLMappingBase.java:89)

      at oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(URLMappingFilter.java:83)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.locale.LocaleFilter.doFilter(LocaleFilter.java:59)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.cors.CORSResponseFilter.doFilter(CORSResponseFilter.java:83)

      at oracle.dbtools.http.filters.HttpResponseFilter.doFilter(HttpResponseFilter.java:45)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.java:81)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.auth.ForceAuthFilter.doFilter(ForceAuthFilter.java:44)

      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:46)

      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)

      at oracle.dbtools.http.filters.Filters.filter(Filters.java:47)

      at oracle.dbtools.http.entrypoint.EntryPoint.service(EntryPoint.java:85)

      at oracle.dbtools.http.entrypoint.EntryPointServlet.service(EntryPointServlet.java:49)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

      at oracle.dbtools.rt.web.HttpEndpointBase.dispatchableServices(HttpEndpointBase.java:123)

      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)

      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)

      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)

      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)

      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

      at java.lang.Thread.run(Unknown Source)

        • 1. Re: Oracle Rest with Apache Tomcat - 404 Not Found
          HristiyanK

          Hello,

           

          I think tomcat default port is 8080. If you have configured it to listen on 9090, please share your server.xml file (in $CATALINA_HOME/conf). You may also post the part of $CATALINA_HOME/logs/catalina.out that is right after tomcat start - it will show deployment of ords.war and will report if it finds some errors.

           

          Regards,

          Hristiyan