Solved

Unable to create weblogic connection pool

Posted on 2004-08-08
10
727 Views
Last Modified: 2008-02-01
Hi,
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.

Regards
Pavan

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.
0
Comment
Question by:pavannaidu
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 92

Expert Comment

by:objects
ID: 11750397
souns like the oracle driver classes are not available to the wl classloader.
where have you put the driver classes?
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 11750405
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)?
0
 
LVL 35

Expert Comment

by:girionis
ID: 11750407
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:

echo $CLASSPATH
0
 

Author Comment

by:pavannaidu
ID: 11750814
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.

URL="jdbc:oracle:oci:@(description=(address=(host=202.60.220.22)(protocol=tcp)(port=1523))(connect_data=(SERVICE_NAME=PAVAN)))

Regards
Pavan
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 35

Expert Comment

by:girionis
ID: 11750931
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.
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 11751816
What did you have in the URL before?
0
 

Author Comment

by:pavannaidu
ID: 11759508
Mayank Shridhar

The previous URL is
URL="jdbc:oracle:thin:@202.60.220.22:1523:PAVAN

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.

LD_LIBRARY_PATH=$ORACLE_HOME/lib32

Regards
Pavan
0
 
LVL 35

Expert Comment

by:girionis
ID: 11759879
> 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 :)
0
 

Accepted Solution

by:
RomMod earned 0 total points
ID: 11796969
The question has been PAQ'd and the 100 points have been refunded.
RomMod
Community Support Moderator
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now