The configuration commands allow you to configure the operation of the Application Server. This section contains the following topics:
These commands allow you to manage the configuration of the Application Server components.
Table 19–7 General Configuration Commands
Command |
Definition |
enable |
Enables the specified component. If the component is already enabled, then it is re-enabled. The component must have been deployed in order to be enabled. If it has not been deployed, then an error message is returned. |
disable |
Immediately disables the named component. The component must have been deployed. If the component has not been deployed, an error message is returned. |
export |
Marks a variable name for automatic export to the environment of subsequent commands. All subsequent commands use the variable name value as specified unless you unset them or exit multimode. |
get |
Gets the names and values of attributes. |
set |
Sets the values of one or more configurable attribute. |
list |
Lists the configurable element. On Solaris, quotes are needed when executing commands with * as the option value or operand. |
unset |
Removes one or more variables you set for the multimode environment. The variables and their associated values will no longer exist in the environment. |
The HTTP and IIOP listener commands help you manage listeners. These commands are supported in remote mode only.
Table 19–8 IIOP Listener Commands
Command |
Definition |
---|---|
create-http-listener |
Adds a new HTTP listener. |
delete-http-listener |
Removes the specified HTTP listener. |
list-http-listeners |
Lists the existing HTTP listener. |
create-iiop-listener |
Creates an IIOP listener. |
delete-iiop-listener |
Removes the specified IIOP listener. |
list-iiop-listeners |
Lists the existing IIOP listeners. |
create-ssl |
Creates and configures the SSL element in the selected HTTP listener, IIOP listener, or IIOP service to enable secure communication on that listener/service. |
delete-ssl |
Deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service. |
The lifecycle and audit module commands help you control lifecycle modules and optional plug-in modules which implement audit capabilities. The commands are supported in remote mode only.
Table 19–9 Lifecycle Module Commands
Command |
Definition |
---|---|
create-lifecycle-module |
Creates a lifecycle module. The lifecycle modules provide a means of running short or long duration Java-based tasks within the Application Server environment. |
delete-lifecycle-module |
Removes the specified lifecycle module. |
list-lifecycle-modules |
Lists the existing lifecycle module. |
create-audit-module |
Adds the named audit module for the plug-in module that implements the audit capabilities. |
delete-audit-module |
Removes the named audit module. |
list-audit-modules |
Lists all the audit modules. |
The Profiler and JVM options commands allow you to administrate profilers and control these elements. These commands are supported in remote mode only.
Table 19–10 Profiler and JVM Options Commands
Command |
Definition |
---|---|
create-profiler |
Creates the profiler element. A server instance is tied to a particular profiler, by the profiler element in the Java configuration. Changing a profiler requires you to restart the server. |
delete-profiler |
Deletes the profiler element you specify. A server instance is tied to a particular profiler by the profiler element in the Java configuration. Changing a profiler requires you to restart the server. |
create-jvm-option |
Creates JVM options in the Java configuration or profiler elements of the domain.xml file. If JVM options are created for a profiler, they are used to record the settings needed to get a particular profiler going. You must restart the server for newly created JVM options to take effect. |
delete-jvm-option |
Removes JVM options from the Java configuration or profiler elements of the domain.xml file. |
The Virtual Server commands allow you to control these elements. These commands are supported in remote mode only.
Table 19–11 Virtual Server Commands
Command |
Definition |
---|---|
create-virtual-server |
Creates the named virtual server. Virtualization in the Application Server allows multiple URL domains to be served by a single HTTP server process that is listening on multiple host addresses. If the application is available at two virtual servers, they still share the same physical resource pools. |
delete-virtual-server |
Removes the virtual server with the specified virtual server ID. |
list-virtual-server |
Lists the existing virtual servers. |
The threadpool commands allow you to control these elements. These commands are supported in remote mode only.
Table 19–12 Threadpool Commands
Command |
Definition |
---|---|
create-threadpool |
Creates a threadpool with the specified name. You can specify maximum and minimum number of threads in the pool, the number of work queues, and the idle timeout of a thread. The created thread pool can be used for servicing IIOP requests and for resource adapters to service work management requests. A created thread pool can be used in multiple resource adapters. |
delete-threadpool |
Removes the threadpool with the named ID. |
list-threadpools |
Lists all the thread pools. |
The transaction and timer commands allow you to control the transaction and timer subsystems; allowing you to suspend any inflight transactions. These commands are supported in remote mode only.
Table 19–13 Transaction Commands
Command |
Definition |
---|---|
freeze-transaction |
Freezes the transaction subsystem during which time all the inflight transactions are suspended. Invoke this command before rolling back any inflight transactions. Invoking this command on an already frozen transaction subsystem has no effect. |
unfreeze-transaction |
Resumes all the suspended inflight transactions. Invoke this command on an already frozen transaction. |
recover-transactions |
Manually recovers pending transactions. |
rollback-transaction |
Rolls back the named transaction. |
list-timers |
Lists the timers owned by a specific server instance |