I am new with wlst and I hope someone can help me.
Ik have to stop a cluster or a managed server (target), then I have to copy a file to this target and then I have to restart it.
Before I can restart my target, I want to be sure that my target have the state SHUTDOWN.
The only problem is that home.getMBeansByType("ServerRuntime") return only the servers wich have the state Running and not the state shutdown
I am executing these methods
before I can execute the start() method, I have to be sure that my managed Server or cluster is really shutdown
and I can not use this statement state = state(target, entityType), because state does not return a value.
I am writing my script in python and I am using weblogic 8.