Posted on

Configuring Oracle WLS Loadbalancing and High Availability


Configuring JDBC Replication

In order to get started with JDBC replication, you need at first to create the table and fields where the Http Session will be stored. Download and execute the sql script from

SQL> @jdbc_replication_oracle.sql

Now verify the presence of a new table named WL_SERVLET_SESSIONS:

SQL> select count(*) from WL_SERVLET_SESSIONS;


– – – – – – – – – – 0

As last step, you will need to add to your weblogic.xml the specific Data Source information:

Modify the existing <session-descriptor> element as follows:






Note: In order to work, you need to target the jdbc/OracleDS data source to the cluster:


Choosing between JDBC Session replication and In-Memory replication

When using JDBC Session replication it’s not necessary to define a primary-secondary memory storage for your sessions because all members of the cluster have full access to the session data. This comes however at a price, that is, slower applications if your JDBC based Session replication stores large sets of data in the Session.