Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem on connection pooling with Weblogic

  Asked By: Manju    Date: Jun 03    Category: Java    Views: 1152

I have some problems with definig a connection pool with weblogic 7 .

I can create a connection pool in weblogic console and apply it successfully but

when I want to define a target server for it , some exception such as java.lang.NullPointerException

and some nested exceptions occure .

I'll be so glad if any one guide me



1 Answer Found

Answer #1    Answered By: Burkett Bernard     Answered On: Jun 03

I thought the following might help, although it is based on WebLogic 6.?.


Step 2 JDBC connection  Pool setup

1. Run WebLogicServer with cs9316domain as domain name and
cs9316server as server  name.
2. Go to JDBC/Connection Pools and then select Configure a
New JDBC Connection Pool in the right frame to
create and configure a Connection Pool.
3. Set the following information:

Name: CS9316DataPool
Driver Classname: oracle.jdbc.driver.OracleDriver
4. Click Create.
5. Click on the Connections tab and set Initial Capacity to
1 connections, Maximum Capacity to 5 and Capacity
Increment to 1. Then click Apply.
6. Deploy this Connection Pool on your server by clicking on
the Targets. You will then see your server in the
Available view. Highlight it and click the right arrow button
to move it over to the Chosen view. Then click Apply.
The Connection Pool is now active. Now you can create  and
configure the DataSource.

Didn't find what you were looking for? Find more on Problem on connection pooling with Weblogic Or get search suggestion and latest updates.