Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot login into ORDS admin using SQL developer

Richard MartensSep 14 2015 — edited Sep 25 2015

When trying to log in I get this response:

Cannot connect to xxx.

<!DOCTYPE html>

<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->

<!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->

<!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->

<!--[if IE 9 ]> <html class="ie9"> <![endif]-->

<!--[if (gt IE 9)|!(IE)]><!-->

<html>

<!--<![endif]-->

<html lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}

</style>

<script type="text/javascript" charset="utf-8">

  'header hgroup'.replace(/\w+/g,

  function(n) {

  document.createElement(n)

  })

</script>

<title>Internal Server Error</title>

</head>

<body class="errorPage">

  <header id="xHeader">

  <hgroup>

  <a id="uLogo" href="./"><span class="logo">ORACLE</span>

  REST DATA SERVICES</a>

  </hgroup>

  </header>

  <div id="xContentHeaderContainer">

  <div class="xContentHeader">

  <h3>

  <span class="statusCode">500</span> - <span

  class="statusMessage">Internal Server Error</span>

  </h3>

  </div>

  </div>

  <div id="xWhiteContentContainer" class="xContentWide">

  <div class="xWhiteContent">

  <div class="errorPage">

  <p>

  <ul class="reasons">

  </ul>

  </p>

  <p>

  <pre>Request Path passes syntax validation

Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]

Applied database connection info

Attempting to process with PL&#x2F;SQL Gateway

Not processed as PL&#x2F;SQL Gateway request

Attempting to process as a RESTful Service

Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]

Determining if request can be dispatched as a Tenanted RESTful Service

Request path has one path segment, continuing processing

No Tenant Principal established yet, continuing processing

APEX_LISTENER pool exists, continuing processing

No matching tenant found for: oauth2, cannot dispatch

Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token

oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..

</pre>

  </p>

  <p>

  <pre>WebException [statusCode=500]

  at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)

  at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)

  at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)

  at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)

  at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:666)

  at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)

  at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)

  at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)

  at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)

  at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)

  at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)

  at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)

  at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)

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

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

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

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

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

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

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

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

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

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

  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

  at java.lang.Thread.run(Thread.java:701)

Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_050000.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)

  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)

  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)

  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)

  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)

  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)

  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)

  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)

  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)

  at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)

  at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:622)

  at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)

  at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)

  at com.sun.proxy.$Proxy19.execute(Unknown Source)

  at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)

  at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)

  ... 24 more

</pre>

  </p>

  </div>

  </div>

  </div>

  <div id="xFooterContainer">

  </div>

</body>

</html>

Obvisously I set

<entry key="debug.printDebugToScreen">true</entry>

in defaults.xml

It tries to do something with table APEX050000.WWV_FLOW_COMPANIES (hence the error on APEX_050000.WWV_FLOW_RT$APPROVALS_SGID_FK.)

What should I do / What is going wrong?

Wh

What APEX_050000.WWV_FLOW_RT$APPROVALS_SGID_FK. A APEX_050000.PEX_050000.WWV_FLOW_RTAPEX_050000.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2015
Added on Sep 14 2015
1 comment
725 views