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 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.4.0 version, OSB Build

Error in call getProxyServiceStatistics on ServiceDomain inside wlst script

I have prepared a wlst script to get statistics of 12.2.1.4 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'
 

Solution

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
Goal
Solution


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