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.


--
Oliver Springauf
������������������������������������������������������
debis Systemhaus GEI  Tel.  089/14326-109
Dessauerstrasse 6     Fax   089/14326-304
80992 Muenchen        Email [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

Reply via email to