ORA-38824在APEX 5.1.3安装/升级期间

时间:2017-11-07 12:52:15

标签: oracle install upgrade oracle-apex oracle-apex-5.1

方案

  1. 尝试使用Oracle 12.2.x DB将Oracle Apex从3.2安装/升级到5.1.x.
  2. 在5.1.x升级安装期间(@ apexins.sql SYSAUX SYSAUX TEMP / i /)安装因 ORA-38824 错误而停止。
  3. 在APEX 5.1.3安装/升级期间发现Oracle Doc ID 2319659.1 - ORA-38824(文档ID 2319659.1)
  4. 选项1中建议的已应用步骤,错误 ORA-38824 错误重新出现

1 个答案:

答案 0 :(得分:2)

为我解决了什么?

连接到12.2.x DB

1. cd apex (of Oracle Apex 5.1.x installation directory ).

2. sqlplus sys as sysdba.

3. Alter session set container = PDB Name. ( if installed on PDB - type also show con_name to verify ).

安装Apex 5.1.x /卸载/重新安装

4. @apexins.sql SYSAUX SYSAUX TEMP /i/ ( please check table space name if not default ) .

5. You should receive an error : ORA-38824: A CREATE OR REPLACE Command May not Change the EDITIONABLE Property of an Existing Object".

6. @apxremov.sql - will remove Apex Correctly - this what does the Trick.

7. re-run : @apexins.sql SYSAUX SYSAUX TEMP /i/ ( please check table space name if not default ).

重要提示:如果您希望保留OLD VERSION APEX应用程序和工作区,而顶点网站导出机制不起作用(由于安装/升级失败),您应该实现以下:< / p>

(积分转到:https://avdeo.com/tag/apexexport-class/

-- Please note that classes12.jar must be in CLASSPATH as well 

set CLASSPATH=%ORACLE_HOME%\jdbc\lib\ojdbc6.jar;%ORACLE_HOME%\oui\jlib\classes12.jar;%CLASSPATH%;
set JAVA_HOME = C:\Program Files (x86)\Java\jre1.8.0_121
set PATH=%PATH%;C:\Program Files (x86)\Java\jre1.8.0_121\bin

cd C:\temp\apex_5.1.3\apex\utilities

-- Please see check APEXExport options ( for exporting all aps at once or workspaces ), here is an example :
java oracle/apex/APEXExport -db apex-server.db.example.com:1525:apexdb -user <apex_schema> -password <passwd> -applicationid 101