1 Reply Latest reply on Jul 31, 2018 2:41 AM by 2784961

    Apex page works fine, Access RESTful API 404 Not Found

    2784961

      Hi Guys,

           Today I suddenly found out that my RESTful API threw a 404 error,But the APEX pages works fine.Can anyone help me?

      Debug Trace

      [TE] url-mapping start: 2018-07-27T03:31:37.252Z duration: 0ms

      Mapped request to mapping: -PROD|apex|rt|, id=6826052808486527, identityDomain=__NO_IDENTITY_DOMAIN__

      did not authenticate request

      mapped request using: /rest/* to: -PROD|apex|rt|, id=6826052808486527, identityDomain=__NO_IDENTITY_DOMAIN__

      Could not find any dispatcher to handle request:

      --Attributes--

      oracle.dbtools.http.ecid = 6WuH-V3nXyU4Tb-8J0gaDQ..

      ECID-Principal = ECIDPrincipal [ecid=6WuH-V3nXyU4Tb-8J0gaDQ..]

      oracle.dbtools.common.di.Services = URL Mapped Scope

      oracle.dbtools.plugin.api.di.InstanceLocator = oracle.dbtools.common.di.Services$InstanceLocator@661abaeb

      --Attributes--

      GET /ords/rest/fnd/system-codes/ HTTP/1.1

      Host: 192.168.6.22

      host: 192.168.6.22

      cache-control: max-age=0

      upgrade-insecure-requests: 1

      user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

      dnt: 1

      accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8

      accept-encoding: gzip, deflate

      accept-language: zh-CN,zh;q=0.9,en;q=0.8

      cookie: ORA_WWV_REMEMBER_LANG=zh-cn; ORA_WWV_APP_102=ORA_WWV-pKXinmbMc48VvOhZNVZCU2Q-; ORA_WWV_REMEMBER_UN=CHENFD:PROD; ORA_WWV_USER_240108145437547=ORA_WWV-qilvFobwIvOZhhSci9lgS2sE; ORA_WWV_APP_100=ORA_WWV-IDrzK3lohQASRxcDUJ5KDcnq

      connection: close

       

       

      org.apache.catalina.connector.CoyoteInputStream@3f3cb954

      mapped request using: /rest/* to: -PROD|apex|rt|, id=6826052808486527, identityDomain=__NO_IDENTITY_DOMAIN__

      Could not find any dispatcher to handle request:

      --Attributes--

      oracle.dbtools.http.ecid = 6WuH-V3nXyU4Tb-8J0gaDQ..

      ECID-Principal = ECIDPrincipal [ecid=6WuH-V3nXyU4Tb-8J0gaDQ..]

      oracle.dbtools.common.di.Services = URL Mapped Scope

      oracle.dbtools.plugin.api.di.InstanceLocator = oracle.dbtools.common.di.Services$InstanceLocator@38e889b9

      --Attributes--

      GET /ords/rest/fnd/system-codes/ HTTP/1.1

      Host: 192.168.6.22

      host: 192.168.6.22

      cache-control: max-age=0

      upgrade-insecure-requests: 1

      user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

      dnt: 1

      accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8

      accept-encoding: gzip, deflate

      accept-language: zh-CN,zh;q=0.9,en;q=0.8

      cookie: ORA_WWV_REMEMBER_LANG=zh-cn; ORA_WWV_APP_102=ORA_WWV-pKXinmbMc48VvOhZNVZCU2Q-; ORA_WWV_REMEMBER_UN=CHENFD:PROD; ORA_WWV_USER_240108145437547=ORA_WWV-qilvFobwIvOZhhSci9lgS2sE; ORA_WWV_APP_100=ORA_WWV-IDrzK3lohQASRxcDUJ5KDcnq

      connection: close

       

       

      org.apache.catalina.connector.CoyoteInputStream@3f3cb954

      [TE] GET /ords/rest/fnd/system-codes/ start: 2018-07-27T03:31:37.252Z duration: 15ms

       

       

      Stack Trace

      DispatcherNotFoundException [statusCode=404, reasons=[]]

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

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

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

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

      at oracle.dbtools.url.mapping.RequestMapperImpl.doFilter(RequestMapperImpl.java:161)

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

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

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

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

      at oracle.dbtools.http.auth.external.ExternalSessionFilter.doFilter(ExternalSessionFilter.java:59)

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

      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.filters.AbsoluteLocationFilter.doFilter(AbsoluteLocationFilter.java:65)

      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:85)

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

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

      at oracle.dbtools.http.secure.ForceHttpsFilter.doFilter(ForceHttpsFilter.java:72)

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

      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:47)

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

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

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

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

      at oracle.dbtools.entrypoint.WebApplicationRequestEntryPoint.service(WebApplicationRequestEntryPoint.java:50)

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

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

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

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

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

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

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

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

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

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

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

      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)

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

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

      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:412)

      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)

      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1385)

      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

      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)