1

最近几天一直很累,想弄清楚这个问题,我也重新安装了几次ORDS,但我无法解决这个问题,请帮我弄清楚。我正在使用 apache tomcat 7.0.77

[root@ip-xxx.xx.xx.xxx ords\]# mkdir ORDS-config
[root@ip-xxx.xx.xx.xxx 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
[root@ip-xxx.xx.xx.xxx ords\]# vim params/ords_params.properties
You have new mail in /var/spool/mail/root
[root@ip-xxx.xx.xx.xxx 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

图像

4

1 回答 1

0

404 是您所期望的 - 没有任何东西映射到该 URI。

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

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

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

于 2017-05-01T15:34:30.220 回答