Skip to main content

A issue was found when getTransports in BalancerNodeMonitorMBeanImpl

1 reply [Last post]
desertwindy
Offline
Joined: 2008-12-08

The following code from BalancerNodeMonitorMBeanImpl is used to get SIP tansports. Please pay attention to that the parameter "getTransports" is not match with MBean attribute "Transport". thereby the exception "Cannot access the SIP RA MBean" will be thrown when the code run.
=======================================================
// String[] getTransports();
String[] transports = (String[]) server.invoke(oi.getObjectName(), "getTransport", null, null);

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
desertwindy
Offline
Joined: 2008-12-08

Sorry, the source code from mobicents is:(please note "getTransports")
=======================================================
// String[] getTransports();
String[] transports = (String[]) server.invoke(oi.getObjectName(), "getTransports", null, null);