Weblogic server is not starting up ; weblogic.security.SecurityInitializationException: Authentication for user denied
If the weblogic server is not starting up and giving the below error , please follow the below solution :-
Error :-
#Aug 18, 2014 12:47:25 AM PDT# #Notice# #Security# #BEA-090082#
#Security initializing using security realm myrealm.#
#Aug 18, 2014 12:47:25 AM PDT# #Critical# #Security# #BEA-090403#
#Authentication for user denied#
#Aug
18, 2014 12:47:25 AM PDT# #Critical# #WebLogicServer# #BEA-000386# #Server
subsystem failed. Reason: weblogic.security.SecurityInitializationException:
Authentication for user denied
weblogic.security.SecurityInitializationException:
Authentication for user denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
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:090304]Authentication Failed: User
javax.security.auth.login.LoginException: [Security:090301]Password Not
Supplied
at
weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
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
#
#Aug 18, 2014 12:47:25 AM PDT# #Notice# #WebLogicServer# #BEA-000365#
#Server state changed to FAILED#
#Aug 18, 2014 12:47:25 AM PDT# #Error# #WebLogicServer# #BEA-000383#
#A critical service failed. The server will shut itself down#
#Aug 18, 2014 12:47:25 AM PDT# #Notice# #WebLogicServer# #BEA-000365#
#Server state changed to FORCE_SHUTTING_DOWN#
Solution :-
1) Create
boot.properties file in below location .
/u01/app/oracle/config/domains/Vinay/servers/AdminServer/security/boot.properties
2)Also
create “security”directory if it is not there.
3) Write username & password in below format and restart the server
username=xyz
password=abc
4) If you check again boot.properties after restart , the username & password is encrypted now.
Comments