Oracle REST 数据服务 apex_pu [英] Oracle REST Data Service apex_pu

查看:83
本文介绍了Oracle REST 数据服务 apex_pu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装 Oracle REST 数据服务,但出现此错误:(在 java -jar ords.war install 上)

I tried to install Oracle REST Data Service and I got this error: (on java -jar ords.war install)

SEVERE: The pool named: apex_pu is not correctly configured, 
error: ORA-01017: invalid username/password; logon denied

oracle.dbtools.common.jdbc.ConnectionPoolException: 
The pool named: apex_pu is not correctly configured, 
error: ORA-01017: invalid username/password; logon denied

        at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:88)
        at oracle.dbtools.common.config.db.DatabasePools.badConfiguration(DatabasePools.java:198)

推荐答案

提到apex_pu"的池包含在文件 conf/apex_pu.xml 这个文件是给 ORDS_PUBLIC_USER 的.

The pool mentioned "apex_pu" is contained in the file conf/apex_pu.xml This file is for ORDS_PUBLIC_USER.

错误可能来自 2 个原因之一.

The error could be from 1 of 2 reasons.

1 - ORDS_PUBLIC_USER 帐户密码已更改或已过期.更改它并编辑 apex_pu.xml 文件并放置一个 !在密码前面.这将触发 ORDS 在下次启动时对密码进行编码.

1 - ORDS_PUBLIC_USER account passwd has changed or expired. Change it and edit the apex_pu.xml file and place a ! in front of the password. This will trigger ORDS to encode the password at next startup.

<entry key="db.password">!NewPASSWORD</entry>

2 - 如果代理授权已被用户撤销以执行 REST 调用,DB 也会引发此错误.如果发生这种情况,可以通过以下方式重新发放补助金

2 - The DB also throws this error if the proxy grant has been revoke from the user to execute the REST call as. If this has happened the grant can be reissued with the following

alter user USERNAME grant connect through ords_public_user

这篇关于Oracle REST 数据服务 apex_pu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆