|
From: <ek...@ba...> - 2003-04-03 14:07:49
|
<< I think all configuration are loaded using ConfigService so it will be in database in your case. However you should be aware of external files that are used by pipeline stages like transformation file in XslTransform pipeline stage. Dejan >> Actually, the problem is in the com.babeldoc.core.config.ConfigService.getConfig( ) method ... in here, it first looks inside a static HashMap to determine if the configuration value is already loaded ... if so, it doesn't attempt to get it externally. This is fine in a non-clustered environment for me because when I update the database with my values, I can just call ConfigService.clearCache( ) and the HashMap is emptied. The problem is when I am in a clustered environment, my request to ConfigService.clearCache( ) will only work on one server ... not all of them ... which means that the internal HashMaps will be out of synch with each other. Also, I will be using the new XslTransform "transformationScript" so I will not be reading from the filesystem ... it will come from the centralized database. Thanks. Erik |