解决Weblogic Managed Server 因用户密码
启动失败
weblogicBoot identity not valid Java代码
近来启动WebLogic Managed Server 时出现如下错误:
weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:960) at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054) at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873) at weblogic.security.SecurityService.start(SecurityService.java:141) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) Truncated. see log file for complete stacktrace Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User biadmin weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251) at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110) at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) Truncated. see log file for complete stacktrace > Java代码 解决方法: Follow the following steps: 1: remove the boot.properties file completely from the managed server directory. 2: remove the ManagedServerDir/data/ldap directory completely. 3: Always keep backup of files before removing it. 4: Now try to start the server from the command prompt and provide the username/password used to login to the Admin Console. rm -rf /weblogic/user_projects/domains/esbmonitor/servers/esbmgtserver/stage/EsbMonitor 上述目录为缓冲目录,建议删除 ./startManagedWebLogic.sh SmartView nohup ./bin/startManagedWebLogic.sh esbmgtserver t3://127.0.0.1:7001 -XX:PermSize=128M -XX:MaxPermSize=256M -Xmx512M -Xms512M -Dweblogic.threadpool.MinPoolSize=100 -Dweblogic.threadpool.MaxPoolSize=100 -DreportDir=/esbmgt/log/report_excels> nohup_app.out &

