如何查看proxool实际连接数
答案:2 悬赏:30 手机版
解决时间 2021-04-04 21:24
- 提问者网友:孤凫
- 2021-04-03 23:46
如何查看proxool实际连接数
最佳答案
- 五星知识达人网友:一秋
- 2021-04-04 01:19
1、新建web-inf/proxool.xml配置连接池属性
proxool支持多配置方式如property,javabean等
xml version="1.0" encoding="ISO-8859-1" ?>
< something-else-entirely >
< proxool >
< alias > oracle alias >
< driver-url > jdbc:oracle:thin:@130.51.65.10:1521:xxxxx driver-url >
< driver-class > oracle.jdbc.OracleDriver driver-class >
< driver-properties >
< property name ="user" value ="xxxxxxxx" />
< property name ="password" value ="xxxxx" />
driver-properties >
< maximum-connection-count > 100 maximum-connection-count >
< house-keeping-test-sql > select 1 from dual house-keeping-test-sql >
proxool >
something-else-entirely >
proxool支持多配置方式如property,javabean等
xml version="1.0" encoding="ISO-8859-1" ?>
< something-else-entirely >
< proxool >
< alias > oracle alias >
< driver-url > jdbc:oracle:thin:@130.51.65.10:1521:xxxxx driver-url >
< driver-class > oracle.jdbc.OracleDriver driver-class >
< driver-properties >
< property name ="user" value ="xxxxxxxx" />
< property name ="password" value ="xxxxx" />
driver-properties >
< maximum-connection-count > 100 maximum-connection-count >
< house-keeping-test-sql > select 1 from dual house-keeping-test-sql >
proxool >
something-else-entirely >
全部回答
- 1楼网友:执傲
- 2021-04-04 01:33
寻西山隐者不遇(邱为)
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯