主题 : jeecms连接数据库问题 |
级别: 秀才
|
1# 发表于:2012-04-27 11:35:13 IP:119.28.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
|
7# 发表于:2012-04-27 12:07:02 IP:119.28.*.*
12:04:43.609 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out.
2012-4-27 12:04:51 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring FrameworkServlet 'JeeCmsFront' 2012-4-27 12:04:52 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2012-4-27 12:04:52 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2012-4-27 12:04:52 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/47 config=null 2012-4-27 12:04:52 org.apache.catalina.startup.Catalina start 信息: Server startup in 30110 ms |
||
---|---|---|---|
级别: 总版主
|
8# 发表于:2012-04-27 13:34:07 IP:182.221.*.*
这里写错了jdbc.url=jdbc:mysql://localhost:8080这里端口你改过了吗?
jdbc.url=jdbc:mysql://127.0.0.1:3306/jeecms_2012?characterEncoding=UTF-8是这样的吧 |
||
---|---|---|---|
级别: 秀才
|
9# 发表于:2012-04-27 13:49:59 IP:119.28.*.*
按你那样也不行 都试过了
就在控制台 报 13:47:21.750 ERROR org.hibernate.util.JDBCExceptionReporter - An attempt by a client to checkout a Connection has timed out. 连接不上数据库 |
||
---|---|---|---|