WEB开发网
开发学院数据库MySQL Proxool 0.9.1的配置与应用 阅读

Proxool 0.9.1的配置与应用

 2010-02-26 00:00:00 来源:WEB开发网   
核心提示: 运行结果:[INFO]2010-02-2513:05:20[org.logicalcobwebs.proxool.ProxoolFacade]Proxool0.9.1(23-Aug-200811:10)连上了连上了连上了连上了连上了[INFO]2010-02-2513:05:22[org.log

运行结果:

[INFO] 2010-02-25 13:05:20 [org.logicalcobwebs.proxool.ProxoolFacade] Proxool 0.9.1 (23-Aug-2008 11:10)
连上了
连上了
连上了
连上了
连上了
[INFO] 2010-02-25 13:05:22 [org.logicalcobwebs.proxool.ds] Shutting down 'ds' pool immediately [Shutdown Hook]
[INFO] 2010-02-25 13:05:22 [org.logicalcobwebs.proxool.ConnectionPool] Waiting until Thu Feb 25 13:05:22 CST 2010 for all connections to become inactive (active count is 5).
[WARN] 2010-02-25 13:05:22 [org.logicalcobwebs.proxool.ConnectionPool] Shutdown waited for 0 milliseconds for all the connections to become inactive but the active count is still 5. Shutting down anyway.
[INFO] 2010-02-25 13:05:22 [org.logicalcobwebs.proxool.PrototyperController] Stopping Prototyper thread
[INFO] 2010-02-25 13:05:22 [org.logicalcobwebs.proxool.HouseKeeperController] Stopping HouseKeeper thread
Process finished with exit code 0

Proxool提供的配置方式很多,这里进选择最常用的xml方式,另外的方式也很简单,可以参看官方文档:

http://proxool.sourceforge.net/index.html

http://proxool.sourceforge.net/configure.html

三、Proxool很扯蛋的问题----找不到配置文件

proxool的配置文件加载做的比较差劲,通过两个类来加载配置文件:

org.logicalcobwebs.proxool.configuration.PropertyConfigurator

上一页  1 2 3 4 5  下一页

Tags:Proxool 配置 应用

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接