Oracle Weblogic Server (MOSC)

MOSC Banner

wlst script to check application status

edited Jun 9, 2020 8:40PM in Oracle Weblogic Server (MOSC) 9 commentsAnswered ✓

Could someone please advise how to correct below script to make it work on weblogic 12.2.1.4 ?

I have tried few items but could not fix it. I have tried some changes like

after connect added

cd('AppDeployments')

than in the loop for app in myapps:

added domainConfig()

replace bean=getMBean('/AppDeployments/'+app.getName()+'/Targets/') with

cd ('/AppDeployments/'+app.getName()+'/Targets')

bean = ls(returnMap='true')

but still got errors with last loop and not sure how to fix it.

Thanks

Andrew

username = '<USERNAME>'

password = '<PASSWORD>'

url='t3://<HOSTNAME>:<PORT>'

connect(<USERNAME>,<PASSWORD>,<URL>)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center