Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use the weblogic scripting tool WLST

Shulou Source: shulou.com Published: 2022-06-01 03:23:23 10月01日 Update

In this issue, the editor will bring you about how to use the weblogic scripting tool WLST. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

1. Enter the directory, such as

Cd / ebs_nas/oracle/Middleware/wlserver_10.3/common/bin

two。 Start the scripting tool WLST

$. / wlst.sh

Wls:/offline > exit () exit

3. Connect Node Manager (NodeManager) and weblogic Server (console)

Wls:/offline > nmConnect ("weblogic", "webl0gic", "localhost", "5557", "mydomain"

"/ opt/appsvr/product/wls_103/user_projects/domains/mydomain", "plain")

Wls:/offline > connect ('weblogic','webl0gic', localhost.com:7001')

4. Run the following command to generate the key file, and pay attention to modifying the corresponding directory

Wls:/offline > storeUserConfig ('/ opt/appsvr/product/wls_103/user_projects/domains/mydomain/configfile.secure'

'/ opt/appsvr/product/wls_103/user_projects/domains/mydomain / keyfile.secure')

5. How to use these key files

Connection Node Manager

NmConnect (userConfigFile='/opt/appsvr/product/wls_103/user_projects/domains/mydomain/configfile.secure'

UserKeyFile='/opt/appsvr/product/wls_103/user_projects/domains/mydomain/keyfile.secure'

Host='localhost',port='5557',domainName='mydomain'

DomainDir='/opt/appsvr/product/wls_103/user_projects/domains/mydomain',nmType='plain')

Connect to the weblogic console server

Connect (userConfigFile='/opt/appsvr/product/wls_103/user_projects/domains/mydomain/configfile.secure'

UserKeyFile='/opt/appsvr/product/wls_103/user_projects/domains/mydomain/keyfile.secure'

Url='localhost':7001')

The above is the editor for you to share the weblogic scripting tool WLST how to use, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Tools scripts content keys files servers directories nodes analysis services management professional small and medium rich content commands that is articles more knowledge articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Xiaomi Linux Apple Shulou Tech Info