WAS控制台登录不进去的处理办法
WAS 6.1版本
http://ip:9090/admin,能够展现,但是那个用户名和密码给忘记了,咋办?
好办:
登录到服务器上,
cd到 /usr/IBM/WebSphere/AppServer/profiles/server_name/config/cells/<hostname>Cell目录下,修改 security.xml:
原来是这样样子:【文件第一句】
<security:Security xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:orb.securityprotocol="http://www.ibm.com/websphere/appserver/schemas/5.0/orb.securityprotocol.xmi" xmlns:security="http://www.ibm.com/websphere/appserver/schemas/5.0/security.xmi" xmi:id="Security_1" useLocalSecurityServer="true" useDomainQualifiedUserNames="false" enabled="true" cacheTimeout="600" issuePermissionWarning="true" activeProtocol="BOTH" enforceJava2Security="false" enforceFineGrainedJCASecurity="false" appEnabled="false" dynamicallyUpdateSSLConfig="true" activeAuthMechanism="LTPA_1" activeUserRegistry="LocalOSUserRegistry" defaultSSLSettings="SSLConfig_hostb066Node02_1">
修改后是这样样子:
<security:Security xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:orb.securityprotocol="http://www.ibm.com/websphere/appserver/schemas/5.0/orb.securityprotocol.xmi" xmlns:security="http://www.ibm.com/websphere/appserver/schemas/5.0/security.xmi" xmi:id="Security_1" useLocalSecurityServer="true" useDomainQualifiedUserNames="false" enabled="false" cacheTimeout="600" issuePermissionWarning="true" activeProtocol="BOTH" enforceJava2Security="false" enforceFineGrainedJCASecurity="false" appEnabled="false" dynamicallyUpdateSSLConfig="true" activeAuthMechanism="LTPA_1" activeUserRegistry="LocalOSUserRegistry" defaultSSLSettings="SSLConfig_hostb066Node02_1">
就修改这一个地方,杀was进程,重启was,好了,可以登录进去了!