![]() |
Sun Java System Identity Server 2004Q2 Sample |
Main Page > Console Sample Page Administration Console: Console Listener SamplePurposeDisplay the parameters that are passed to an implementation of the AMConsoleListener class. The parameters will be sent to the admin console debug file found in /var/opt/SUNWam/debug/amConsole.
Files1. ConsoleEventListener.java
Directions1. Compile the Java filescd /opt/SUNWam/samples/console/ConsoleEventListener gmake all 2. Create a new jar with the sample class files cd /opt/SUNWam/samples/console jar cf am_console_sample.jar com 3. Copy the am_console_sample.jar into /opt/SUNWam/web-src/applications/WEB-INF/lib 4. Set the value of com.iplanet.services.debug.level in AMConfig.properties to message. 5. Redeploy the console Set the DEPLOY_LEVEL to 22 in the silent file For webserver: run amws61config -s <silent file> For application server: run amas70config -s <silent file> 6. Login to the console as the Top Level Administrator, click on Service Management Tab, select Administration Service, and add com.iplanet.am.console.base.model.ConsoleEventListener to the Event Listener Class attribute. 7. Access the console and view /var/opt/SUNWam/debug/amConsole. You will see the debug messages from the event listener class. |