Thursday, December 1, 2016

StartWebLogic.cmd Shuts Down after Entering Username with the Error: "Server is running in Production Mode and Native Library (terminalio) to read the password securely from commandline is not found

StartWebLogic.cmd Shuts Down after Entering Username with the Error: "Server is running in Production Mode and Native Library (terminalio) to read the password securely from commandline is not found." (Doc ID 1354736.1) To BottomTo Bottom In this Document Symptoms Cause Solution References Applies to: Primavera Contract Management - Version 13.0 and later Primavera Unifier - Version 9.12 and later Information in this document applies to any platform. Symptoms After creating the WebLogic Domain for the Primavera Application, installing the application, and then restarting WebLogic, the StartWebLogic.cmd or StartWebLogic.sh file shuts down or closes after typing a username and pressing the ENTER key. The following error is listed in the StartWebLogic command prompt window or terminal window prior to the shutdown completing: Server is running in Production Mode and Native Library (terminalio) to read the password securely from commandline is not found. Cause There are two possible causes: The terminalio.dll file is missing from the default location: C:\bea\middleware\wlserver_10.3\server\native\win\32 The terminalio.dll filing is being renamed to terminalio.dll.bak when the StartWeblogic.cmd or StartWeblogic.sh file is started. This known issue has been reported to Oracle and is documented in Bug 8002166. Solution To resolve this issue, open the StartWebLogic.cmd or StartWebLogic.sh file with Notepad or Text Editor and do the following: Located towards the bottom of the file are the following lines: if "%WLS_REDIRECT_LOG%"=="" ( echo Starting WLS with line: echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% ) else ( echo Redirecting output from WLS window to %WLS_REDIRECT_LOG% %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1 ) Change them by including the following line directly before %JAVA_OPTIONS%: -Dweblogic.management.allowPasswordEcho=true The changed information should now appear as: if "%WLS_REDIRECT_LOG%"=="" ( echo Starting WLS with line: echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy -Dweblogic.management.allowPasswordEcho=true %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy -Dweblogic.management.allowPasswordEcho=true %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% ) else ( echo Redirecting output from WLS window to %WLS_REDIRECT_LOG% %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy -Dweblogic.management.allowPasswordEcho=true %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1 ) Be sure to leave a space before and after the line that was just added. Save the changes and then restart StartWebLogic.cmd or StartWebLogic.sh. Was this document helpful? Yes No Document Details Email link to this documentOpen document in new windowPrintable Page Type: Status: Last Major Update: Last Update: PROBLEM PUBLISHED Jul 7, 2015 Jul 7, 2015 Related Products Primavera Contract Management Primavera Unifier Information Centers Information Center: Primavera Contract Management v13 [1091924.2] Document References No References available for this document. Recently Viewed StartWebLogic.cmd Shuts Down after Entering Username with the Error: "Server is running in Production Mode and Native Library (terminalio) to read the password securely from commandline is not found." [1354736.1] OAM 11gR2 : configuresecuritystore.py Fails To Run While Installing 11gR2 On Solaris SPARC Platform [1514647.1] Failure To Create Security Store: configureSecurityStore.py Generates Error ORA-01017: invalid username/password; logon denied [1941328.1] Oracle E-Business Suite Software Development Kit for Java (includes AppsDataSource, Java Authentication and Authorization Service, session management) Readme - Patch 13882058 [974949.1] R12: "ORA-01017: invalid username/password; logon denied" Error Message When Attempting to Create a JDBC Data Source [1099562.1] Show More Didn't find what you are looking for?

No comments:

Post a Comment