cmx_unregister_resource (Delete a resource) (For compatibility)
Format
- To delete a resource adapter
cmx_unregister_resource [Common-arguments] -resname resource-adapter-display-name
- To delete a JavaBeans resource
cmx_unregister_resource [Common-arguments] -resname JavaBeans-resource-display-name
Function
This command deletes the specified resource adapter or the JavaBeans resource from the domain managed by Management Server.
Arguments
- -resname resource-adapter-display-name-or-JavaBeans-resource-display-name
- Specifies the display name of the resource adapter or the JavaBeans resource. Use the display name output in the message issued after the cmx_register_resource command is executed.
Input examples
cmx_unregister_resource -resname App1
Return values
- 0:
- The command is terminated normally.
- 1:
- The command is terminated with a warning.
- 64:
- The command is terminated abnormally.
Notes
- If the specified resource adapter or the JavaBeans resource is associated with the Web system using the cmx_define_resource command, an error occurs.
- This command is used for compatibility with earlier versions. For the commands related to resource operations, we recommend that you use the server management commands in the version 08-00 and later versions.