Java.Lang.ClassCastException Or Java.Lang.NoSuchMethodException When Sending The Custom SNMP Traps Using OCCAS 4.0 (Doc ID 947049.1)

Last updated on SEPTEMBER 22, 2016

Applies to:

Oracle Communications Converged Application Server - Version: 4.0.0 to 4.0.0 - Release: 4.0.0 to 4.0.0
Information in this document applies to any platform.

Symptoms

OCCAS 4.0 throws java.lang.ClassCastException and java.lang.NoSuchMethodException when trying to generate the SNMP Traps. This happens when executing the following source code according to the example in Developing SIP Applications document:

http://download.oracle.com/docs/cd/E13153_01/wlcp/wlss40/programming/snmptraps.html

CustomResourceMBean resourceBean = (CustomResourceMBean)
MBeanServerInvocationHandler.newProxyInstance(connection, resourceObjName);




Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms