首页 > 解决方案 > Oracle Apex 5.0.0 安装 - 加载图像时出错

问题描述

当我检查其状态时,我安装了 Apex 5.0.0 及其即将到来的 VALID。

当我加载图像文件时,出现以下错误。我的C:\XXX\apex\images路径实际上有图像。我检查了路径。还有什么问题?

SQL> @apex_epg_config.sql C:\XXX
.Loading images directory: C:\XXX\apex\images
declare
*
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
No such file or directory
ORA-06512: at "SYS.XMLTYPE", line 296
ORA-06512: at line 16

declare
*
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/images"
ORA-06512: at "XDB.DBMS_XDB", line 473
ORA-06512: at line 58

标签: oracleoracle11ginstallationoracle-apex

解决方案


我认为您使用的路径是错误的。

从文档中:

配置嵌入式 PL/SQL 网关

运行配置脚本 APEX_EPG_CONFIG,将文件系统路径传递到解压缩Oracle Application Express 软件 的基本目录

这意味着如果您将 Apex 软件解压缩到c:\xxx并且 - 结果 - 得到另一个路径为 的子目录,则c:\xxx\apex\...必须指定c:\xxxapex_epg_config's 参数:

SQLPLUS /NOLOG
CONNECT SYS AS SYSDBA
@APEX_EPG_CONFIG C:\xxx

如果您使用c:\xxx\apex(或任何目录),您将(并且您确实)得到

ORA-22288: 文件或 LOB 操作 FILEOPEN 失败。该系统找不到指定的路径。

(与您的问题无关,只是提醒您-不要忘记ALTER USER ANONYMOUS ACCOUNT UNLOCK)。


推荐阅读