Unable to create weblogic connection pool

I'm getting the following error while creating weblogic connection pool.
I'm using weblogic 6.1 on Solaris and Oracle 9i database. Please help me out for resolving this.


weblogic.common.ConnectDeadException: failed to make new pool connection: weblogic.common.ResourceException:
 Could not load 'oracle.jdbc.driver.OracleDriver

 If this is a type-4 JDBC driver, it could occur if the JDBC
 driver is not in the system CLASSPATH.

 If this is a type-2 JDBC driver, it may also indicate that
 the Driver native layers(DBMS client lib or driver DLL)
 have not been installed properly on your system
 or in your PATH environment variable.
 This is most likely caused by one of the following:
 1. The native layer SO, SL, or DLL could not be found.
 2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
 3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
Who is Participating?
RomModConnect With a Mentor Commented:
The question has been PAQ'd and the 100 points have been refunded.
Community Support Moderator
souns like the oracle driver classes are not available to the wl classloader.
where have you put the driver classes?
Mayank SAssociate Director - Product EngineeringCommented:
Looks like you've done some reasonable amount of research before posting it. That looks good. Can you make sure if the driver-class is in the class-path (Weblogic's class-path)?
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Are you creating the connection pool programmatically? AFAIK WebLogic comes with its own set of drivers, even for Oracle (although this is true for 8.1, not sure about 6.1 version) why don't use use them? Also can you post the output of this:

pavannaiduAuthor Commented:
Guys.. problme fixed and its working now for me. thanX for the comments given..

Changes what i did

1.we need to specify the complete info where ever u r giving DB URL. I don't know the reason for this but with Oracle 9i we have to specify as follows.


Please ask a quesiton to community support http://www.experts-exchange.com/Community_Support/ for zero points to PAQ the question and refund the points back to you.
Mayank SAssociate Director - Product EngineeringCommented:
What did you have in the URL before?
pavannaiduAuthor Commented:
Mayank Shridhar

The previous URL is

and one more thing is, following are the some of the details about the versions of software i'm using.

1.Oracle 9.2.5 (64 bit version)
2.JVM 32 bit version on Solaris 5.8

As i'm using 32 bit JVM, even if i have Oracle 64 bit version, if i'm connecting using JDBC driver i should used 32 bit oracle libraries only... meaning i should have lib32 in my LD_LIBRARY_PATH, not lib.


> A request has been made to close this question; if there are no objections within 4 days, the request will be granted.

Fine by me :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.