gpt4 book ai didi

tomcat - ords 数据库未映射数据库

转载 作者:行者123 更新时间:2023-11-28 22:01:45 25 4
gpt4 key购买 nike

我正在尝试配置 Oracle Apex 5 和 ORDS 以与 Tomcat 一起工作。我设法按照 Oracle 文档说明完成了所有步骤,但是当我尝试使用 http://localhost:8080/ords/ 访问 ORDS 时,出现错误:

404 Not Found

The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured

请支持,独立运行。

甲骨文:11g
操作系统:Linux
Tomcat:7(正在运行)

最佳答案

当我发现ORDS突然停止工作并在登录页面遇到404错误时,我通过执行以下步骤解决了我的问题。希望对您有所帮助!

出现404时,可能恰好是用户密码过期有问题。

  1. 检查您是否有任何已过期/锁定的用户:

    SELECT username, account_status, created, lock_date, expiry_date FROM dba_users WHERE account_status != 'OPEN';

  2. 然后执行一堆“alter user xxx identified as xxxx account unlock”。

  3. 打开每个必要的用户帐户后,以管理员身份在控制台中执行以下操作:

    Java -jar ords.war 设置

    网络停止tomcat8

    网络启动tomcat8

关于tomcat - ords 数据库未映射数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37406013/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com