404 Not Found 请求无法映射到任何数据库

问题描述 投票:0回答:1

这几天我很疲于解决这个问题,我也重新安装了ORDS几次,但我无法解决这个问题,请帮我解决一下。 我使用的是 apache tomcat 7.0.77

[[email protected] ords\]# mkdir ORDS-config
[[email protected] ords\]# java -jar ords.war configdir ORDS-config/
May 01, 2017 9:41:11 AM oracle.dbtools.cmdline.ModifyConfigDir execute
INFO: Set config.dir to ORDS-config/ in: /u01/app/ords/ords.war
[[email protected] ords\]# vim params/ords_params.properties
You have new mail in /var/spool/mail/root
[[email protected] ords\]# java -jar ords.war
Enter the database password for ORDS_PUBLIC_USER:
Confirm password:
Please login with SYSDBA privileges to verify Oracle REST Data Services schema.

Enter the username with SYSDBA privileges to verify the installation \[SYS\]:
Enter the database password for SYS:
Confirm password:
Enter 1 if you want to use PL/SQL Gateway or 2 to skip this step.
If using Oracle Application Express or migrating from mod_plsql then you must enter 1 \[1\]:
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to specify passwords for Application Express RESTful Services database users (APEX_LISTENER, APEX_REST_PUBLIC_USER) or 2 to skip this step \[1\]:
Enter the database password for APEX_LISTENER:
Confirm password:
Enter the database password for APEX_REST_PUBLIC_USER:
Confirm password:
May 01, 2017 9:43:04 AM oracle.dbtools.common.config.file.ConfigurationFilesBase update
INFO: Updated configurations: defaults, apex, apex_pu, apex_al, apex_rt
Installing Oracle REST Data Services version 3.0.6.176.08.46
... Log file written to /u01/app/ords/logs/ords_install_core_2017-05-01_094304_00364.log
... Verified database prerequisites
... Created Oracle REST Data Services schema
... Created Oracle REST Data Services proxy user
... Granted privileges to Oracle REST Data Services
... Created Oracle REST Data Services database objects
... Log file written to /u01/app/ords/logs/ords_install_datamodel_2017-05-01_094320_00325.log
Completed installation for Oracle REST Data Services version 3.0.6.176.08.46. Elapsed time: 00:00:17.36

Enter 1 if you wish to start in standalone mode or 2 to exit \[1\]:2
You have new mail in /var/spool/mail/root

img

oracle oracle-apex oracle-apex-5 oracle-apex-5.1
1个回答
0
投票

404 就是您所期望的 - 没有任何内容映射到该 URI。

您的安装成功,ORDS 正在运行。

因此,如果您在 HR 模式中发布 RESTful 服务,并将 HR 别名为“HumanR”,那么您将转到 http:...8080/ords/HumanR/module/template/

但是,在您创建服务之前,ORDS 无法为您提供任何服务,因此您会收到 404。

© www.soinside.com 2019 - 2024. All rights reserved.