Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Create an Audit Module

The remote create-audit-module command enables you to create an audit module for the add-on component that implements the audit capabilities.

  1. Ensure that the server is running.

    Remote commands require a running server.

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

Example 6–2 Creating an Audit Module

The following example command creates an audit module named sampleAuditModule on localhost:

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

Information similar to the following is displayed:

Creation of AuditModule sampleAuditModule completed successfully

Command create-audit-module executed successfully.