Shared server instances will often need to override attributes defined in their referenced configuration. Any configuration attribute can be overridden through a system property of the corresponding name.
The following topics are addressed here:
Use the create-system-properties subcommand in remote mode to create or update one or more system properties of the domain or configuration. Any configuration attribute can be overwritten through a system property of the corresponding name.
Ensure that the server is running.
Remote subcommands require a running server.
Create system properties by using the create-system-properties(1) subcommand.
Information about properties for the subcommand is included in this help page.
This example creates a system property associated with http-listener-port=1088 on localhost.
asadmin> create-system-properties http-listener-port=1088 Command create-system-properties executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help create-system-properties at the command line.
Use the list-system-properties subcommand in remote mode to list the system properties that apply to a domain or configuration.
Ensure that the server is running.
Remote subcommands require a running server.
List system properties by using the list-system-properties(1) subcommand.
The existing system properties are displayed, including predefined properties such as HTTP_LISTENER_PORT and HTTP_SSL_LISTENER_PORT.
This example lists the system properties on host localhost.
asadmin> list-system-properties http-listener-port=1088 Command list-system-properties executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help list-system-properties at the command line.
Use the delete-system-property subcommand in remote mode to delete system properties.
Ensure that the server is running.
Remote subcommands require a running server.
List the existing system properties by using the list-system-properties(1) subcommand.
Delete the system property by using the delete-system-property(1) subcommand.
If necessary, notify users that the system property has been deleted.
This example deletes a system property named http-listener-port from localhost.
asadmin> delete-system-property http-listener-port Command delete-system-property executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-system-property at the command line.