2.3 List of subcommands of asadmin command to be used in the Java EE server
The following table shows a list of subcommands of asadmin command to be used in the Java EE server.
Commands used for domain administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a backup of the domain |
Creates a backup of the files in a named domain. |
|
Changes the administrator password |
Changes the administrator password. |
|
Creates Java EE Server domain |
Creates Java EE Server domain. |
|
Configures the starting of the DAS or server instance |
Configures the starting of the DAS or server instance on an unattended boot on OS. |
|
Deletes a domain |
Deletes the specified domain. |
|
Lists all the backups |
Displays information about the domain backups. |
|
Lists the domains in the specified directory |
Lists the domains in the specified domains directory. |
|
Restarts the DAS of the specified domain |
Stops and then restarts the DAS of the specified domain. |
|
Restores files from the backup |
Restores files under the domain from a backup directory. |
|
Starts the DAS of the specified domain |
Starts the DAS of the specified domain. |
|
Stops the DAS of the specified domain |
Stops the DAS of the specified domain. |
Commands used for node administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a node that is not enabled for remote communication |
Creates a node that is not enabled for remote communication. |
|
Creates a node that is enabled for communication over SSH |
Creates a node that is enabled for communication over SSH. |
|
Deletes a node that is not enabled for remote communication |
Deletes a node that is not enabled for remote communication. |
|
Deletes a node that is enabled for communication over SSH |
Deletes a node that is enabled for communication over SSH from the domain. |
|
Lists all Java EE Server nodes in a domain |
Lists all Java EE Server nodes in a domain. |
|
Lists all Java EE Server nodes that do not support remote communication in a domain |
Lists all Java EE Server nodes that do not support remote communication in a domain. |
|
Lists all Java EE Server nodes that support communication over SSH in a domain |
Lists all Java EE Server nodes that support communication over SSH in a domain. |
|
Tests nodes enabled for communication over SSH to determine if they are usable |
Validates the node to determine if the asadmin utility can run on the host which the node represents. |
|
Sets up an SSH key on specified hosts |
Sets up an SSH key on specified hosts. |
|
Updates the configuration data of a node |
Updates the configuration data of a node. This subcommand does not require the SSH to be configured to update the node. |
|
Updates the configuration data of a node |
Updates the configuration data of a node. This subcommand requires SSH to be configured on the machine where the DAS is running and on the machine where the node resides. |
Commands used for server administration
Command Name |
Classification |
Summary |
---|---|---|
Cleaning PRF environment |
Stops the PRF servers that were created on the host running the subcommand, and removes (cleans up) the PRF environment. |
|
Cleaning web server environment |
Stops a web server that was set up on the host running the subcommand. This subcommand removes (cleans up) the web server environment. |
|
Copies an existing named configuration to create another configuration |
Creates a configuration in the DAS by copying an existing configuration. |
|
Creates Java EE Server cluster |
Creates Java EE Server cluster. |
|
Creates a server instance |
Creates a server instance. |
|
Creating PRF server in domain |
Creates a PRF server in the domain. |
|
Creating web server |
Creates a web server in the domain. |
|
Deletes Java EE Server cluster |
Deletes Java EE Server cluster. |
|
Deletes an existing named configuration |
Deletes an existing named configuration from the configuration of the DAS. |
|
Deletes a server instance |
Deletes a server instance. |
|
Deleting PRF server |
Deletes the specified PRF server from the domain. |
|
Deleting web server |
Deletes the specified web server from the domain. |
|
Exports the configuration data of a cluster or standalone instance to an archive file |
Exports the configuration data of a cluster or standalone instance to an archive file. |
|
Provides information on the cluster health |
Gets information about the health of the cluster. |
|
Imports the configuration data of a clustered instance or standalone instance from an archive file |
Imports the configuration data of a clustered instance or standalone instance from an archive file that was created by the export-sync-bundle subcommand. |
|
Lists existing clusters in a domain |
Lists existing clusters in a domain. |
|
Lists the server instances |
Lists the server instances in a domain. |
|
Listing PRF servers |
Lists the PRF (Performance Tracer) servers that have been set up in the domain. |
|
Listing all web servers |
Lists all the web servers that have been set up in the domain. |
|
Starts a cluster |
Starts a cluster by starting all the server instances in the cluster that are not already running. |
|
Starts a server instance |
Starts a server instance. |
|
Starting PRF server |
Starts the specified PRF server. |
|
Starting all the servers in batch |
Starts, in a batch, all the servers in the domain. |
|
Starting web server |
Starts the specified web server. |
|
Stops Java EE Server cluster |
Stops Java EE Server cluster by stopping all running server instances in the cluster. |
|
Stops a running server instance |
Stops a running server instance. |
|
Stopping PRF server |
Stops the specified PRF server. |
|
Stopping all the servers in batch |
Stops, in a batch, all the servers in the domain. |
|
Stopping web server |
Stops the specified web server. |
|
Validates that the multicast transport is available for clusters |
Validates that the multicast transport is available for clusters. |
Commands used for setting server relations
Command Name |
Classification |
Summary |
---|---|---|
Creating relation between servers |
Creates a relation between servers. |
|
Deleting relation between servers |
Deletes a relation between servers from the domain. |
|
Listing relations between servers |
Lists the relations between servers. |
Commands used for application administration
Command Name |
Classification |
Summary |
---|---|---|
Creates the reference to an application |
Creates a reference from a clustered or an unclustered server instance to a previously deployed application element. |
|
Removes the reference to an application |
Removes a reference from a cluster or an unclustered server instance to an application. |
|
Deploys the specified component |
Deploys applications to the server. |
|
Disables the component |
Disables the specified deployed component. |
|
Enables the component |
Enables the specified deployed component. |
|
Retrieves the application JAR files needed to launch the application client |
Copies the required JAR files for an AppClient standalone module or each AppClient module in an application from the server machine to the local directory. |
|
Lists the existing application references |
Lists all the application references in a cluster or an unclustered server instance. |
|
Lists the deployed applications |
Lists the deployed Java EE applications and the type of each application that is listed. |
|
Lists the application containers |
Lists the application containers. |
|
Lists Java EE Server modules |
Displays a list of modules that are accessible to Java EE Server module subsystem. |
|
Lists EJB or servlet components either in a deployed module or in the module of a deployed application |
Lists the EJB or servlet components in a deployed module or in a module of a deployed application. |
|
Lists all the persistent timers owned by the server instance(s) |
Lists the persistent timers owned by a specific server instance or a cluster of server instances. |
|
Lists the servlet context-initialization parameters of a deployed Web application or module |
Lists the servlet context-initialization parameters of a deployed Web application or module. |
|
Lists the environment entries for a deployed Web application or module |
Lists the environment entries for a deployed Web application or module. |
|
Redeploys the specified component |
Redeploys an enterprise application, Web application, module based on the Enterprise JavaBeans (EJB) specification (EJB module), connector module, or application client module that is already deployed or already exists. |
|
Sets a servlet context-initialization parameter of a deployed Web application or module |
Sets a servlet context-initialization parameter of a deployed Web application or module. |
|
Sets an environment entry for a deployed Web application or module |
Sets an environment entry for a deployed Web application or module. |
|
Displays the status of the deployed component |
Gets the status (either enabled or disabled) of the deployed component. |
|
Removes a deployed component |
Uninstalls a deployed application or module and removes it from the repository. |
|
Unsets a servlet context-initialization parameter of a deployed Web application or module |
Unsets a servlet context-initialization parameter of a deployed Web application or module. |
|
Unsets an environment entry for a deployed Web application or module |
Unsets an environment entry for a deployed Web application or module. |
Commands used for security administration
Command Name |
Classification |
Summary |
---|---|---|
Changes the master password |
Changes the master password. |
|
Adds the named authentication realm |
Adds the named authentication realm. |
|
Creates a new file user |
Creates an entry in the keyfile |
|
Enables administrators to create a JACC provider that can be used by third-party authorization modules for applications running in Java EE Server |
Creates a JSR-115-compliant Java Authorization Contract for Containers (JACC) provider that can be used for authorization of applications running in Java EE Server. |
|
Creates a password alias |
Creates an alias for a password. |
|
Removes the named authentication realm |
Removes the named authentication realm. |
|
Removes the named file user |
Deletes the entry in the keyfile for the specified username. |
|
Deletes JACC providers defined for a domain |
Enables administrators to delete JACC providers defined for a domain. |
|
Deletes a password alias |
Deletes a password alias. |
|
Disables secure admin |
Disables secure admin if it is already enabled. |
|
Enables secure admin |
Enables secure admin if it is not already enabled. |
|
Lists the authentication realms |
Lists the authentication realms. |
|
Lists the file groups |
Lists the file users and groups supported by the file realm authentication. |
|
Lists the file users |
Displays a list of file users supported by file realm authentication. |
|
Lists JACC providers defined for a domain |
Enables administrators to list the JACC providers defined for a domain. |
|
Lists all the password aliases |
Lists all the existing password aliases. |
|
Lists the cipher suites that are supported and made available to a specific Java EE Server target |
Enables administrators to list the cipher suites that are supported and made available to a specified Java EE Server target. |
|
Updates a current file user as specified |
Updates an existing entry in the keyfile using the specified user name, password and groups. |
|
Updates a password alias |
Updates the password alias IDs in the named target. |
Commands used for log administration
Command Name |
Classification |
Summary |
---|---|---|
Collecting system information when domain administration server stops |
Collects system information when the domain administration server stops. |
|
Collecting system information when domain administration server starts |
Collects system information when the domain administration server starts. |
|
Lists all the logging attributes defined for a specific target in a domain |
Lists all the logging attributes currently defined for the specified Java EE Server domain or a target within a domain. |
|
Sets the logging attributes for one or more loggers |
Sets the logging attributes for one or more loggers. |
Commands used for setting parameters
Command Name |
Classification |
Summary |
---|---|---|
Creates options for Java VM |
Creates command-line options that are passed to Java VM when Java EE Server is started. |
|
Adds one or more system property elements that can be referenced elsewhere in the configuration |
Adds or updates system properties that can be referenced elsewhere on the server. |
|
Removes one or more options for Java VM |
Removes one or more command-line options for Java VM. |
|
Removes a system property of the domain, configuration, cluster, or server instance, one at a time |
Deletes a system property of a domain, configuration, cluster, or server instance. |
|
Retrieves the values of configurable attributes |
Retrieves the values of configurable attributes. |
|
Lists the configurable elements |
Lists the configurable attributes of Java EE Server. |
|
Lists the named configurations in the configuration of the DAS |
Lists named configurations in the configuration of the DAS. |
|
Lists options for Java VM |
Displays a list of command-line options that are passed to Java VM when the Java EE Server is started. |
|
Lists the system properties of the domain, configuration, cluster, or a server instance |
Lists the system properties of a domain, configuration, cluster, or server instance. |
|
Sets the values of configurable attributes |
Sets the values of configurable attributes. |
Commands used for system administration
Command Name |
Classification |
Summary |
---|---|---|
Adds one or more library JAR files to Java EE Server |
Adds one or more library archive files to Java EE Server. |
|
Creates the profiler element |
Creates the profiler element. |
|
Removes the profiler element |
Deletes the profiler element in the Java configuration. |
|
Lists the available commands |
Lists the asadmin subcommands. |
|
Lists the library archive files present on Java EE Server |
Lists library archive files present on Java EE Server. |
|
Logs you into a domain |
Enables you to log into a particular domain, thus simplifying domain administration. |
|
Removes one or more library JAR files from Java EE Server |
Removes one or more library JAR files from Java EE Server. |
|
Displays the version information for Java EE Server |
Displays the version information for Java EE Server. |
Commands used for internet connection administration
Command Name |
Classification |
Summary |
---|---|---|
Adds a new protocol |
Adds a new protocol. |
|
Creates and configures the SSL element in the selected HTTP listener, IIOP listener, or IIOP service |
Creates and configures the SSL element in the selected HTTP listener, IIOP listener, or IIOP service to enable secure communication on that listener/service. |
|
Removes a protocol |
Removes the specified protocol. |
|
Deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service |
Deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service. |
|
Lists the existing network listeners |
Lists the existing network listeners. |
|
Lists the existing protocols |
Lists the existing protocols. |
|
Lists the existing transports |
Lists the existing transports. |
|
Lists the existing virtual servers |
Lists the existing virtual servers. |
Commands used for ORB administration
Command Name |
Classification |
Summary |
---|---|---|
Adds an IIOP listener |
Adds an IIOP listener. |
|
Removes an IIOP listener |
Removes an IIOP listener. |
|
Lists the existing IIOP listeners |
Lists the existing IIOP listeners. |
Commands used for resource administration
Command Name |
Classification |
Summary |
---|---|---|
Creates the resources named in a specified XML file |
Creates the resources named in a specified XML file. |
|
Creates a reference to a resource |
Creates a reference from a cluster or an unclustered server instance to a previously created resource. |
|
Removes a reference to a resource |
Removes from a cluster or an unclustered server instance a reference to a resource (for example, a JDBC resource). |
|
Lists the existing resource references |
Lists all the resource references in a cluster or an unclustered server instance. |
Commands used for database connection administration
Command Name |
Classification |
Summary |
---|---|---|
Registers a JDBC connection pool |
Registers a new Java Database Connectivity ("JDBC") software connection pool with the specified JDBC connection pool name. |
|
Creates a JDBC resource with the specified JNDI name |
Creates a new JDBC resource. |
|
Removes the specified JDBC connection pool |
Deletes a JDBC connection pool. |
|
Removes a JDBC resource with the specified JNDI name |
Removes a JDBC resource with the specified JNDI name. |
|
Lists all JDBC connection pools |
Lists the current JDBC connection pools. |
|
Lists all JDBC resources |
Displays a list of all the existing JDBC resources. |
Commands used for JavaMail service administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a JavaMail session resource |
Creates a JavaMail session resource. |
|
Removes a JavaMail session resource |
Removes the specified JavaMail session resource. |
|
Lists the existing JavaMail session resources |
Lists the existing JavaMail session resources. |
Commands used for JNDI service administration
Command Name |
Classification |
Summary |
---|---|---|
Registers the connector resource with the specified JNDI name |
Registers the connector resource with the specified JNDI name. |
|
Registers a JNDI resource |
Registers a JNDI resource. |
|
Deletes a custom resource |
Deletes a custom resource. |
|
Removes a JNDI resource |
Removes the specified JNDI resource. |
|
Gets all the custom resources |
Gets all the custom resources. |
|
Lists all the existing JNDI resources |
Identifies all the existing JNDI resources. |
Commands used for JMS administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a JMS host |
Creates a Java Message Service (JMS) host within the JMS service. |
|
Creates a JMS resource |
Creates a Java Message Service (JMS) connection factory resource or a JMS destination resource. |
|
Creates a JMS physical destination |
Creates a Java Message Service (JMS) physical destination. |
|
Removes a JMS host |
Removes a JMS host. |
|
Removes a JMS resource |
Removes a JMS resource. |
|
Removes a JMS physical destination |
Removes a JMS physical destination. |
|
Purges messages in a JMS destination |
Purges the messages from a physical destination in the server's Java Message Service (JMS) configuration. |
|
Lists the existing JMS hosts |
Lists the existing Java Message Service (JMS) hosts for the JMS service. |
|
Lists the JMS resources |
Lists the existing Java Message Service (JMS) resources (destination and connection factory resources). |
|
Lists the existing JMS physical destinations |
Lists the Java Message Service (JMS) physical destinations. |
Commands used for EIS connection administration
Command Name |
Classification |
Summary |
---|---|---|
Creates an administered object with the specified JNDI name for a resource adapter |
Creates the administered object with the specified JNDI name and the interface definition for a resource adapter. |
|
Adds a connection pool with the specified connection pool name |
Defines a pool of connections to an Enterprise Information System (EIS). |
|
Registers the connector resource with the specified JNDI name |
Registers the connector resource with the specified JNDI name. |
|
Creates a security map for the specified connector connection pool |
Creates a security map for the specified connector connection pool. |
|
Creates a work security map for the specified resource adapter |
Maps the caller identity of the work submitted by the resource adapter EIS principal or EIS user group to a suitable principal or user group in Java EE Server security domain. |
|
Creates the configuration information for the connector module |
Creates configuration information for the connector module. |
|
Removes the administered object with the specified JNDI name |
Removes an administered object with the specified JNDI name. |
|
Removes the specified connector connection pool |
Removes the specified connector connection pool. |
|
Removes the connector resource for the specified JNDI name |
Removes the connector resource with the specified JNDI name. |
|
Deletes a security map for the specified connector connection pool |
Deletes a security map for the specified connector connection pool. |
|
Deletes a work security map for the specified resource adapter |
Deletes a security map associated with the specified resource adapter. |
|
Deletes the resource adapter configuration |
Deletes the configuration information for the connector module. |
|
Reinitializes all connections established in the specified connection pool |
Resets a JDBC connection pool or a connector connection pool to its initial state. |
|
Gets all the administered objects |
Lists all the administered objects. |
|
Lists the existing connector connection pools |
Lists the connector connection pools that have been created. |
|
Lists all connector resources |
Lists all the connector resources. |
|
Lists the security maps belonging to the specified connector connection pool |
Lists the security maps belonging to the specified connector connection pool. |
|
Lists the work security maps belonging to the specified resource adapter |
Lists the work security maps belonging to the specified resource adapter. |
|
Lists the names of the current resource adapter configurations |
Lists the configuration information in thedomain.xml for the connector module. |
|
Tests a connection pool to determine if it is usable |
Tests if an existing JDBC or connector connection pool is usable. |
|
Modifies a security map for the specified connector connection pool |
Modifies a security map for the specified connector connection pool. |
|
Modifies a work security map for the specified resource adapter |
Modifies a security map for the specified resource adapter. |
Commands used for thread pool administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a thread pool |
Creates a thread pool with the specified name. |
|
Removes a thread pool |
Removes the thread pool with the specified ID. |
|
Lists all the thread pools |
Lists Java EE Server thread pools. |
Commands used for transaction administration
Command Name |
Classification |
Summary |
---|---|---|
Recovers pending transactions manually |
Recovers transactions after a server failure. |
Commands used for batch job administration
Command Name |
Classification |
Summary |
---|---|---|
Lists the batch job executions and execution details |
Lists the batch job executions and execution details. |
|
Lists the steps for a specific batch job execution |
Lists the steps for a specific batch job execution. |
|
Lists the batch jobs |
Lists the batch jobs and job details. |
|
Displays the configuration of the batch runtime |
Displays the configuration of the batch runtime. |
|
Configures the batch runtime |
Configures the batch runtime. |
Commands used for concurrent resource administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a context service resource |
Creates a context service resource. |
|
Creates a managed executor service resource |
Creates a managed executor service resource. |
|
Creates a managed scheduled executor service resource |
Creates a managed scheduled executor service resource. |
|
Creates a managed thread factory resource |
Creates a managed thread factory resource. |
|
Deletes a context service resource |
Removes a context service resource with the specified JNDI name. |
|
Removes a managed executor service resource |
Removes a managed executor service resource with the specified JNDI name. |
|
Removes a managed scheduled executor service resource |
Removes a managed scheduled executor service resource with the specified JNDI name. |
|
Removes a managed thread factory resource |
Removes a managed thread factory resource with the specified JNDI name. |
|
Lists the context service resources |
Lists the context service resources. |
|
Lists the managed executor service resources |
Lists the managed executor service resources. |
|
Lists the managed scheduled executor service resources |
Lists the managed scheduled executor service resources. |
|
Lists the managed thread factory resources |
Lists the managed thread factory resources. |
Commands used for message security provider administration
Command Name |
Classification |
Summary |
---|---|---|
Creates a message security provider |
Creates a message security provider that specifies how SOAP messages will be secured. |
|
Deletes a message security provider |
Enables administrators to delete a message security provider. |
|
Lists all the security message providers for the given message layer |
Enables administrators to list all security message providers (provider-config sub-elements) for the given message layer (message-security-config element of domain.xml). |
Commands used to manage the event hook command
Command Name |
Classification |
Summary |
---|---|---|
Registering event hook command |
Registers an event hook command, which is executed automatically when an event occurs in the domain administration server. |
|
Unregistering event hook command |
Unregisters an event hook command. |
|
Listing event hook commands |
Lists the registered event hook commands. |
- Important note
-
-
Specify the value which can be specified by each command as the argument of a command. Operation is not guaranteed when other values are specified.
-
Even if a command is executed normally, errors may have occurred. Check the message log and stack trace log.
-