Websphere Application Server 6.1 连接池问题 - AS 无法获取连接时会发生什么
我研究了 Websphere Application Server Express v6.1 的 Websphere 文档“连接生命周期”,并在网络上搜索了以下问题的答案。
连接池状态
- 选择预测试现有池连接 - 重试间隔为 0 秒
- 选择预测试新连接 - 重试次数为零且重试间隔为 0
- 预测试 SQL 字符串为“Select 'Hello' from Dual”
如果预测试失败并且重试失败,会发生什么情况
- 中没有任何连接 处于FreePool 状态还是InUse 状态?
- 有处于inFreePool状态的连接吗?
我指的是“数据源 > data_source > Websphere Application Server 数据源”中的设置
I have studied the Websphere document "Connection Life Cycle" for Websphere Application Server Express v6.1 and and have searched the web for an answer to the following.
Connection Pool State
- Pretest existing pooled connection is selected - retry interval is zero seconds
- Pretest new connections is selected - # of retries is zero and retry interval is 0
- Pretest SQL String is "Select 'Hello' from dual"
What happens if the pretest fails and
- There are no connections in the
inFreePool or InUse state? - There are connections in the inFreePool state?
I'm referring to the settings in "Data sources > data_source > Websphere Application Server data source"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应用程序调用 getConnection
如果通过测试,则将其交给应用程序。
application calls getConnection
handed to the application if it passes the test.