I'm not shure if this is a user (my fault) or
developer (bug?) question, so I send it to both.

My configuration is: Jonas 1.5, Java1.2.2, PostgreSQL 6.5.2

Problem is, Jonas is using up all my connections to 
Postgres, and I have to shut down Jonas to get back
the connections to Postgres.

To verify the problem, I'v don the following:

Shuting down all clients and Jonas (AdmServer -s)
  Open connections: 0   OK

Starting Jonas (EJBServer &)
  Open Connections: 0   OK

Starting first Client
  Open Connections: 1   OK

Starting second Client
  Open Connections: 2   OK

Starting third Client
  Open Connections: 3   OK

Shuting down all three Clients
  Open Connections: 3   OK

_NOW THE TROBLE STARTS_!

Starting first client
  Open Connections: 4   NOT OK !!!!!!!

Starting second Client
  Open Connections: 5   NOT OK !!!!!!!

Sooner or later, all connections are used up
and I have to restart jonas to free the connections.

So what I'm doing wrong? I have triple check that I close
all connections in my Session Bean, I always use


    Connection conn = null;
    try {
        conn = dataSource.getConnection();
        ....
    } 
    catch (SQLException e) {
        throw new java.rmi.RemoteException(....);
    }
    finally {
        try {
            conn.close();
        }
        catch (Exception e) {}
    }

So, where is the problem???


Thanks, Max

---
Dipl.-Ing. Maximilian Wei�b�ck
Intellinet EDV-Dienstleistungsges.m.b.H
Phone: +43 1 5952388 16
mailto:[EMAIL PROTECTED]
http://www.intellinet.at
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to