關於Tomcat 6+MS SQL Server 2000連接池配置的問題
用戶量大了之後,Tomcat 6就出現如下錯誤
aq.executeQuery:null
aq.executeQuery:Connection reset by peer: socket write error
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
嚴重: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing org.apache.tomcat.util.net.TcpWorkerThread@1ce5a9, terminating thread
java.sql.SQLException: Connection reset by peer: socket write error
Tomcat本身並沒有死掉,但是無法從 SQL Server2000中取數據
<Resource name="jdbc/sqlServer"
auth="Container"
type="javax.sql.DataSource"
maxActive="-1"
maxIdle="500"
maxWait="1000"
username=" "
password=" "
removeAbandoned="true"
logAbandoned="false"
removeAbandonedTimeout="30"
driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
>
請教專家,問題可能出在哪裡?
[火星人
]
關於Tomcat 6+MS SQL Server 2000連接池配置的問題已經有393次圍觀
http://coctec.com/docs/service/show-post-14046.html