What is stale connection in WebLogic?
You will get the “Invalid or Stale Connection” error when you have a connection in the connection pool which is no longer connected to the Database actively.
What is JDBC connection pool in WebLogic?
A connection pool is a named group of identical JDBC connections to a database that are created when the connection pool is deployed, either at WebLogic Server startup or dynamically during run time. Your application “borrows” a connection from the pool, uses it, then returns it to the pool by closing it.
How do I setup a connection pool in WebLogic?
Procedure
- Open the WebLogic Server Console.
- Go to Services > Datasources and select the datasource that you want to change the pool size of.
- Go to Configuration > connection pool.
- Change the Maximum Capacity to the count required for your environment.
How do you refresh a connection pool in WebLogic?
How do I reset the WebLogic Connection Pool after lost connections?
- Start the WebLogic console.
- Navigate to the JDBC Connection Pools screen.
- Click the Control tab.
- Click the Reset button.
What does enable broken do?
The parameter setting ENABLE=BROKEN allows for reasonably fast detection of communication failures without changing operating system TCP/IP parameters that affect all TCP/IP connections.
What causes inactive session in Oracle?
Large numbers of long term inactive sessions are typically caused by problems with an application or an application server not handling its connections properly.
What is the maximum connection pool size in WebLogic?
Maximum capacity This attribute sets the maximum number of connections your pool can grow to within a single WebLogic Server instance. If you set this value to 27 and you have eight WebLogic Server instances, in theory, WebLogic could create up to 216 database connections.
What is SSL in WebLogic?
Secure Sockets Layer (SSL) provides secure connections by allowing two applications connecting over a network to authenticate each other’s identity and by encrypting the data exchanged between the applications. SSL in WebLogic Server is an implementation of the SSL and Transport Layer Security (TLS) specifications.
How do I setup a connection pool?
To use connection pooling, no configuration is required. Configuration is necessary only if you want to customize how pooling is done, such as to control the size of the pools and which types of connections are pooled. You configure connection pooling by using a number of system properties at program startup time.
How do I restart data sources in Weblogic?
To restart a data source using the Administration Console:
- In the Change Center of the Administration Console, click Lock & Edit.
- In the Domain Structure tree, expand Services > JDBC and select Data Sources.
- Select the name of the data source that you want to restart and select the Targets tab.
How do I change data source in Weblogic?
On the Settings for Data Source page, do the following tasks:
- Click the Configuration tab (if not already selected).
- Click the Connection Pool tab.
- Click Save.
- In the Change Center pane, click Activate Changes and log out. Note: The password becomes encrypted when you save your change.
How does inactive connection timeout work on WebLogic?
Setting this parameter will force WebLogic Server to release the connection back to the connection pool after X seconds of inactivity. The number of inactive seconds on a reserved connection before WebLogic Server reclaims the connection and releases it back into the connection pool.
How to change the default timeout period on WebLogic Server?
You can change the default timeout period on the Server —> Tuning tab. For more information, refer to Setting the Timeout Period for LifeCycle Operations in the Administration Console Online Help. By default, a WebLogic Server prompts you to enter a username and password in the command shell that runs the server process.
What’s the default timeout to remove an abandoned connection?
The default value is false. (int) Timeout in seconds before an abandoned (in use) connection can be removed. The default value is 60 (60 seconds). The value should be set to the longest running query your applications might have. (boolean) Flag to remove abandoned connections if they exceed the removeAbandonedTimeout.
How to start WebLogic managed server from command line?
Starting a Managed Server from the Command Line. To start a WebLogic Managed Server from a command line, you use same command and arguments that you use for an Administration Server plus one of the following arguments, which configures a connection to the Administration Server:-Dweblogic.management.server=host:port