Tuesday, March 5, 2013

Native Library(terminalio) not found

Error message :
<Mar 4, 2013 9:31:55 AM PST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:<Mar 4, 2013 9:31:55 AM PST> <Error> <Security> <BEA-090782> <Server is Running in Production Mode and Native Library(terminalio) to read the password securely from commandline is not found.>
<Mar 4, 2013 9:31:55 AM PST> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now

Soln:
Looks like  library "terminalio" is missing on your system, this is a OS related issue, however you can workaround this in weblogic by the following method.

Go to the domain / server / security folder for example :
user_projects\domains\base_domain\servers\AdminServer\security
if security folder is not found under adminserver, go ahead an create it. and provide it 777 permissions (chmod -r -R 777 security)
for unix system ->

cd user_projects\domains\base_domain\servers\AdminServer\
mkdir security
chmod 777 security/

under security folder create a new file called boot.properties and enter the values of weblogic username and password and save + exit.

for unix system ->

cd security/
vi boot.properties
esc + i
username=XXXX
password=XXXX

esc + :wq

for windows system ->

under security
right click -> New Text Document.txt
open it
username=XXXX
password=XXXX

file - save as -
file name : boot.properties
save as type : All files

save

repeat the same procedure for your managed server as well.

start your admin server

7 comments:

Anonymous said...

works!!

GANESH said...

Its wrong no use of trying this one...

Anonymous said...

Thank you very much for sharing the experience..It has saved my time and headache...
May god bless you in every way..

Thank you soooooo much for everything...

I works perfectly...

Anonymous said...

It worked successfully for me ... thanks a lot for sharing the solution ....

Thanks,
KFZH.

Unknown said...

It's working successfully... Thanks a lot

Anonymous said...

Thank you, solved my problem

Anonymous said...

Bingo!

It solved my issue too.

Cheers...