System Administration Guide: Basic Administration

ProcedureHow to Change Oracle Java Web Console Properties

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Depending on which Oracle Solaris release you are running, change the selected property value as follows:

    • If you are running at least the Solaris 10 11/06 release, use this command:


      # wcadmin add -p -a console name=value
      
      -p

      Specifies that the object type is a property.

      -a console

      Specifies that the property changes are for the application named console. The -a console option must always be used when you are changing console properties.

      name=value

      Specifies the property name and the new value for that property.

    • For the Oracle Solaris 10, Solaris 10 1/06, and the Solaris 10 6/06 releases, use this command:


      # smreg add -p -c name
      
  3. (Optional) Reset a console property to its default value.

    • If you are running at least the Solaris 10 11/06 release, use this command:


      # wcadmin remove -p -a console name=value
      
    • For the Oracle Solaris 10, Solaris 10 1/06, and the Solaris 10 6/06 releases, use this command:


      # smreg remove -p -c name
      
      -p

      Specifies that the object type is a property.

      -c

      Specifies that the property changes are for the console application. The -c option must always be used when you are changing console properties.

      name

      Specifies the property name and the new value for that property.


Example 3–1 Changing the Oracle Java Web Console's Session Timeout Property

This example shows how to set the session time out value to 5 minutes.


# wcadmin add -p -a console session.timeout.value=5


Example 3–2 Configuring the Oracle Java Web Console Logging Level

This example shows you how to set the logging level to all.


# wcadmin add -p -a console logging.default.level=all


Example 3–3 Resetting the Oracle Java Web Console Logging Level to the Default Value

This example shows how to reset the logging level to the default.


# wcadmin remove -p -a console logging.default.level


Example 3–4 Specifying a Java Version for the Oracle Java Web Console

This example shows how to set the Java version for the console.


# wcadmin add -p -a console java.home=/usr/java


Example 3–5 Choosing an Auditing Implementation for the Oracle Java Web Console

This example shows you how to set the auditing implementation to None.


# wcadmin add -p -a console audit.default.type=None

The valid auditing types are:

None

No auditing

Log

Audit messages to syslog

Solaris

Audit messages to BSM