Adrian, 

Thank u for your response.

I have been trying to get the failure again and I could not! It scares me because I 
have not changed anything and I re-ran the test several times without the error. I did 
search for the error message in JBoss 3.2.3 source and I found it in 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool module:

   public void fillToMin()
  |    {
  |       boolean gotPermit = false;
  |       try
  |       {
  |          if (permits.attempt(poolParams.blockingTimeout))
  |          {
  |             gotPermit = true;
  |             while (true)
  |             {
  |                synchronized (cls)
  |                {
  |                   if (shutdown)
  |                      return;
  | 
  |                   // We have enough connections now
  |                   if (getMinSize() - connectionCounter.getGuaranteedCount() <= 0)
  |                      return;
  | 
  |                   try
  |                   {
  |                      ConnectionListener cl = 
createConnectionEventListener(defaultSubject, defaultCri);
  |                      cls[++currentPoolIndex] = cl;
  |                   }
  |                   catch (ResourceException re)
  |                   {
  |                      log.warn("Unable to fill pool ", re);
  |                      return;
  |                   }
  |                }
  |             }
  |          }
  |          else
  |          {
  |             // we timed out
  |             log.warn("Unable to fill the pool due to timeout ( " +
  |                                       poolParams.blockingTimeout + " [ms] )");
  |          }
  |       }
  |       catch (InterruptedException ie)
  |       {
  |          log.warn("Interrupted while requesting permit!");
  |       }
  |       finally
  |       {
  |          if (gotPermit)
  |             permits.release();
  |       }
  |    } 

This is the first time that I look into JBoss code so it is going to take me a while 
to know what is going on...therefore I would appreciate any extra help to expedite the 
process. 

Thank you again.

Regards,
aboudank


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834125#3834125

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834125


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to