You can obtain log information for Delegated Administrator by examining log files generated by the Delegated Administrator components, by the Web container to which Delegated Administrator has been deployed, and by Directory Server and Access Manager.
This appendix includes the following topics:
To debug the Delegated Administrator utility (commadmin), you can print debug messages in the client by using the -v option with the commadmin command.
Default log file name: da.log
Default location: /opt/SUNWcomm/log
/var/opt/SUNWcomm/da/WEB-INF/classes/com/sun/ \ comm/da/resources
You can change the following properties in the logger.properties file:
da.logging.enable=yes or no
where yes enables logging and no disables logging.
By default, logging is disabled. To turn on logging, you must set this value to yes.
specifies the directory and file to which logging statements are written. This property changes da.log to a file name and location you specify.
To do so, you enable a Debug servlet to log debug messages from the Delegated Administrator servlet execution. You can turn on the Debug servlet through your browser by going to the following url path:
http://machine name:port/commcli/debug?op=set&state=all&package=all&filename=full path
machine name is the name of the machine where Delegated Administrator server is running.
full path is the full directory path and name of the log to which messages will be written.
http://abc.red.iplanet.com:8008/commcli/debug?op= \ set&state=all&package=all&filename=/tmp/debug.log
The preceding url would log Debug servlet messages to the following path and file:
Whenever you restart the Web container, you must turn on the Debug servlet.
You can debug Delegated Administrator further by examining the server logs generated by your Web container.
web_server_base is the path where Web Server software is installed.
machine name is the name of the machine where Web Server is running.
application_server7_base is the path where Application Server 7.x software is installed.
application_server8_base is the path where Application Server 8.x software is installed.
You can debug Delegated Administrator further by examining the logs generated by Directory Server and Access Manager.
hostnameis the name of the machine where Directory Server is running.
The preceding path contains the amProfile and amAuth logs.
The preceding path contains the amAdmin.access and amAdmin.error logs.