Re: [bdbxml] Locker entries exceeded?

John Snelson <[email protected]> Mon, 26 Sep 2005 11:39:20 +0100
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
Antony Grinyer wrote:
> We changed the code to increase the max lockers number etc. and then
> stopped all the applications to ensure the environment was closed and
> removed; therefore, do you mean we need to delete all the __db, log, and
> containers files first to ensure the environment is recreated with the
> new locker settings?

You need to either run the Environment.remove() function, or delete all 
of the "__db" files. This should be done with caution - making sure that 
the database is not being used at the time. You will then need to 
recreate the environment, using EnvironmentConfig.setAllowCreate(true).

John

-- 
John Snelson, Berkeley DB XML Engineer
Sleepycat Software, Inc
http://www.sleepycat.com

Contracted to Sleepycat through Parthenon Computing Ltd
http://blog.parthcomp.com/dbxml


------------------------------------------
To remove yourself from this list, send an
email to [email protected]