Weblogic not starting as Datasource is down
WebLogic Server Fails to Come to RUNNING Mode If Not All Datasources are up. The Managed server will go not to ADMIN mode.
Solution:
Make sure the data source is connected to the correct database and the database is working.
or
If we want to override the database being down and still want to start
Add -Dweblogic.deployment.IgnorePrepareStateFailures=true
Example:
vi $DOMAIN_HOME/bin/setDomain.sh
JAVA_OPTIONS="-Dweblogic.deployment.IgnorePrepareStateFailures=true ${JAVA_OPTIONS}"
export JAVA_OPTIONS
Note:
Overrides the default deployment behavior by allowing a server to transition to Running even with static deployment Prepare failures.
This server-level flag may cause inconsistent deployment behavior within clusters, such as issues with HttpSessionReplication or SFSB replication.
Restart Services and Verify
Post a Comment
Post a Comment