Test JDBC data sources
博客专区 > Oscarfff 的博客 > 博客详情
Test JDBC data sources
Oscarfff 发表于2年前
Test JDBC data sources
  • 发表于 2年前
  • 阅读 9
  • 收藏 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
博文 802
码字总数 96913
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
* 支付类型