必须要用数据库连接池才能防止SQL SERVER的连接数被迅速耗尽

耗尽时,JDBC会报异常:Address already in use

起初我以为是因为WINDOWS XP对TCP连接数的限制,换了windows 2003,还是报这个错

后来我加上了连接池,在XP下测试,这个问题不在发生

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.