weblogic異常之 [Security:090303]Authentication Failed: User weblogic weblogic.security.providers.authen
阿新 • • 發佈:2018-11-14
1.異常描述
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
Starting WLS with line:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -Dweblogic.Name=server_68_96 -Djava.security.policy=/weblogic/bea/wlserver_10.3/server/ lib/weblogic.policy -da -Dplatform.home=/weblogic/bea/wlserver_10.3 -Dwls.home=/weblogic/bea/wlserver_10.3/server -Dweblogic.home=/weblogic/bea/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=10.32.66.193:9001 -Duser.timezone=GMT+08 -Djava.security.egd=file:/dev/./urandom -DUseSunHttpHandler= true
-Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/weblogic/bea/patch_wls1032/profiles/default/sysext_manifest_classpath weblogic.Server
<Oct 25, 2018 12:58:10 PM GMT+08:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK Server VM Version 1.6 .0-b09 from Sun Microsystems Inc.>
<Oct 25, 2018 12:58:11 PM GMT+08:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >
<Oct 25, 2018 12:58:13 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 25, 2018 12:58:13 PM GMT+08:00> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 25, 2018 12:58:13 PM GMT+08:00> <Notice> <Log Management> <BEA-170019> <The server log file /weblogic/bea/user_projects/domains/trans/servers/server_68_96/logs/server_68_96.log is opened. All server side log events will be written to this file.>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
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 weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:244)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Oct 25, 2018 12:58:18 PM GMT+08:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
2.解決方案
2.1.可能是你的boot.properties檔案寫錯了
2.2.需要把下面的資料夾刪除
user_projects/domains/base_domain/servers/…)/data/ldap