<Error> <Security> <BEA-090782> <Server is running in Production Mode and the System Console to read the password securely from the command line was not found.

While starting the weblogic server, we might see below error.

<Oct 7, 2021 11:59:10 PM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:<Oct 7, 2021 11:59:10 PM EDT> <Error> <Security> <BEA-090782> <Server is running in Production Mode and the System Console to read the password securely from the command line was not found. The System Console is not present if stdin, stdout, or stderr is redirected when starting WebLogic Server.>
<Oct 7, 2021 11:59:10 PM EDT> <Notice> <WebLogicServer> <BEA-000388> <JVM called the WebLogic Server shutdown hook. The server will force shutdown now.>
<Oct 7, 2021 11:59:10 PM EDT> <Notice> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>.>
<Oct 7, 2021 11:59:10 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
<Oct 7, 2021 11:59:15 PM EDT> <Info> <WebLogicServer> <BEA-000238> <Shutdown has completed.>


Solution:

 cd $DOMAIN_HOME/bin
Add the following to setDomainEnv.sh

JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.allowPasswordEcho=true"
export JAVA_OPTIONS

Stop/restart the server.





If you like please follow and comment