- This topic has 3 replies, 2 voices, and was last updated 19 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
rtseMemberHello,
I have set up a Connection Pool to my DB2 database. I can ping the database without any problem. This works when I start the default server using the shortcut menu items in windows. However, when I start the server from within MyEclipse, the ping fails.
I have included the DB2 zip file in the “Append to classpath” section and the library path in the “Append to library path” section in the server setup. When I try the ping, here is the message I am getting:
Jan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnectionPool
WARNING: Connection could not be allocated because: java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path
Jan 18, 2005 4:32:36 PM com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream flush
WARNING: Jan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnect
Jan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnectionPool
WARNING: Connection could not be allocated because: java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path
Jan 18, 2005 4:32:36 PM com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream flush
WARNING: Jan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnectionPool
WARNING: Connection could not be allocated because: java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.pathJan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnectionPool
WARNING: Connection could not be allocated because: java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path
Jan 18, 2005 4:32:36 PM com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream flush
WARNING: Jan 18, 2005 4:32:36 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl testConnectionPool
WARNING: Connection could not be allocated because: java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.pathThis must be a path issue of some sort, but what am I missing?
Shouldn’t launching the server from MyEclipse just use all the setttings already present when I set up the server in the first place (before I even started playing with MyEclipse?)
FYI, I’m running MyEclipse 3.8.3 and using the latest sun download for 1.4
Any help would be greatly appreciated. Thanks.
Riyad KallaMemberShouldn’t launching the server from MyEclipse just use all the setttings already present when I set up the server in the first place
In order to hook debugging in we launch the server executable directly, we don’t use the launch scripts.
Try adding the actual files in from the library path (DLLs and such) directory to the “Append to library path” Box.
rtseMemberI put the DB2 /bin directory in the library path box as you suggested – worked like a charm
Thanks for the amazingly quick reply.
Riyad KallaMemberGlad to hear it.
-
AuthorPosts