Skip to main content

Avoid password prompt when using startComponent.sh to start OHS 12c

Step:1 Start Ohs With Password Prompt
F:\OHS\user_projects\domains\base_domain\bin>startComponent.cmd ohs1
Starting system Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from F:/OHS/user_projects/domains/base_domain
Please enter Node Manager password:
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
Step:2 Store the password for avoid ohs password
F:\OHS\user_projects\domains\base_domain\bin>startComponent.cmd ohs1 storeUserConfig
Starting system Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from F:/OHS/user_projects/domains/base_domain
Please enter Node Manager password:
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key...
Username and password files location
The username and password that were used for this WebLogic NodeManager connection are stored in C:\Users\Ashok\.wlst\nm-cfg-base_domain.props and C:\Users\Ashok\.wlst\nm-key-base_domain.props.
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
Step:3 Start The Ohs with out prompting Password
F:\OHS\user_projects\domains\base_domain\bin>startComponent.cmd ohs1
Starting system Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from F:/OHS/user_projects/domains/base_domain
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.

Done

Comments

Popular posts from this blog

Oracle WebLogic Server Version Finding Ways

1. We can determine weblogic server version using registry.xml file: Location in WLS 12.2.1.3: $ORACLE_HOME/inventory/registry.xml <distribution status="installed" name="WebLogic Server" version="12.2.1.3.0"> e.g. /u02/oracle12213/oracle_home/middleware/inventory/registry.xml <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?> <registry home="/u02/oracle12213/oracle_home/middleware" platform="226" sessions="5" xmlns:ns2="http://xmlns.oracle.com/cie/gdr/dei" xmlns:ns3="http://xmlns.oracle.com/ cie/gdr/nfo" xmlns="http://xmlns.oracle.com/cie/gdr/rgy">    <distributions>       <distribution status="installed" name="WebLogic Server" version="12.2.1.3.0">          <sessions>             <session id="1" date="2017-10-21T17:53:51.433+05:30" action="install"/>          ...

Oracle Http Server 12 C Configuration File's

In Ohs 12c Oracle changed the complete structure by introducing the domain & instances just like Weblogic There are Two Configuration files for Ohs 12C 1.Staging F:\OHS\user_projects\domains\base_domain\config\fmwconfig\components\OHS\ohs1 2.Runtime F:\OHS\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1 You need to make changes in Staging configuration files and these changes automatically replicated to the configuration files of the run time environment.

Node Manager Username and Password for Oracle HTTP Server 12c in a Standalone Domain

Start the Ohs Instance for 12C F:\OHS\user_projects\domains\base_domain\bin>stopComponent.cmd ohs1 Step:1 Stop the OHS component F:\OHS\user_projects\domains\base_domain\bin>stopComponent.cmd ohs1 Stopping System Component ohs1 ... Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from F:/OHS/user_projects/domains/base_domain Please enter Node Manager password: Connecting to Node Manager ... Successfully Connected to Node Manager. Killing server ohs1 ... Successfully killed server ohs1 Successfully disconnected from Node Manager. Exiting WebLogic Scripting Tool. Done Step:2   Invoke WLST offline F:\OHS\oracle_common\common\bin>wlst.cmd Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands wls:/offline> Step:3 Conne...