1 Reply Latest reply on Jun 4, 2006 9:41 AM by Mark Ricard

    What happens if you wait too long for a connection?

    Mark Ricard Newbie

      Here is the scenario:

      You have JBoss configured to handle a connection pool of 50 connections. JBoss gets 2000 requests at the same time for a connection. Obviously, not everyone will get a connection the first time because there are only 50, but it hands out the 50.

      1.) But what happens to the other 1950 requests that are waiting?
      2.) How long do they wait for a connection and then what happens?
      3.) Do you have to code for that and then just "try again" to get the connection if there is an exception?
      4.) What is the exception?

      Thanks in advance.