A configuration group can be used to validate Nucleus properties across various configuration clients, through one or more configuration validators that run on the master configuration server. The master configuration server collects live property values from running configuration clients for validation. Validation errors and warnings are written out via Nucleus logging; these are also accessible on the master configuration server via the Dynamo Component Browser.

Installed Validators

All validators are registered with the component atg/dynamo/service/groupconfig/validation/ValidatorRegistry. The Oracle ATG Web Commerce distribution provides three validator components, in this Nucleus directory:

/atg/dynamo/service/groupconfig/validation/

Validator

Description

UniquePortNameValidator

Verifies that a configured port name is unique to a given host machine. This validator is useful for checking settings such as the drpPort, and can be used by Oracle ATG Web Commerce services to compose a unique ID for an Oracle ATG Web Commerce instance.

LiveConfigValidator

Verifies whether all configuration clients of a given node type have the same liveconfig setting.

RepositoryValidator

Checks all known repositories to determine whether the following settings are consistent:

- Client lock manager settings for repositories that use locked or distributedHybrid caching

- Subscriber repository and event sender settings for repositories that use distributed caching

All registered validators are scheduled to run according to the value set on the property ConfigurationServer.schedule — by default, every 30 seconds. You can also manually execute all registered validators by invoking the runValidators() method on the master configuration server. Errors are logged every five minutes on the master configuration server.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices