|
From: <ek...@ba...> - 2003-05-06 21:21:14
|
I'm having a bit of difficulty clearing out the internal Map (configs) within com.babeldoc.core.config.ConfigService. There is a method in there called clearCache( ) which basically calls configs.clear( ). However, it appears that it is not "really" clearing it because even though it reports that there are zero entries after this call (I print it out), subsequent calls to getConfig( ) DO NOT delegate to the underlying config service to get the configuration information (such as pipelinestage details). Any ideas on this? Could it have something to do with the Jakarta LRUMap class not really implementing the clear( ) method properly or something crazy like that? I've spent a whole day on this already and can really use a little insight. Thanks. If you recall, I clear out the Hashmap when I write to the config table in the database so that my weblogic servers on my cluster all get the most up-to-date information ... each currently subscribes to a JMS topic which triggers a Message Driven Bean on each that calls ConfigService.clearCache( ), thereby forcing them to go to the database for all their configuration information following my process that saves to the DB Erik ________________________________________________________________________ The information in this e-mail, and any attachment therein, is confidential and for use by the addressee only. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Although The Bank of New York attempts to sweep e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. |