Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unable to create weblogic connection pool

Posted on 2004-08-08
10
Medium Priority
?
780 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

688 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