obviously, in the doGet method of your servlet, you loaded Oracle type 2
driver, and trying to get connection from that driver. you need to install
Oracle client on the machine where the servlet is running, add the
libocijdbc8.so in your library path, it should be under ORACLE_HOME/lib or
something like that...
hope this helps.
>From: "Suon, Thla" <[EMAIL PROTECTED]>
>
>Hello,
>
>I have installed JDK 1.3 and have succesfully compiled the source code,
>however, I am getting a
>runtime error:
>
>java.lang.UnsatisfiedLinkError: Can't find library libocijdbc8.so in
>LIBPATH
>LIBPATH=/usr/jdk_base/lib/aix/native_threads
> at java.lang.Runtime.loadLibrary(Compiled Code)
> at java.lang.System.loadLibrary(Compiled Code)
> at oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code)
> at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
> at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled
>Code)
> at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at Display_STR.doGet(Compiled Code)
> at javax.servlet.http.HttpServlet.service(Compiled Code)
> at javax.servlet.http.HttpServlet.service(Compiled Code)
> at sun.servlet.http.HttpServerHandler.sendResponse(Compiled Code)
> at sun.servlet.http.HttpServerHandler.handleConnection(Compiled
>Code)
> at sun.servlet.http.HttpServerHandler.run(Compiled Code)
> at java.lang.Thread.run(Compiled Code)
>
>Where does the "libocijdbc8.so" comes from.
>
>Thanks,
>Tyla
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html