Hi, There are two ways to connect to Oracle through Weblogic. Either you can use the supplied driver weblogic.jdbc.oci.Driver or use the Java driver given by Oracle. If you use the weblogic supplied, you will have to set path and have the client installed since it is a Type 2 driver. If you use the one that comes with Oracle, you do not need the client. Your log tells me that u are using Weblogic driver. So you need the client. I do not know about UNIX, this info is regarding Windows NT.
Hardeep ----- Original Message ----- From: "Andreetto Angelo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 3:40 PM Subject: Re: Error configuring WebLogic 6.1 example demoPool with Oracle I work with a Unix DB Server running ORACLE 8, I don't have the need to have this client installed, but I use ORACLE classes to access the DB... -----Original Message----- From: Hardeep Singh [mailto:[EMAIL PROTECTED]] Sent: gioved�, 4. ottobre 2001 12:07 To: [EMAIL PROTECTED] Subject: Re: Error configuring WebLogic 6.1 example demoPool with Oracle Hi, I think you will have to add the path to weblogicoci37.dll to the system PATH. This file gets installed with Oracle client. Hardeep ----- Original Message ----- From: "Sandeep" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 3:31 PM Subject: Error configuring WebLogic 6.1 example demoPool with Oracle > I have configured the JDBC connection pool called demoPool in the examples domain of WebLogic 6.1. I configured it to use the Oracle 8i installation that I have on my machine: > > URL : jdbc:weblogic:oracle > Driver : weblogic.jdbc.oci.Driver > Properties : user=scott > server=sandata > password : tiger > > I have included the ejb20.jar and weblogic.jar file in my Win 2000 classpath, I also started my Oracle TNS listner and the SANDATA database on my machine. Yet, when I restart the WebLogic 6.1 exampleServer, it gives me the following error------------ > > > > D:\WebLogic6.1\config\examples>startexampleSserver > ... > ... > ... > Starting Loading jDriver/Oracle ..... > <Oct 4, 2001 3:10:29 PM IST> <Error> <JDBC> <Cannot startup connection pool "demoPool" weblogic.common.ResourceException: > Could not create pool connection. The DBMS driver exception was: > java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError: no weblogicoci37 in java.library.path > at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226) > at weblogic.jdbc.oci.Driver.connect(Driver.java:76) > at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connection EnvFactory.java:189) > .......... > .......... > .......... > .......... > > > Why am I getting that error? > > Sandeep > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". ========================= To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
