Server Instance throwing "java.lang.NoClassDefFoundError : Failed to link org/mobicents/diameter/impl/ha/data/ReplicatedSessionDatasource" when started in domain mode

291 views
Skip to first unread message

Sabelo Dlangamandla

unread,
May 4, 2017, 9:15:28 AM5/4/17
to mobicents-public
Good-day everyone, whenever we start the server instances in domain mode we see errors being thrown by all the server instances for the domain. The error looks as below:

[Server:SLEE_INST_1] 11:47:19,675 INFO  [org.wildfly.iiop.openjdk] (MSC service thread 1-2) WFLYIIOP0009: CORBA ORB Service started
[Server:SLEE_INST_1] 11:47:20,131 WARN  [org.jboss.modules] (MSC service thread 1-8) Failed to define class org.mobicents.diameter.impl.ha.data.ReplicatedSessionDatasource in Module "org.restcomm.diameter.lib:main" from local module loader @25618e91 (finder: local module finder @7a92922 (roots: /opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules,/opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules/system/layers/base)): java.lang.NoClassDefFoundError: Failed to link org/mobicents/diameter/impl/ha/data/ReplicatedSessionDatasource (Module "org.restcomm.diameter.lib:main" from local module loader @25618e91 (finder: local module finder @7a92922 (roots: /opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules,/opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules/system/layers/base))): org/restcomm/cluster/DataRemovalListener
[Server:SLEE_INST_1]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
.....
[Server:SLEE_INST_1] 11:47:20,144 ERROR [stderr] (MSC service thread 1-8) Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: Failed to link org/mobicents/diameter/impl/ha/data/ReplicatedSessionDatasource (Module "org.restcomm.diameter.lib:main" from local module loader @25618e91 (finder: local module finder @7a92922 (roots: /opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules,/opt/slee/restcomm-slee-7.0.63.64/wildfly-10.1.0.Final/modules/system/layers/base))): org/restcomm/cluster/DataRemovalListener


On closer inspection we can see that the class org.mobicents.diameter.impl.ha.data.ReplicatedSessionDatasource implements the interface org.restcomm.cluster.DataRemovalListener which seems to be the root cause of the error message. Can someone please point me to the package that contains the class org.restcomm.cluster.DataRemovalListener so we can add it to the lib directory of the diameter module or a better way to handle this issue we are experiencing

Regards
Sabelo

This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/home/email-disclaimer/
Reply all
Reply to author
Forward
0 new messages