WebLogic Server Does Not Automatically Restart When the Computer is Rebooted if server.lck File is Missing
(Doc ID 1293145.1)
Last updated on AUGUST 17, 2023
Applies to:
Oracle WebLogic Server - Version 10.3.2 and laterInformation in this document applies to any platform.
Symptoms
WebLogic Server does not start automatically when the system/physical box is restarted.
CrashRecoveryEnabled=true
is set in the nodemanager.properties file and the server starts perfectly fine with Node Manager, hence no issues with the Node Manager and WLS configurations to start the server.
Steps to reproduce the issue:
- Start Admin Server using
DOMAIN_HOME/startWebLogic.sh
. - Start WLST:
$WLST/wlst.sh
. connect('<username>','<password>','t3://<adminserver_host>:<adminserver_port>')
nmGenBootStartupProps('AdminServer')
nmEnroll('<middleware_home>/user_projects/domains/<domain_name>', '<middleware_home>/wlserver_10.3/common/nodemanager')
- AutoRestart is set to true in the Admin Server's startup.properties file.
CrashRecoveryEnabled=true
is set in the nodemanager.properties file.nmConnect('<username>','<password>','<nm_host>','<nm_port>','<domain_name>','<middleware_home>/user_projects/domains/<domain_name>', verbose='true')
- Shut down the admin server.
- Restart the admin server from WLST:
nmStart('AdminServer','<middleware_home>/user_projects/domains/<domain_name>')
- Reboot the machine:
shutdown -i6
. - Node Manager is running, but the AdminServer is NOT running after the reboot.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |