Skip to Main Content

Español

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!

Problema al ejecutar ORDS

rober584812May 14 2021 — edited Nov 11 2021

Hola. Mi entorno de desarrollo local comprende Oracle 18c XE con dos bases de datos de conexión: XEPDB1 y RW_XEPDB2 ejecutándose en Windows 10 PRO, en la primera PDB tengo instalado hace más de 4 meses APEX 20.2 y funciona muy bien, en RW_XEPDB2 he instalado APEX 21.1 sin problemas y sin embargo, NO PERMITE EJECUTR APEX 21.1, solo permite ejecutar APEX 20.2; para ambos casos empleé ORDS 20.2, sin embargo al ejecutar ORDS se genera la siguiente advertencia;
WARNING    The pool named: |rw_xepdb2|| is invalid and will be ignored: El usuario o la contraseña del pool de conexiones |rw_xepdb2|| no son válidos, han caducado o se ha bloqueado la cuenta
SEVERE     Could not process url-mapping.xml mapping: /rw_xepdb2 because pool: |pdb--rw_xepdb2|| is not valid
INFO       Oracle REST Data Services initialized
Oracle REST Data Services version : 20.2.1.r2270350
Oracle REST Data Services server info: jetty/9.4.28.v20200408
La instrucción para ejecutar ORDS es la siguiente:

c:\ords2>java -jar ords.war standalone

Previo a la ejecución standalone de ORDS submití la siguiente instrucción:

c:\ords2>java -jar ords.war map-url --type base-path /rw_xepdb2 pdb--rw_xepdb2

2021-05-13T22:17:49.584Z INFO       Creating new mapping from: [base-path,/rw_xepdb2] to map to: [pdb--rw_xepdb2, null, null]
Ejecuté la validación de ORDS y este es el resultado:
[*** script: ords_alter_session_script.sql]
Procedimiento PL/SQL terminado correctamente.
[*** script: ords_version.sql]

Session alterado.

Procedimiento PL/SQL terminado correctamente.
[*** script: ords_schema_mapping.sql]
INFO: Configuring ORDS_PUBLIC_USER to map APEX Workspaces and ORDS schemas

Session alterado.

Configuring APEX and ORDS schemas for url mapping
Made APEX_PUBLIC_USER proxiable from ORDS_PUBLIC_USER
Made APEX_REST_PUBLIC_USER proxiable from ORDS_PUBLIC_USER
APEX_POOL_CONFIG Synonym exists
Created ORDS_METADATA.APEX_WWV_FLOW_POOL_CONFIG as view over
APEX_210100.APEX_POOL_CONFIG

Procedimiento PL/SQL terminado correctamente.
INFO: Completed configuring ORDS_PUBLIC_USER to map APEX Workspaces and ORDS Schemas

Session alterado.

[*** script: ords_repair_proxy_connect.sql]
INFO: Checking ords enabled schemas and its proxy user

Session alterado.

Procedimiento PL/SQL terminado correctamente.
[*** script: ords_alter_schema_no_auth.sql]
Procedimiento PL/SQL terminado correctamente.
[*** script: ords_migrate_grant_priv.sql]

Session alterado.

INFO: Verify if Application Express exists to setup the migration privileges for
ORDS.
INFO: Completed setting up the APEX REST migration privileges for ORDS.

Procedimiento PL/SQL terminado correctamente.

Session alterado.

[*** script: ords_validate_objects.sql]
INFO: 17:35:10 Validating objects for Oracle REST Data Services.
VALIDATION: 17:35:10 Starting validation for schema: ORDS_METADATA
VALIDATION: 17:35:10 Validating objects
VALIDATION: 17:35:11 Validating roles granted to ORDS_METADATA and
ORDS_PUBLIC_USER
VALIDATION: 17:35:11 Validating ORDS Public Synonyms
VALIDATION: 17:35:11 Total objects: 274, invalid objects: 0, missing objects: 0
VALIDATION: 17:35:11    76 INDEX
VALIDATION: 17:35:11     3 LOB
VALIDATION: 17:35:11    12 PACKAGE
VALIDATION: 17:35:11    12 PACKAGE BODY
VALIDATION: 17:35:11     1 PROCEDURE
VALIDATION: 17:35:11    46 PUBLIC SYNONYM
VALIDATION: 17:35:11     1 SEQUENCE
VALIDATION: 17:35:11    14 SYNONYM
VALIDATION: 17:35:11    27 TABLE
VALIDATION: 17:35:11    27 TRIGGER
VALIDATION: 17:35:11    20 TYPE
VALIDATION: 17:35:11     6 TYPE BODY
VALIDATION: 17:35:11    29 VIEW
VALIDATION: 17:35:11 Validation completed.
INFO: 17:35:11 Completed validating objects for Oracle REST Data Services.

Procedimiento PL/SQL terminado correctamente.
[*** script: ords_alter_session_script.sql]
Procedimiento PL/SQL terminado correctamente.
[*** script: ords_version.sql]

Session alterado.

Procedimiento PL/SQL terminado correctamente.
Saludos.

This post has been answered by rober584812 on Nov 11 2021
Jump to Answer
Comments
Post Details
Added on May 14 2021
4 comments
6,740 views