tag:blogger.com,1999:blog-4533777417600103698.post3680426362371936839..comments2023-08-13T17:29:27.354+02:00Comments on Darwin-IT: Generate Admin Channels to improve Weblogic Admin Console performance (and of FMW-Control)Martien van den Akkerhttp://www.blogger.com/profile/05183907832966359401noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4533777417600103698.post-83998915803905879422017-04-27T16:57:53.819+02:002017-04-27T16:57:53.819+02:00Nice! Thanks for the suggestion. Nice! Thanks for the suggestion. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4533777417600103698.post-8746683736037625972017-04-27T14:04:38.843+02:002017-04-27T14:04:38.843+02:00Instead of looking for the existence of an MBean o...Instead of looking for the existence of an MBean object with try/except block, you can instead do this:<br /><br /> cd('/Servers/%s/NetworkAccessPoints' % serverName)<br /> if not getMBean(channelName):<br /> cmo.createNetworkAccessPoint(channelName)<br /> cmo.setProtocol('admin')<br /> # ... etc<br /><br />which then makes it idempotent.Anonymousnoreply@blogger.com