首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

请高手解决一个启动Tomcat服务器出现的异常

2013-09-11 
请高手解决一个启动Tomcat服务器出现的错误!TSAIP] [ERROR] 2012-03-28 12:58:31,328org.hibernate.util.J

请高手解决一个启动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

[解决办法]
localhost:1521:orcl
这就很明显了!!自己去找找原因。。什么都帖出来问 有意思?

热点排行