NHibernate.Caches.MemCache.MemCacheProvider SockIOPool "Trying to initialize an already initialized pool" when connecting to multiple databases

Description

Location: Memcached.ClientLibrary.SockIOPool.Initialize(:0)
Line: 0
Type: Memcached.ClientLibrary.SockIOPool
Level: ERROR
Logger: Memcached.ClientLibrary.SockIOPool
Message: Trying to initialize an already initialized pool

In "MemCacheProvider" class in the "public void Start(IDictionary properties)" function
there should be checked if the pool is already initialized!!!!

there is also a problem in the public void Stop() function because we try to stop the default pool instance and not the "nhibernate" instance

Environment

None

Attachments

1

Activity

Show:

Diego Jancic August 2, 2008 at 12:09 AM

I recommend to not use this patch for yourself because it contains a bug that makes the cache fail if it's restarted.
Instead, use the one uploaded in the trunk SVN.

Fabio Maulo June 30, 2008 at 3:03 PM

All contrib project was moved from NH to
http://sourceforge.net/projects/nhcontrib
Please post there.

dabuddhaman April 23, 2008 at 12:38 AM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created March 31, 2008 at 1:53 AM
Updated April 19, 2009 at 2:24 PM
Resolved August 1, 2008 at 11:27 PM
Who's Looking?