[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to fill the pool due to timeout!

2004-05-07 Thread [EMAIL PROTECTED]
Please read READ THIS FIRST.
You are unlikely to get a response unless you at least post the full error message.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834117#3834117

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834117


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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to fill the pool due to timeout!

2004-05-07 Thread aboudank
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=bbop=viewtopicp=3834125#3834125

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to fill the pool due to timeout!

2004-05-07 Thread [EMAIL PROTECTED]
It is just a warning. It says it could check whether the to fill the pool because all 
the
connections were checked out.
This indicates one of two things:
1) You are not returning the connections to the pool
2) Your pool isn't big enough and/or you want to increase the blocking timeout.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834128#3834128

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834128


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