Oracle APEX 5.1 with Ords 17 in Tomcat 9–Error tips: 请求无法映射到任何数据库。请确保请求 URL 正确, 并且已正确配置 URL 到数据库的映射
一次意外关机引发的血案
1、重新开机打开 tomcat 9, 一切正常
2、打开 ords,异常报错:
404 Not Found
- 请求无法映射到任何数据库。请确保请求 URL 正确, 并且已正确配置 URL 到数据库的映射
ords 开机顺序:
1、启动ORACLE DB
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 26 19:47:53 2018
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1553305600 bytes
Fixed Size 2253544 bytes
Variable Size 905973016 bytes
Database Buffers 637534208 bytes
Redo Buffers 7544832 bytes
Database mounted.
Database opened.
2、启动DB监听器
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ lsnrctl start
3、启动 tomcat
[root@localhost ~]# su - tomcat
[tomcat@localhost ~]$ $CATALINA_HOME/bin/startup.sh
Using CATALINA_BASE: /home/tomcat/apache-tomcat-9.0.6
Using CATALINA_HOME: /home/tomcat/apache-tomcat-9.0.6
Using CATALINA_TMPDIR: /home/tomcat/apache-tomcat-9.0.6/temp
Using JRE_HOME: /home/tomcat/jdk1.8.0_162
Using CLASSPATH: /home/tomcat/apache-tomcat-9.0.6/bin/bootstrap.jar:/home/tomcat/apache-tomcat-9.0.6/bin/tomcat-juli.jar
Tomcat started.