How to resolve – Native Library(terminalio) to read the password securely from commandline is not found error

Recently, after installation/configuration of new domain, encountered an error :

Server is Running in Development Mode and Native Library(terminalio) to read the password securely from commandline is not found.

<Mar 10, 2014 9:40:58 AM EDT> <Error> <Security> <BEA-090783> <Server is Running in Development Mode and Native Library(terminalio) to read the password securely from commandline is not found.><Mar 10, 2014 9:40:58 AM EDT> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
<Mar 10, 2014 9:40:58 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
After prompting for username, nothing happens and server state is changed to FORCE_SHUTTING_DOWN. So, new server never come up. 
Solution:
Solution to this is forcing script to prompt for password. This can be done by addition JAVA_OPTIONS – -Dweblogic.management.allowPasswordEcho=true.

You can edit setDomainEnv.cmd / setDomainEnv.sh to add entry as below:

windows 
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.allowPasswordEcho=true

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

Leave Comment

Your email address will not be published. Required fields are marked *