Tuesday, March 6, 2012

Managed server not starting

Issue :Authentication for user weblogic denied

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331026721734>
#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1331026721750>
####
<> <> <> <1331026721750> weblogic.security.SecurityInitializationException: Authentication for user weblogic denied

Solution :

Root cause #1

The Weblogic boot.properties file is corrupted or contains invalid principal and credentials


Solution >> boot.properties reset

· Backup and clear the cache and data directories under /servers/
· Recreate boot.properties (put back your plain text username and password) under /servers//security directory and restart the affected server(s)


Root cause #2

The Weblogic boot.properties file is valid but the security realm is corrupted or in an invalid state


Solution >> Weblogic Admin username and password reset

· Backup your Weblogic server domain
· Rename or delete /security/DefaultAuthenticatorInit.ldift
· Run the following Java command:
java weblogic.security.utils.AdminAccount </security >
· Delete the contents inside the file boot.properties under /servers/< AdminServer>/security
· Add the following contents inside the boot.properties
username=
password=
· Backup and delete the folder: /servers//data/ldap
· Restart your Weblogic server

No comments:

Post a Comment