What does ATG liveconfig actually do?

liveconfig is essentially a switch to runAssembler that creates a properties file to override default ATG Nucleus behavior. It optimizes the configuration for a “live” production site.

Specifically, it overrides the following properties.

configurationCheckMilliseconds=10000

-to-

configurationCheckMilliseconds=-1
checkFileNameCase=false

-to-

checkFileNameCase=false (yes, this one is the same, but it is mentioned in each property file).

The following two properties are included in liveconfig (EARFILE/atg_bootstrap.war/WEB-INF/ATG-INF/DAS/liveconfig/Nucleus.properties) that are not in the default config.jar (EARFILE/atg_bootstrap.war/WEB-INF/ATG-INF/DAS/config/config.jar)

registerNucleusShutdownHook=true
allowReloadableComponents=false

Below are the contents of each file.

DEFAULT

$class=atg.nucleus.Nucleus
preInitialServiceName=/PreInitial
initialServiceName=/Initial
loggingError=true
loggingWarning=true
loggingInfo=false
loggingDebug=false
GCAfterStartup=true
configurationCheckMilliseconds=10000
checkFileNameCase=false
useJavaConfigurationFinder=false
registerRequestComponents=false
registerSessionComponents=false
messageSource=/atg/dynamo/messaging/DynamoMessageSource
defaultRegion=US
warningAboutImproperScopeAccess=true
componentLockManager=/atg/dynamo/service/ComponentLockManager
debugComponentLocking=false
additionalComponentListeners+=/atg/dynamo/service/ComponentConfigurationPrefetcher
adminServletConfigurationPath=/atg/dynamo/admin/AdminServletConfiguration

LIVECONFIG

configurationCheckMilliseconds=-1
checkFileNameCase=false
registerNucleusShutdownHook=true
allowReloadableComponents=false

The liveconfig directory will not exist in an EAR file that was not built with the “-liveconfig” switch to runAssembler.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.