2007-3-18 1:08:26 org.apache.tomcat.util.threads.ThreadPool logFull 严重: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status
问题应该出现在Spring的DriverManagerDataSource上,它负责管理这些连接的。 下边是对DriverManagerDataSource 的解释 DriverManagerDataSource in Spring Framework
javax.sql Interface DataSource
Implementation of SmartDataSource that configures a plain old JDBC Driver via bean properties, and returns a new Connection every time.
Useful for test or standalone environments outside of a J2EE container, either as a DataSource bean in a respective ApplicationContext, or in conjunction with a simple JNDI environment. Pool-assuming Connection.close() calls will simply close the connection, so any DataSource-aware persistence code should work.
In a J2EE container, it is recommended to use a JNDI DataSource provided by the container. Such a DataSource can be exported as a DataSource bean in an ApplicationContext via JndiObjectFactoryBean, for seamless switching to and from a local DataSource bean like this class.
If you need a "real" connection pool outside of a J2EE container, consider Apache's Jakarta Commons DBCP. Its BasicDataSource is a full connection pool bean, supporting the same basic properties as this class plus specific settings.