请高手解决一个启动Tomcat服务器出现的错误!
TSAIP] [ERROR] 2012-03-28 12:58:31,328 org.hibernate.util.JDBCExceptionReporter(JDBCExceptionReporter.java:78) -5860 [main] - Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,468 org.hibernate.util.JDBCExceptionReporter(JDBCExceptionReporter.java:78) -8000 [main] - Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,468 org.hibernate.util.JDBCExceptionReporter(JDBCExceptionReporter.java:78) -8000 [main] - Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,609 org.springframework.web.context.ContextLoader(ContextLoader.java:215) -8141 [main] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuInit' defined in file [C:\Tomcat 6.0\webapps\AWMonitor\WEB-INF\classes\com\rx\security\servlet\menuInit.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
; nested exception is java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,468 org.hibernate.util.JDBCExceptionReporter(JDBCExceptionReporter.java:78) -8000 [main] - Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,468 org.hibernate.util.JDBCExceptionReporter(JDBCExceptionReporter.java:78) -8000 [main] - Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
[TSAIP] [ERROR] 2012-03-28 12:58:33,609 org.springframework.web.context.ContextLoader(ContextLoader.java:215) -8141 [main] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'menuInit' defined in file [C:\Tomcat 6.0\webapps\AWMonitor\WEB-INF\classes\com\rx\security\servlet\menuInit.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
; nested exception is java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
...全文
相关推荐
IDEA JavaWeb项目启动运行后出现404错误的解决方法
如若以上方法仍未解决问题,建议检查项目的部署路径、Tomcat服务器的配置以及JSP页面的编写是否正确无误。
让tomcat自动启动
如果路径中包含空格,请尝试将Tomcat移动到一个新的不含空格的路径下。
Linux小技巧分享之如何重新启动tomcat
#### 三、常见问题及解决方法在实际操作过程中,可能会遇到一些常见问题,例如:- **无法启动**:检查日志文件(如 `catalina.out`),看是否有错误提示。
eclipse远程调试tomcat
配置完成以上配置后,启动Tomcat服务器。
Tomcat安装_CHS
检查启动状态- 启动过程中,命令行窗口会显示Tomcat服务器启动的相关日志信息。- 如果遇到任何错误或异常,请检查`JAVA_HOME`是否正确配置,以及JDK版本是否与Tomcat兼容。


