wls_removemw

Description

Removes the Enterprise Security middleware from a BEA WebLogic server.

NoteAfter you remove Enterprise Security from a WebLogic server, the administrator must perform some manual configuration—see “Removing Enterprise Security from a WebLogic server”.

Syntax

wls_removemw --wls_admin_password password
                 --wls_admin_username user_name -- wls_dir directory
[--wls_admin_host host_name] 
[--wls_admin_port port]

Argument

Datatype

Default value

Description

* wls_admin_password

string

Password for the user identified by wls_admin_username.

* wls_admin_username

string

User name for the WebLogic administrator.

* wls_dir

string

WebLogic server installation directory.

wls_admin_host

string

localhost

Name of the machine where the WebLogic server is running.

wls_admin_port

integer

7001

WebLogic connection port.

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

1

The command failed.

Examples

Example 1

This command line example removes the Enterprise Security middleware from a WebLogic server. The arguments provide the WebLogic administrator’s user name and password, and the WebLogic server installation directory.

securetool wls_removemw --wls_admin_username admin 
--wls_admin_password bea --wls_dir C:\WebLogic\Server

See also

wls_removesm wls_deploymw