Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unable to create weblogic connection pool

Posted on 2004-08-08
10
Medium Priority
?
790 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:Mayank S
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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
 
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:Mayank S
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

886 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