Skip to content

Server is running in Development Mode and the System Console to read the password securely from the command line was not found. #127

@MaheshwarReddyGade

Description

@MaheshwarReddyGade

While starting MS getting below error :

Starting WLS with line:
/u01/jdk/bin/java -server -Xms256m -Xmx512m -XX:CompileThreshold=8000 -cp /u01/oracle/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=ms-1 -Djava.security.policy=/u01/oracle/wlserver/server/lib/weblogic.policy -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -javaagent:/u01/oracle/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/u01/oracle/wlserver/server -Dweblogic.home=/u01/oracle/wlserver/server -Dweblogic.management.server=http://ebsasserter.subnet.vcn.oraclevcn.com:7001 weblogic.Server
<Jan 26, 2020 12:36:52 PM GMT> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Jan 26, 2020 12:36:52 PM GMT> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Jan 26, 2020 12:36:52 PM GMT> <The following extensions directory contents added to the end of the classpath:
/u01/oracle/Middleware/domains/asr_domain/lib/fndext.jar.>
<Jan 26, 2020 12:36:54 PM GMT> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.211-b12 from Oracle Corporation.>
<Jan 26, 2020 12:36:54 PM GMT> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>
<Jan 26, 2020 12:36:54 PM GMT>
Enter username to boot WebLogic server:<Jan 26, 2020 12:36:54 PM GMT>
<Server is running in Development Mode and the System Console to read the password securely from the command line was not found.
The System Console is not present if stdin, stdout, or stderr is redirected when starting WebLogic Server.>
<Jan 26, 2020 12:36:54 PM GMT>
<Jan 26, 2020 12:36:54 PM GMT>
[oracle@ebsasserter bin]$

command i used to create domain:
cd /u01/install/projects/tools/imagetool/bin
. ./setup.sh
export JAVA_HOME=/u01/install/software/jdk1.8.0_211
export PATH=$JAVA_HOME/bin:$PATH
imagetool create --tag wls:12.2.1.3.0 --latestPSU --version 12.2.1.3.0 --jdkVersion=8u211 --wdtModel=/u01/install/software/sample.yaml --wdtVariables=/u01/oracle/properties/domain.properties --wdtArchive /u01/install/software/archive.zip --wdtDomainHome /u01/oracle/Middleware/domains/asr_domain --wdtVersion 1.6.2 --chown oracle:oinstall --additionalBuildCommands=/u01/install/projects/tools/imagetool/bin/buildargs --user maheswar@******.com --password *********

Start MS:
docker run -d --name ms-1 --link ebsasserter:ebsasserter --network=SampleNET -p 8001:8001 -v /u01/oracle/properties/domain.properties:/u01/oracle/properties -e MS_NAME=ms-1 wls:12.2.1.3.0 /u01/oracle/Middleware/domains/asr_domain/bin/startManagedWebLogic.sh ms-1 http://ebsasserter.subnet.vcn.oraclevcn.com:7001

start ADMIN Server:
docker run -d --name ebsasserter --hostname ebsasserter --network=SampleNET -v /u01/oracle/properties/domain.properties:/u01/oracle/properties -p 7001:7001 wls:12.2.1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions