facebook

Sun App Server 8.1 DB2/JDBC issue [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #223018 Reply

    rtse
    Member

    Hello,

    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.path

    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.path

    This 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.

    #223022 Reply

    Riyad Kalla
    Member

    Shouldn’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.

    #223026 Reply

    rtse
    Member

    I put the DB2 /bin directory in the library path box as you suggested – worked like a charm
    Thanks for the amazingly quick reply.

    #223030 Reply

    Riyad Kalla
    Member

    Glad to hear it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Sun App Server 8.1 DB2/JDBC issue [Closed]

You must be logged in to post in the forum log in