On Tue, 22 Jun 1999, Oliver Springauf wrote: > Torsten Andrecht wrote: > > > > Please help me ! > > > > I have big problems with the database connection from my servlet on Netscape > > Enterprise Server 3.6 (AIX) to DB2 5.2 (AIX). > > The error trace of the webserver contains the following message: > > > > Error trace: > > > > Can't find library db2jdbc > > Make sure that the library is in your path > > java.lang.UnsatisfiedLinkError: no db2jdbc in shared library path > > java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in shared >library path > > > > Where can I set the shared libraray path to access the db2jdbc library ? > > I was successful by setting the LD_LIBRARY_PATH in the server instance > start script (<netscape>/https-<instance>/start) to include the path > to the binary (in your case: libdb2jdbc.so) > However, my environment is Solaris and Oracle. If this does not work > for you, you can still switch to the net drivers > (com.ibm.db2.jdbc.net.*), > which do not use a extra binary. FWIW, AIX uses LIBPATH instead of LD_LIBRARY_PATH. Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ 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
