My Oracle Support Banner

Error In Call GetProxyServiceStatistics On ServiceDomain Inside Wlst Script (Doc ID 2675643.1)

Last updated on MAY 15, 2023

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


On : version, OSB Build

Error in call getProxyServiceStatistics on ServiceDomain inside wlst script

I have prepared a wlst script to get statistics of osb proxy services.
I succeed with the command cd ('domainRuntime:/DomainServices/ServiceDomain')
If I use command print cmo I get "com.bea:Name=ServiceDomain,Type=com.bea.wli.monitoring.ServiceDomainMBean"
If I use command ls () I receive the list of methods containing
"-r-x getProxyServiceStatistics java.util.HashMap : com.bea.wli.config.Ref[],Integer(int),String(java.lang.String) "
but if I use cmo.getProxyServiceStatistics([ref],ResourceType.SERVICE.value(),'')
I have the error AttributeError: 'javainstance' object has no attribute 'getProxyServiceStatistics'


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.