7 Replies Latest reply on Apr 8, 2016 1:27 PM by Kris Rice-Oracle

    ORDS Apache Tomcat: not able to view workspace and App images

    alexora


      Hi,

       

      I've seen many similar postings but I've never seen a clear answer for this problem: I've installed Oracle REST Data Services 3.0.2.294.08.40 on Apache Tomcat/7.0.65.

      I've renamed ords.war to apex.war and deployed it to webapps directory, copied images to webpass/i

      Everything is working fine:  http://myhost:8081/apex  displays login, I can compile run Apex aps.

      However when I try to deploy my fist image as a static image or as a workspace image Apex does not display it. I'm getting HTTP 404 not found error.

      All APEX and ORDS accounts are unlocked, no issues there.

      I did enabled the trace and below is the tracing log.

      What am I missing here ? Why ORDS can not locate images from my Workspace and App images ?

      I did tried to use direct url from html source code for my web page and HTTP 404 error

      The same error I'm getting when try to use RestFull data services demo

       

      http://myhost:8081/apex/vault/hr/employees/

       

      404 NOT FOUND

       

      I've enabled the tracing below is the stack trace.

      I did run the config script as sysdba. I'm sure I'm missing something simple here can anyone point out what is this ?

       

      Stack trace

      DispatcherNotFoundException [statusCode=404, reasons=[]]
      at oracle.dbtools.http.entrypoint.Dispatcher.choose(Dispatcher.java:84)
      at oracle.dbtools.http.entrypoint.Dispatcher.dispatch(Dispatcher.java:94)
      at oracle.dbtools.http.entrypoint.EntryPoint$FilteredServlet.service(EntryPoint.java:123)
      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:45)
      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:45)
      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:45)
      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)
      at oracle.dbtools.http.cookies.auth.CookieSessionCSRFFilter.doFilter(CookieSessionCSRFFilter.java:61)
      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:45)
      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:45)
      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)
      at oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(URLMappingFilter.java:69)
      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)
      at oracle.dbtools.http.locale.LocaleFilter.doFilter(LocaleFilter.java:60)
      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:45)
      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)
      at oracle.dbtools.http.cors.CORSResponseFilter.doFilter(CORSResponseFilter.java:71)
      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:75)
      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:45)
      at oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.java:64)
      at oracle.dbtools.http.ecid.ECIDFilter.doFilter(ECIDFilter.java:35)
      at oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.java:45)
      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:45)
      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:80)
      at oracle.dbtools.http.entrypoint.EntryPointServlet.service(EntryPointServlet.java:46)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      at oracle.dbtools.rt.web.HttpEndpointBase.dispatchableServices(HttpEndpointBase.java:156)
      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.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      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:170)
      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:423)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:769)

       

      Thank you,

       

      Alex