Use the delete command to delete classes of virtual servers, virtual servers, and listen sockets.
Use the options shown in Options with the delete command to delete classes.
Table A–13 Delete command options
Option |
Value |
---|---|
-c |
Deletes the specified virtual server class. |
-l |
Deletes the specified listen socket IDs |
-v |
Deletes the specified virtual servers. |
-r |
Deletes the specified resource. |
Use this option of the delete command to delete a virtual server class.
HttpServerAdmin delete -c -cl classname -d server_root -sinst http_instance
Use the parameters shown in Options with the delete command to delete classes.
Table A–14 Delete class parameters
parameter |
Value |
---|---|
-c l class |
The class name you want to delete. |
HttpServerAdmin delete -c -cl class1 -d /export/sun/server6 -sinst https-sun.com |
Use this option of the delete command to delete a listen socket.
HttpServerAdmin delete -l -id listen_socket -d server_root -sinst http_instance
Use the parameters shown in Options with the delete command to delete classes.
Table A–15 Delete class parameters
parameter |
Value |
---|---|
-id listen_socket |
The ID of the listen socket you want to delete. |
HttpServerAdmin delete -l -id ls3 -d /export/sun/server6 -sinst https-sun.com |
Use this option of the delete command to delete a virtual server.
HttpServerAdmin delete -v -id virtual_server -cl classname -d server_root -sinst http_instance
Use the parameters shown in Options with the delete command to delete a virtual server.
Table A–16 Delete virtual server parameters
parameter |
Value |
---|---|
-id virtual_server |
The virtual server ID you want to delete |
-cl class |
The class the virtual server belongs to. |
HttpServerAdmin delete -v -id vs3 -cl class1 -d /export/sun/server6 -sinst https-sun.com
Use this option of the delete command to delete a connection pool.
HttpServerAdmin delete -r jdbcconnectionpoolname
Use the parameters shown in Options with the delete command to delete a connection pool.
Table A–17 Delete connection pool parameters
parameter |
Value |
---|---|
connectionpoolname |
The name of the connection pool you want to delete |
HttpServerAdmin delete -r connpool |
Use this option of the delete command to delete a JNDI resource.
HttpServerAdmin delete -r jndiname
Use the parameters shown in Options with the delete command to delete a JNDI resource.
Table A–18 Delete JNDI resource parameters
parameter |
Value |
---|---|
jndiname |
The JNDI name of the resource you want to delete |
HttpServerAdmin delete -r testresource |