Wednesday, November 5, 2008

How To Verify if Autoconfig is Enabled on 11.5.x

There exists a script under /bin named adcfginfo.sh (adcfginfo.cmd on Windows) which can be used to check if autoconfig is enabled in an instance.

Usage:

adcfginfo.sh [help]

adcfginfo.sh contextfile= [show=]
[log=] [appspass=]


This script generates a logfile under $APPL_TOP/admin/$CONTEXT_NAME/log when it is run.


another method to find out if an instance is autoconfig enabled is to open adovars or the environment file inder and check the file's header. If the instance was autoconfig enabled, the file would contain the following header.

############################################################################
#
# AutoConfig automatically generates this file. It will be read and
# overwritten. If you were instructed to edit this file, or if you are not
# able to use the settings created by AutoConfig, refer to Metalink
# document 165195.1 for assistance.
#
############################################################################


One thing to note is that if a file containing this header is manually edited, it is no longer officially autoconfig enabled.



No comments: