OracleRESTDataServices404NotFound

标签:
oraclerestdataservic404notfound |
分类: 技术类 |
Oracle REST Data Services 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
Stack Trace
URLMappingNotFoundException [statusCode=404, reasons=[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]]
at
oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(URLMappingFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.auth.external.ExternalSessionFilter.doFilter(ExternalSessionFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.rt.authentication.apex.ApexSessionQueryRewriteFilter.doFilter(ApexSessionQueryRewriteFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.cors.CORSResponseFilter.doFilter(CORSResponseFilter.
at
oracle.dbtools.http.filters.HttpResponseFilter.doFilter(HttpResponseFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.filters.AbsoluteLocationFilter.doFilter(AbsoluteLocationFilter.
at
oracle.dbtools.http.filters.HttpResponseFilter.doFilter(HttpResponseFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.errors.ErrorPageFilter.doFilter(ErrorPageFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.secure.ForceHttpsFilter.doFilter(ForceHttpsFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.auth.ForceAuthFilter.doFilter(ForceAuthFilter.
at
oracle.dbtools.http.filters.HttpFilter.doFilter(HttpFilter.
at
oracle.dbtools.http.filters.FilterChainImpl.doFilter(FilterChainImpl.
at
oracle.dbtools.http.filters.Filters.filter(Filters.
at
oracle.dbtools.http.entrypoint.EntryPoint.service(EntryPoint.
at
oracle.dbtools.http.entrypoint.EntryPointServlet.service(EntryPointServlet.
at
oracle.dbtools.entrypoint.WebApplicationRequestEntryPoint.service(WebApplicationRequestEntryPoint.
at
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.
at
at
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.
at
解决方法
When you have 404, it could happen to be that there's
a problem with the user password expiration.
1.Check if you have any user that’s
expired/lock:
SELECT username, account_status, created, lock_date,
expiry_date FROM dba_users WHERE account_status != 'OPEN';
2.Then perform a bunch of “alter user xxx identified
as xxxx account unlock”.
第三步供参考 重启tomcat
3.After you have open every necessary user account,
perform the following in your console as administrator:
Java -jar ords.war setup
Net stop tomcat8
Net start tomcat8
-- 刘轶鹤