Error configuring WebLogic Server 11g (10.3.6): The source library for reliable password reading from the command line was not found

I am trying to configure my Weblogic Server on Windows for developers 10.3.6 (11g). From the read me file, I get an error message in the next step:

  1. Create a new WLS domain and start WLS. (It is recommended that you create domains outside MW_HOME) Windows $ mkdir C: \ home \ myhome \ mydomain $ cd C: \ home \ myhome \ mydomain $% JAVA_HOME% \ bin \ java.exe -Xmx1024m -XX: MaxPermSize = 128m weblogic.Server

I successfully create a directory in (C: / WebLogic) and when I run the command: $ %JAVA_HOME%\bin\java.exe -Xmx1024m -XX:MaxPermSize=128m weblogic.Server , I asked for the username to load WebLogic, after entering I I get the following error: <Error><Security><BEA-090783><Server is Running in Development Mode and Native Library<terminalio> to read the password securely from commandline is not found.>

What can I do to solve this problem?

+5
source share
4 answers

This solution , including adding the weblogic argument to the command line, looks like it might solve your problem.

+5
source

Most likely, the native WebLogic libraries are not in your PATH. Change the server environment setting to include the appropriate directory in the PATH. You can set this to WL_HOME% \ wlserver \ server \ bin \ setWLSEnv.cmd (or .sh). Add this after setting up WL_HOME (example for 64-bit Windows):

 set WL_HOME=C:\wl12120 @REM added the next line set PATH=%WL_HOME%\server\native\win\x64;%PATH% 

After setting up the domain, do the same in% domain% \ bin \ setDomainEnv.cmd.

Tested for Weblogic 12.1.1 and 12.1.2 email distribution.

0
source

Copy the boot.properties file from: [PortalDomainRoot]/servers/[AdminServerName]/security/ to: [PortalDomainRoot]/servers/[ManagedServerName]/security/

Or create it yourself and add these two lines at the top:

 username=<some_username> password=<some_password> 
0
source

My solution (thanks in part to Catweazle's):

Copy the terminalio.dll file from \ server \ native \ win \ x64 \ terminalio.dll to \ JVMW \ JDK \ bin \ (next to the java.exe file).

Kind of hacking, but who cares ...

(PS for those who are wondering, this decision does not , you need to set -Dweblogic.management.allowPasswordEcho = true)

0
source

Source: https://habr.com/ru/post/1216301/


All Articles