WebLogic Server Command Reference
|
|
Deletes MBeans. If you delete an Administration MBean, WebLogic Server removes the corresponding entry from the domain's config.xml file.
If the command is successful, it returns OK.
Note: When you delete an Administration MBean, a WebLogic Server instance does not delete the corresponding Configuration MBean until you restart the server instance.
java [ SSL Arguments ] weblogic.Admin
[ {-urlURL} |[
{-adminurlprotocol://]Admin-Server-listen-address:listen-port}[ User Credentials Arguments ]
]
DELETE {-typembeanType|-mbeanobjectName}
|
{-url [
|
To delete Administration MBeans, use To delete Runtime MBeans or Local Configuration MBeans, use one of the following:
For more information, refer to the -url and |
|
Deletes all MBeans of the specified type. For more information, refer to Specifying MBean Types. |
|
|
Fully qualified object name of an MBean in the For more information, refer to the Javadoc for |
The following example deletes the JDBCConnectionPool Administration MBean named myPool:
java weblogic.Admin -url AdminHost:7001 -username weblogic
-password weblogic DELETE -mbean
MedRec:Name=myPool,Type=JDBCConnectionPool
For more information about the environment in which this example runs, refer to Example Environment.
If the command succeeds, it prints the following to standard out:
The following example deletes the JDBCConnectionPool Local Configuration MBean named myPool on a server instance named MedRecManagedServer:
java weblogic.Admin -url ManagedHost:8001 -username weblogic
-password weblogic DELETE -mbean
MedRec:Location=MedRecManagedServer,Name=myPool,
Type=JDBCConnectionPoolConfig
The following example deletes all JDBCConnectionPool Local Configuration MBeans for all server instances in the domain:
java weblogic.Admin -adminurl AdminHost:7001 -username weblogic
-password weblogic DELETE -type JDBCConnectionPoolConfig
The following example deletes all JDBCConnectionPool Local Configuration MBeans on a server instance named MedRecManagedServer:
java weblogic.Admin -url ManagedHost:8001 -username weblogic
-password weblogic DELETE -type JDBCConnectionPoolConfig
|
|
|