方案
答案 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