commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "German Castro Donoso" <gecas...@gmail.com>
Subject Problem with pool
Date Fri, 01 Aug 2008 15:20:36 GMT
Hello,

I have a pool that contains tcp sockets, looking the log files i've noticed
that some times when a socket fails (in the validateObject function) the
object is destroyed... but twice. After that, when the pool recive 2
simultaneus request for a socket, the pool give the same socket to two
diferent clients at the same time.

Anybody had have a similar problem? it's a bug in my code or a bug in the
pool?

Thanks for any help.
Germán

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message