Test JDBC data sources
博客专区 > Oscarfff 的博客 > 博客详情
Test JDBC data sources
Oscarfff 发表于1年前
Test JDBC data sources
  • 发表于 1年前
  • 阅读 7
  • 收藏 0
  • 点赞 0
  • 评论 0
摘要: weblogic 配置 datasource connection

Test JDBC data sources

 

In the Administration Console, you can manually test individual instances of a data source. When you test a data source, WebLogic Server reserves a connection from the data source, tests it using the standard testing query or the query specified in Test Table Name, and then returns the database connection to the pool of connections. Test results are displayed at the top of the page in the Administration Console.

The manual connection test relies on the Test Reserved Connections and Test Table Name attributes of the data source. Those attributes are set by default. However, if you changed either attribute, the changes will affect the database connection test.

To test a JDBC data source:

  1. If you have not already configured testing options for the data source, see Configure testing options for a JDBC data source and configure options forTest Reserved Connections and Test Table Name.
  2. In the Domain Structure tree, expand Services, then select Data Sources.
  3. On the Summary of Data Sources page, click the data source name.
  4. Select the Monitoring: Testing tab.
  5. On the Testing page, select the instance of the data source that you want to test.

    Date source instances are listed by the server on which they are deployed.

  6. Click the Test Table Name button. Test results are displayed at the top of the page.
共有 人打赏支持
粉丝 70
博文 796
码字总数 96788
×
Oscarfff
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: