Cannot end Appsvr (WebSphere® Application Server) process

When global security is enabled in WebSphere® Application Server and admin_security=true is set in the env_settings.ini file, if an incorrect WebSphere Application Server administrator user name or password is specified in the env_settings.ini file or in the command line, the command to stop the appsvr process will fail.

Symptoms

The appsvr process remains running even if other processes that are related to the product are stopped.

Causes

Incorrect WebSphere Application Server administrator user name or password was provided.

Resolving the problem

Find out the process ID of the appsvr process. Issue kill -9 to end the appsvr process. To avoid similar situation from happening, provide the correct WebSphere Application Server administrator user name and password either in the env_settings.ini file or in the arguments of the command.