Restcomm 无法分配和创建 sbb 对象 java.lang.ClassCastException

Restcomm Failed to assign and create sbb object java.lang.ClassCastException

我尝试将 Restcomm 与 jdbc RA 一起使用! 有人可以帮助我,我在尝试进行测试时遇到错误

2017-08-21 11:22:15,581 ERROR [org.mobicents.slee.runtime.sbbentity.SbbEntityImpl] (SLEE-EventRouterExecutor-1-thread-1) Failed to assign and create sbb object
java.lang.ClassCastException: org.mobicents.slee.resource.jdbc.JdbcResourceAdaptorSbbInterfaceImpl cannot be cast to org.restcomm.slee.resource.jdbc.JdbcResourceAdaptorSbbInterface
    at sn.pmf.jdbc.jdbcSbb.setSbbContext(jdbcSbb.java:147)
    at org.mobicents.slee.runtime.sbb.SbbObjectImpl.<init>(SbbObjectImpl.java:124)
    at org.mobicents.slee.runtime.sbb.SbbObjectPoolFactory.makeObject(SbbObjectPoolFactory.java:146)
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
    at org.mobicents.slee.runtime.sbb.SbbObjectPoolImpl.borrowObject(SbbObjectPoolImpl.java:68)
    at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.assignSbbObject(SbbEntityImpl.java:744)
    at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:362)
    at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:128)
    at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java:72)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

setSbbContext代码部分:

public void setSbbContext(SbbContext context) {
    this.tracer = context.getTracer("JdbcExampleSbb");
    this.contextExt = (SbbContextExt) context;
    this.jdbcRA =  (JdbcResourceAdaptorSbbInterface) this.contextExt
                  .getResourceAdaptorInterface(JdbcResourceAdaptorSbbInterface.RATYPE_ID, "JDBCRA");
    this.jdbcACIF = (JdbcActivityContextInterfaceFactory) this.contextExt
       .getActivityContextInterfaceFactory(JdbcActivityContextInterfaceFactory.RATYPE_ID);
}

问题已解决,非常感谢您的帮助:-) 我只是将 JDBC DU 旧版本更改为 7.0.11