attachWebServicePolicy to clustered environment

Необходимо приаттачить политики: attachWebServicePolicy(application=’webcenter’, moduleName=’webcenter’, moduleType=’web’, serviceName=’SpacesWebService’,subjectName=’SpacesWebServiceSoapHttpPort’, policyURI=’oracle/wss11_saml_token_with_message_protection_service_policy’) attachWebServicePolicy(application=’owc_discussions’, moduleName=’owc_discussions’, moduleType=’web’, serviceName=’OWCDiscussionsServiceAuthenticated’,subjectName=’OWCDiscussionsServiceAuthenticated’, policyURI=’oracle/wss10_saml_token_service_policy’)   , но среда кластерная. WLST ругнется на: Try to use server name with application name. Multiple server targets deployed for application webcenter Try to use server name with application name. Multiple server targets deployed for application owc_discussions

Weblogic log rotation — wlst script

log.py: connect(‘adminusername’,’megapassword’,’t3://hostname:portname’) edit() startEdit() svrs = adminHome.getMBeansByType(‘Server’) for s in svrs: name = s.getName() cd(‘/Servers/’ + name + ‘/Log/’ + name) cmo.setNumberOfFilesLimited(true) cmo.setFileCount(7) activate() disconnect() $WL_HOME/common/bin/wlst.sh $PATH_TO_FILE/log.py