Results 1 to 2 of 2
  1. #1
    dilshod is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

    Default DB2 Connection Pool

    I have a web the project from realisation a pool connection (GlassFish+DB2). Behind time reboots mainframe which it is established СУБД DB2 and after that when the user starts a web the application connection is not created new and the error stands out:

    “com.ibm.db2.jcc.am.ro: [jcc][t4][2030][11211][4.8.87] Ошибка связи при работе с гнездом соединения, входным потоком гнезда
    или выходным потоком гнезда. Положение ошибки: T4Agent.sendRequest(). Сообщение: Connection reset by peer: socket write error. ERRORCODE=-4499, SQLSTATE=08001 ”.


    Help to eliminate a problem, please.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,280
    Rep Power
    6

    Default Re: DB2 Connection Pool

    Is that so strange? The connection to the database is cut, so you'll get connection errors.

    The question is: even when you get the error(s), does the connection pool create new connections so the web application will work anyway? Because if not you will probably want to look in the glassfish manual how you can configure the connection pool to do that.

Similar Threads

  1. Creating Connection Pool
    By zuzacat in forum New To Java
    Replies: 0
    Last Post: 10-23-2011, 05:57 PM
  2. Connection Pool
    By mine0926 in forum Advanced Java
    Replies: 57
    Last Post: 06-18-2011, 04:07 AM
  3. using snaq.db for connection pool
    By Li Xiao in forum JDBC
    Replies: 1
    Last Post: 08-08-2010, 11:28 AM
  4. Using Database connection pool
    By amsagara in forum Advanced Java
    Replies: 0
    Last Post: 08-11-2009, 01:44 PM
  5. connection pool for db2
    By paty in forum JDBC
    Replies: 1
    Last Post: 08-06-2007, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •