oracle - 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
解决方案
我认为您使用的路径是错误的。
从文档中:
配置嵌入式 PL/SQL 网关
运行配置脚本 APEX_EPG_CONFIG,将文件系统路径传递到解压缩Oracle Application Express 软件 的基本目录
这意味着如果您将 Apex 软件解压缩到c:\xxx
并且 - 结果 - 得到另一个路径为 的子目录,则c:\xxx\apex\...
必须指定c:\xxx
为apex_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
)。
推荐阅读
- python - 密钥的地址彼此相距很远
- c++ - C++ 标头错误 C2238 意外令牌';'
- php - 如何检查一个数组中是否有另一个数组中的键?
- javascript - ReactJs 'map' 不是函数
- python - Azure Web 应用服务上的 Anaconda 安装
- google-workspace - 图片损坏/丢失/未显示在 Google 网上论坛帖子 (GSuite) 中
- opengl - 如何使用 OpenGL 以有效的方式渲染多个不同的项目
- android - 为什么我不能在 recyclerview 适配器中设置多行
- html - 在 HTML 文件中加载多个 Base64 img
- android - 如何从 Google Map Api v2 获取当前缩放级别?