Tuesday, March 4, 2014

Steps to retrieve ODSSM Password


Steps to retrive the Password for ODSSM user

Please follow the below steps to retrieve the password for the ODSSM user

  1. Make sure that the weblogic Admin Server is running state.

  1. Navigate to $ORACLE_HOME/common/bin and execute wlst.cmd
The following message will be displayed.

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands
wls:/offline>


  1. Enter connect(‘<Weblogic_username>’,’<password>’,’<Weblogic_admin_sever url>’)

Where weblogic_admin_server url in this format : t3://<adminserver-host-name:adminserver-port>

Example :
wls:/offline> connect('weblogic','welcome1','t3://localhost:7001') 

Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDMDomain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/IDMDomain/serverConfig>

  1. Enter the listCred command to retrieve the ODSSM password.  As shown below,

wls:/IDMDomain/serverConfig> listCred(map='odssm',key='ODSSM_oidinst_1')
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

[Name : ODSSM, Description : null, expiry Date : null]
PASSWORD:welcome1

This will display the password as shown above.

No comments:

Post a Comment