6,786
社区成员
发帖
与我相关
我的任务
分享
<action class="saleAction" method="{1}" name="sale_*">
<result name="LIST">/jsp/sale.jsp</result>
<result name="ADD">/jsp/saleAdd.jsp</result>
<result name="UPDATE">/jsp/saleUpdate.jsp</result>
<result name="MESSAGE">/jsp/common/messagePage.jsp</result>
</action><action class="com.jqt.sale.action.saleAction" method="{1}" name="sale_*">
<result name="LIST">/jsp/sale.jsp</result>
<result name="ADD">/jsp/saleAdd.jsp</result>
<result name="UPDATE">/jsp/saleUpdate.jsp</result>
<result name="MESSAGE">/jsp/common/messagePage.jsp</result>
</action>
23:12:53,531 ERROR [biz_alias] Prototype
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server connection failure during transaction. Due to underlying exception: 'java.net.SocketException: java.net.ConnectException: Connection timed out: connect'.
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection timed out: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:888)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2838)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)
23:12:53,546 WARN [SettingsFactory] Could not obtain connection metadata
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server connection failure during transaction. Due to underlying exception: 'java.net.SocketException: java.net.ConnectException: Connection timed out: connect'.
<?xml version="1.0" encoding="UTF-8"?>
<something-else-entirely>
<proxool>
<alias>biz_alias</alias>
<driver-url>
jdbc:mysql://localhost:3306/jqt?useUnicode=true&characterEncoding=UTF8
</driver-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<driver-properties>
<property name="user" value="jqt"/>
<property name="password" value="jqt"/>
<property name="autoReconnect" value="true"/>
</driver-properties>
<house-keeping-sleep-time>90000</house-keeping-sleep-time>
<simultaneous-build-throttle>10</simultaneous-build-throttle>
<prototype-count>10</prototype-count>
<maximum-connection-count>40</maximum-connection-count>
<minimum-connection-count>15</minimum-connection-count>
<maximum-active-time>900000</maximum-active-time>
<maximum-connection-lifetime>14400000</maximum-connection-lifetime>
<test-before-use>true</test-before-use>
<house-keeping-test-sql>select * from T_Number where number_id='1' </house-keeping-test-sql>
</proxool>
</something-else-entirely>