- 论坛徽章:
- 2
|
用户量大了之后,Tomcat 6就出现如下错误
aq.executeQuery:null
aq.executeQuery:[Microsoft][SQLServer 2000 Driver for JDBC]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: [Microsoft][SQLServer 2000 Driver for JDBC]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"
>
请教专家,问题可能出在哪里? |
|