为什么重启一下服务器就会出现 数据库连不上的异常
为什么重启一下服务器就会出现 数据库连不上的异常
本地程序连接数据库没事的 就是远程的
org.apache.jasper.JasperException: javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.UnknownHostException
MESSAGE: web027368.host66.chinajsp.net
STACKTRACE:
java.net.UnknownHostException: web027368.host66.chinajsp.net
at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)