Small script I use to set a lock on the OBIEE11g BI system:
I have put it in a separate file which I call from my main script:
print 'Calling lock ...'
cd ('..')
cd ('oracle.biee.admin:type=BIDomain,group=Service')
objs = jarray.array([], java.lang.Object)
strs = jarray.array([], java.lang.String)
try:
invoke('lock', objs, strs)
except:
print 'System already locked'
execfile("F:\WLST\Lock System.py")
Till Next Time
Hi, I'd like to understand why and where is that path WLST\Lock ? I mean, correct me if I'm wrong but the script above is inside System.py ? I working on this but I don't understand that part...
ReplyDeleteThanks,
Hello,
ReplyDeleteWhen I'm trying to execute the command cd ('oracle.biee.admin:type=BIDomain,group=Service') I get following error
WLSTException: Error occured while performing cd : Error while browsing MBeans : com.bea:Name=bifoundation_domain,Type=Domain:oracle.biee.admin:type=BIDomain,group=Service
Use dumpStack() to view the full stacktrace
Can you help me out? What am I doing wrong?
Thanks!