Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.11.10 set

Sets the values of configurable attributes.

Synopsis

asadmin [asadmin-options] set [--help]
    attribute-name=value

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The set subcommand uses identifiers targeted by the setting to modify the values of the settings for Application Server. For the parameters that can be specified as identifiers targeted by the setting, refer to List of parameters used with the set and get subcommands. Characters that have special meaning to the shell or command interpreter, such as an asterisk (*), must be quoted or escaped as appropriate to the shell, for example, by enclosing the argument in quotes. In multimode, quotes are needed only for arguments that include spaces, quotes, or backslash. By modifying attributes, we can enable and disable services, and customize how an existing element functions. Any changes made by using the asadmin utility commands are automatically applied to the associated Java EE Server configuration file.

To apply the set values, after executing this subcommand, restart the servers to which the settings are to be applied (domain administration server, web server, Java EE server, and performance tracer). If the set values failed to be made persistent due to a file write failure or other failures, the command can still be successfully completed, but the set values might not be applied after the restart. When the set values failed to be made persistent, an error is output to the server.log of the domain administration server.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

attribute-name=value

Specify the identifier targeted by the setting and its value.

Type: String

The following values can be specified:

  • The identifiers targeted by the setting and their values

Default value: N/A

Examples

The following example changes the steady pool size of the DerbyPool connection pool to 9.

asadmin set resources.jdbc-connection-pool.DerbyPool.steady-pool-size=9

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.