WebLogic Create domain, production mode, error
<2017-12-29 04:53 P.M. 59 sec cst> <Info> <Security> <BEA-090065> <getting boot identity from user. >
Enter username to boot WebLogic server:weblogic
<2017-12-29 04:54 P.M. 08 sec cst> <Error> <Security> <BEA-090782> <server is Running in Production Mode and Native Library (Terminalio) to read the password securely from CommandLine are not found.>
<2017-12-29 04:54 P.M. 08 sec cst> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown Hook. The server would force shutdown now>
<2017-12-29 04:54 P.M. 08 sec cst> <Alert> <WebLogicServer> <BEA-000396> <server shutdown has been Requested by <wls Kernel>>
<2017-12-29 04:54 P.M. 08 sec cst> <Notice> <WebLogicServer> <BEA-000365> <server state changed to Force_shutting_down>
Obviously can't get the password
Solution One: Setup can enter the password in the foreground
Edit the Setdomainenv.cmd file under a new domain (D:\ORACLE\MIDDLEWARE\USER_PROJECTS\DOMAINS\DOMAIN1\BIN\SETDOMAINENV.CMD)
Modify
If "%production_mode%" = = "true" (
Set java_options=-dweblogic.productionmodeenabled=true%java_options%
)
For
If "%production_mode%" = = "true" (
Set java_options=-dweblogic.management.allowpasswordecho=true%java_options%
)
To start startweblogic.cmd, you need to enter a user name and password
Solution Two: Configure User name password, start automatic login
Under new domain, create a boot.properties file under Servers\adminserver\security (D:\Oracle\Middleware\user_projects\domains\domain1\ Servers\adminserver\security\boot.properties, if not created yourself), write username and password
The newly created domain under the bin startweblogic.cmd start WebLogic
WebLogic Create a domain production mode, enter the user name Flash back