Showing posts with label Weblogic. Show all posts
Showing posts with label Weblogic. Show all posts

Oct 25, 2021

storeUserConfig - create User Config and Key files in weblogic

 Creating configuration file to connect WebLogic domain using WLST :

Collect the following:

1. Domain Name and Home

2. WebLogic console User, Password and URL


Step#1 : Go to domain Home:

For my POC system, domain name is 

/u01/fmw/user_projects/domains/ebsapp

See the value from nodemanager.properties:

Home : /u01/fmw/user_projects/domains/ebsapp/nodemanager

Port : ListenPort=5556

 

Step#2 : Create UserKey and UserConfig file:

Go to wlst location: /u01/fmw/oracle_common/common/bin

$ wlst.sh

wls:/offline> connect('weblogic','PassW00rd','t3://100.10.10.10:7100')


wls:/ebsapp/serverConfig/> storeUserConfig('/home/oracle/userconfigNM.secure', '/home/oracle/userkeyNM.secure')

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...

The username and password that were used for this WebLogic Server connection are stored in /home/oracle/userconfigNM.secure and /home/oracle/userkeyNM.secure.

wls:/ebsapp/serverConfig/> exit()

$


Step#3 : Verify


$ pwd

/home/oracle

$ ls -lrt

...

-rw-r----- 1 oracle dba   64 Oct  4 06:10 userkeyNM.secure

-rw-r----- 1 oracle dba  227 Oct  4 06:10 userconfigNM.secure



Dec 4, 2020

Find weblogic version from admin console

 Using the Oracle WebLogic Server Administration Console

  • Use the left hand menu to navigate to Environment and Servers. Then, click the [Monitoring] tab. You should see a screen similar to the one below:















From SSH/ Putty console you can see also:
Go to MW home which is oracle home for your weblogic/ Fusion Middlewire

$cd $ORACLE_HOME/oui/bin
$pwd
$ pwd
/u01/fmw/app/oracle/product/12.1.0.2/oui/bin
sh viewInventory.sh | grep Distribution
   Distribution: WebLogic Server for FMW 12.2.1.4.0
   Distribution: OPatch 13.9.4.2.4
   Distribution: OPatch 13.9.4.2.5


Translate >>