日志标签 ‘proxool’

Proxool 的HouseKeeper NullPointerException

2010年6月10日

使用Proxool连接池, 当在重启Tomcat容器时,出现    Exception in Thread "HouseKeeper" java.lang.NullPointerException 空指针异常错误。 原因是:

This is because Proxool is not being shutdown properly. If the JVM stops then Proxool recognises that and shuts down gracefully, but if you redeploy Proxool into some environments (for example, a servlet container) then Proxool needs to be explicitly told so by calling ProxoolFacade.shutdown(). If you have a servlet container then you could put it in the servlet’s destroy() method. Alternatively, use the ServletConfigurator to both configure and shutdown Proxool

阅读全文——共1403字

Proxool配置详解

2010年6月10日

Proxool连接池是sourceforge下的一个开源项目,这个项目提供一个健壮、易用的连接池,最为关键的是这个连接池提供监控的功能,方便易用,便于发现连接泄漏的情况。开源项目地址是: http://proxool.sourceforge.net/

Proxool提供了很多配置属性,其属性意义如下,当然还是建议直接查看官方文档http://proxool.sourceforge.net/properties.html:

 

阅读全文——共4928字