Issue:After domain configuration admin server is force shutting down.
Error in logs:<May 18, 2013 11:26:30 AM MDT> <Notice> <WebLogicServer> <BEA-000388> WLS shutdown hook. The server will force shutdown now>
<May 18, 2013 11:26:30 AM MDT> <Alert> <WebLogicServer> <BEA-000396> <shutdown has been requested by <WLS Kernel>>
<May 18, 2013 11:26:30 AM MDT> <Notice> <WebLogicServer> <BEA-000365> state changed to FORCE_SHUTTING_DOWN>
Resolution:There are 2 possible workarounds:
Workaround1. Add the following parameter in the startWeblogic.cmd as a JAVA_OPTION
-Dweblogic.management.allowPasswordEcho=true
Example:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.allowPasswordEcho=true"
Workaround 2.
a. Navigate to $MIDDLEWARE_HOME/user_projects/domains/<domain_name>/servers/AdminServer/security/. If the /security folder does not exist then create it. Then create a boot.properties file in the /security folder that contains:
username=weblogic
password=<password>
b. save the changes and try to start the AdminServer again
Error in logs:<May 18, 2013 11:26:30 AM MDT> <Notice> <WebLogicServer> <BEA-000388> WLS shutdown hook. The server will force shutdown now>
<May 18, 2013 11:26:30 AM MDT> <Alert> <WebLogicServer> <BEA-000396> <shutdown has been requested by <WLS Kernel>>
<May 18, 2013 11:26:30 AM MDT> <Notice> <WebLogicServer> <BEA-000365> state changed to FORCE_SHUTTING_DOWN>
Resolution:There are 2 possible workarounds:
Workaround1. Add the following parameter in the startWeblogic.cmd as a JAVA_OPTION
-Dweblogic.management.allowPasswordEcho=true
Example:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.allowPasswordEcho=true"
Workaround 2.
a. Navigate to $MIDDLEWARE_HOME/user_projects/domains/<domain_name>/servers/AdminServer/security/. If the /security folder does not exist then create it. Then create a boot.properties file in the /security folder that contains:
username=weblogic
password=<password>
b. save the changes and try to start the AdminServer again
It really help after 2 hours of struuggle....
ReplyDeleteThanks a lot for sharing such a good concept as this is working well for both develpoment and production machine for contain server URL.
ReplyDelete