Skip to content

Inactive Connection Timeout in Weblogic EBS R12.2

Inactive Connection Timeout is a feature in WebLogic that allows you to configure the amount of time a connection can be inactive before it is closed by the server. This can be useful in preventing “leaked connections,” which occur when a connection is not properly closed by the client and remains open, potentially consuming resources on the server.

To set up the Inactive Connection Timeout feature in WebLogic, you can use the WebLogic Administration Console in R12.2.

To set the Inactive Connection Timeout parameter, follow these steps.

  1. Login to the WebLogic Server console, which is typically at machine.domain.port:7001/console. The port number can be found by examining the s_wls_adminport variable in the context file.
  2. Navigate to Services (Tree Link) -> Data Sources (Tree Link) -> EBSDataSource (Page Link)-> Connection Pool (tab) -> Advanced (Expand Arrow).
  3. Click on the Lock and Edit Button in the top left hand corner of the screen.
  4. Update the Inactive Connection Timeout to the desired value in seconds: for example, a setting of 3600 for one hour. When set to 0, the feature is disabled.


5. Click “Save” to apply the changes.

You can also set it via WebLogic script as well.

It’s important to note that if a connection is closed by the server due to inactivity, any unsaved data will be lost, so it’s important to choose an appropriate timeout value that balances the need to prevent leaked connections with the need to avoid interrupting active connections.

Reference:

Oracle E-Business Suite 12.2 Data Source Connection Pool Diagnostics (Doc ID 1940996.1)

Brijesh Gogia
Leave a Reply