Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Create an Audit Module

Use the create-audit-module subcommand in remote mode to create an audit module for the add-on component that implements the audit capabilities.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Create an audit module by using the create-audit-module(1) subcommand.

    Information about properties for this subcommand is included in this help page.

Example 11–7 Creating an Audit Module

This example creates an audit module named sampleAuditModule:

asadmin> create-audit-module 
--classname com.sun.appserv.auditmodule --property defaultuser=
admin:Password=admin sampleAuditModule
Command create-audit-module executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help create-audit-module at the command line.