GCT M3UA Exception on IPC

23 views
Skip to first unread message

Lars Ladegaard

unread,
Sep 22, 2010, 9:56:06 AM9/22/10
to mobicents-public
I'm trying use M3UA from Dialogic. I think I am close but depending of
what I try I get one of the two exceptions included below. Does anyone
have a suggestion on what is wrong?

Exception 1:
12:18:48,450 INFO [JccResourceAdaptor] Verifyin configuring JCCRA:
JCCRA
12:18:48,450 INFO [JccResourceAdaptor] JCC Provider started
successfuly
12:18:48,450 INFO [JccResourceAdaptor] Running monitoring thread
12:18:48,450 INFO [JccResourceAdaptor] Configuring JCCRA: JCCRA
12:18:48,450 INFO [JccResourceAdaptor] Loaded properties:
{sccp.ssn=250, sccp.opc=2, module.dest=34, sccp.ssi=3,
sccp.ssn.indicator=1, sccp.ssf=8, globaltitle.natureofaddress=4,
sccp.si=3, globaltitle.encodingScheme=1,
mtp.address.remote=127.0.0.1:3434, sccp.provider.port=8888,
sccp.provider=intel_hdc, globaltitle.digits=79023700201, sccp.sls=0,
sccp.routingindicator=1, module.src=61, sccp.globaltitle.indicator=4,
globaltitle.translationtype=0, sccp.spc.indicator=0, mtp.driver=m3ua,
mtp.address.local=127.0.0.1:3435, globaltitle.numberingplan=1,
sccp.conf=/sccp.properties, sccp.dpc=1}
12:18:48,466 INFO [ResourceManagement] Created Resource Adaptor
Entity JCCRA for ResourceAdaptorID[name=JCC-1.1-
RA,vendor=itech,version=1.0] Config Properties:
[(configName:java.lang.String=sccp.properties),
(jccPeer:java.lang.String=org.mobicents.jcc.inap.JccPeerImpl)]
12:18:48,762 INFO [STDOUT] **** JCC: loading provider...
12:18:48,809 INFO [TCAPStackImpl] Starting ...
12:18:48,809 INFO [SccpStackImpl] Starting ...
12:18:48,824 INFO [SccpIntelHDCProviderImpl] Started IPC
12:18:48,824 INFO [SccpIntelHDCProviderImpl] Started main loop
12:18:48,824 INFO [JccInapProviderImpl] Initialized SCCP provider
12:18:48,824 ERROR [STDERR] Exception in thread "Thread-871"
12:18:48,840 ERROR [STDERR] java.lang.UnsatisfiedLinkError:
org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.receive(I[B)I
12:18:48,840 ERROR [STDERR] at
org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.receive(Native
Method)
12:18:48,840 ERROR [STDERR] at
org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.receive(InterProcessCommunicator.java:
47)
12:18:48,840 ERROR [STDERR] at
org.mobicents.protocols.ss7.sccp.impl.provider.intel.SccpIntelHDCProviderImpl.run(SccpIntelHDCProviderImpl.java:
82)
12:18:48,840 ERROR [STDERR] at java.lang.Thread.run(Thread.java:
619)
12:18:48,840 INFO [JccInapProviderImpl] Initialized thread pool
12:18:48,856 INFO [JccInapProviderImpl] Started monitor
12:18:48,856 INFO [JccResourceAdaptor] JCC Provider started
successfuly
12:18:48,856 INFO [JccResourceAdaptor] Running monitoring thread
12:18:48,871 INFO [ResourceManagement] Activated RA Entity JCCRA
12:18:49,136 INFO [ResourceManagement] Bound link between RA Entity
JCCRA and Name JCCRA

Exception 2:
2010-09-22 09:38:12,845 INFO
[javax.slee.RAEntityNotification[entity=JCCRA].JccResourceAdaptor]
(Thread-918) Verifyin configuring JCCRA: JCCRA
2010-09-22 09:38:12,861 INFO
[javax.slee.RAEntityNotification[entity=JCCRA].JccResourceAdaptor]
(Thread-918) JCC Provider started successfuly
2010-09-22 09:38:12,861 INFO
[javax.slee.RAEntityNotification[entity=JCCRA].JccResourceAdaptor]
(Thread-918) Running monitoring thread
2010-09-22 09:38:12,861 INFO
[javax.slee.RAEntityNotification[entity=JCCRA].JccResourceAdaptor]
(Thread-918) Configuring JCCRA: JCCRA
2010-09-22 09:38:12,861 INFO
[javax.slee.RAEntityNotification[entity=JCCRA].JccResourceAdaptor]
(Thread-918) Loaded properties: {sccp.ssn=250, sccp.opc=2,
module.dest=34, sccp.ssi=3, sccp.ssn.indicator=1, sccp.ssf=8,
globaltitle.natureofaddress=4, sccp.si=3,
globaltitle.encodingScheme=1, mtp.address.remote=127.0.0.1:3434,
sccp.provider.port=8888, sccp.provider=intel_hdc,
globaltitle.digits=79023700201, sccp.sls=0, sccp.routingindicator=1,
module.src=61, sccp.globaltitle.indicator=4,
globaltitle.translationtype=0, sccp.spc.indicator=0, mtp.driver=m3ua,
mtp.address.local=127.0.0.1:3435, globaltitle.numberingplan=1,
sccp.conf=/sccp.properties, sccp.dpc=1}
2010-09-22 09:38:12,861 INFO
[org.mobicents.slee.container.management.ResourceManagement]
(Thread-918) Created Resource Adaptor Entity JCCRA for
ResourceAdaptorID[name=JCC-1.1-RA,vendor=itech,version=1.0] Config
Properties: [(configName:java.lang.String=sccp.properties),
(jccPeer:java.lang.String=org.mobicents.jcc.inap.JccPeerImpl)]
2010-09-22 09:38:13,579 INFO
[org.mobicents.protocols.ss7.tcap.TCAPStackImpl] (Thread-918)
Starting ...
2010-09-22 09:38:13,579 INFO
[org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl] (Thread-918)
Starting ...
2010-09-22 09:38:22,470 ERROR
[org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl]
(Thread-918) failed to activate RA entity with name JCCRA
java.lang.UnsatisfiedLinkError: C:\jdk1.6.0_20\bin\ipc.dll: This
application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at
org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.<clinit>(InterProcessCommunicator.java:
92)
at
org.mobicents.protocols.ss7.sccp.impl.provider.intel.SccpIntelHDCProviderImpl.start(SccpIntelHDCProviderImpl.java:
111)
at
org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.start(SccpStackImpl.java:
70)
at
org.mobicents.protocols.ss7.tcap.TCAPStackImpl.start(TCAPStackImpl.java:
48)
at
org.mobicents.jcc.inap.JccInapProviderImpl.<init>(JccInapProviderImpl.java:
96)
at org.mobicents.jcc.inap.JccPeerImpl.getProvider(JccPeerImpl.java:
87)
at
org.mobicents.slee.resource.jcc.ra.JccResourceAdaptor.raActive(JccResourceAdaptor.java:
294)
at
org.mobicents.slee.resource.ResourceAdaptorObjectImpl.raActive(ResourceAdaptorObjectImpl.java:
221)
at
org.mobicents.slee.resource.ResourceAdaptorEntityImpl.activate(ResourceAdaptorEntityImpl.java:
313)
at
org.mobicents.slee.container.management.ResourceManagementImpl.activateResourceAdaptorEntity(ResourceManagementImpl.java:
263)
at
org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl.activateResourceAdaptorEntity(ResourceManagementMBeanImpl.java:
80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)

Oleg Kulikov

unread,
Sep 22, 2010, 11:03:48 AM9/22/10
to mobicent...@googlegroups.com
Did you change module number?

2010/9/22 Lars Ladegaard <lars.la...@dantelo.com>

Oleg Kulikov

unread,
Sep 22, 2010, 11:04:32 AM9/22/10
to mobicent...@googlegroups.com
Also which OS are you using?

2010/9/22 Oleg Kulikov <oleg.k...@gmail.com>

Lars Ladegaard

unread,
Sep 23, 2010, 5:22:09 AM9/23/10
to mobicents-public
Hi,
My sccp.properties file looks has follows. I have the modul numbers
from Dialoc. I have also started GCT with M3UA modul loaded.

#SCCP
sccp.provider=intel_hdc
sccp.conf=/sccp.properties

#Intel/Dialogic
module.src = 61
# 0x3d
module.dest = 34
#0x22

#mtp props
mtp.driver=m3ua
mtp.address.remote=127.0.0.1:3434
mtp.address.local=127.0.0.1:3435

# configuration options for initial outgoing messages via sccp, this
has to match mtp config
sccp.opc=2
sccp.dpc=1
sccp.sls=0
sccp.ssi=3
sccp.ssf=8
sccp.si=3
sccp.provider.port = 8888
sccp.spc.indicator=0
sccp.ssn.indicator=1
sccp.globaltitle.indicator=4
sccp.routingindicator=1
sccp.ssn=250

# Sample ResourceBundle properties file
globaltitle.translationtype = 0
globaltitle.numberingplan = 1
globaltitle.encodingScheme = 1
globaltitle.natureofaddress = 4
globaltitle.digits = 79023700201

Oleg Kulikov

unread,
Sep 23, 2010, 5:26:05 AM9/23/10
to mobicent...@googlegroups.com
Wich OS? Do you have native library compiled and installed?

2010/9/23 Lars Ladegaard <lars.la...@dantelo.com>

Steve Madden

unread,
Sep 22, 2010, 10:33:53 AM9/22/10
to mobicents-public
Hi Team

I'm working with Lars and am wondering if the following Mobicents M3UA
parameters in the sccp.properties file affect the ability to use
Dialogic M3UA..

I remember the earlier (1.2.x) version of JAIN SLEE enabled Dialogic
SS7 integration without the following parameter settings..


#mtp props
mtp.driver=m3ua
mtp.address.remote=127.0.0.1:3434
mtp.address.local=127.0.0.1:3435

Many thanks for any advice!

Kind regards

Steve

Oleg Kulikov

unread,
Sep 23, 2010, 9:10:14 AM9/23/10
to mobicent...@googlegroups.com
Hi Steve,

any mtp or m3ua props does not affect JCC. It was "intermediate" solution used for our internal debuging

Regards,
Oleg

2010/9/22 Steve Madden <smad...@hotmail.com>

mosbah abdelkader

unread,
Sep 24, 2010, 6:57:23 AM9/24/10
to mobicent...@googlegroups.com
is it possible to use the m3ua layer provided by mobicents without the use of a dialogic hardware.

thank you.

Steve Madden

unread,
Sep 27, 2010, 4:19:16 PM9/27/10
to mobicents-public
Thanks Oleg for the confirmation!

Steve Madden



On Sep 23, 2:10 pm, Oleg Kulikov <oleg.kulik...@gmail.com> wrote:
> Hi Steve,
>
> any mtp or m3ua props does not affect JCC. It was "intermediate" solution
> used for our internal debuging
>
> Regards,
> Oleg
>
> 2010/9/22 Steve Madden <smadde...@hotmail.com>

Steve Madden

unread,
Oct 21, 2010, 7:30:50 AM10/21/10
to mobicents-public
Hi Oleg

I've been meaning to send this for a while.. I followed up on the JCC
exceptions detailed above with Lars and found the following..


Exception 1 (from original problem report above)..

"12:18:48,840 ERROR [STDERR] java.lang.UnsatisfiedLinkError:
org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.receive"


[Steve Madden] I believe this is due to the following..
As you can see the IPC code tries to find the method
“org.mobicents.protocols.ss7.sccp.impl.provider.intel.gt.InterProcessCommunicator.receive(I[B)I”


Checking the current Mobicents source code you see the
InterProcessCommunicator.receive(I[B)I method is noted as being
located here..

JNIEXPORT jint JNICALL
Java_org_mobicents_gct_InterProcessCommunicator_receive

(from the source code header file located here..

http://mobicents.googlecode.com/svn/trunk/servers/jain-slee/resources/jcc/jcc-camel-provider/java/src/main/java/org/mobicents/gct/include/org_mobicents_gct_InterProcessCommunicator.h)

Note the class path differs - I believe there is a change in the JCC
RA class path structure between Mobicents JAIN SLEE 1 and 2 which
accounts for this.

Unfortunately the “org_mobicents_gct_InterProcessCommunicator.h” and
“ipc.c” files in the current Mobicents source code repository at the
link above use the earlier classpath details, meaning the IPC.DLL file
builds incorrectly and causes the error.


Please could you check this and update the ipc.dll source files (and
replace the dll) if you agree?



Exception 2 (from original problem report above)..

java.lang.UnsatisfiedLinkError: C:\jdk1.6.0_20\bin\ipc.dll: This
application has failed to start because the application configuration
is incorrect.

[Steve Madden] That was my fault as I sent Lars an updated DLL (to
fix the classpath) - but gave a Visual Studio 'Debug' version, not a
'Release' version, hence the error - sorry!


Thanks for consideration,

Kind regards

Steve Madden




On Sep 23, 2:10 pm, Oleg Kulikov <oleg.kulik...@gmail.com> wrote:
> Hi Steve,
>
> any mtp or m3ua props does not affect JCC. It was "intermediate" solution
> used for our internal debuging
>
> Regards,
> Oleg
>
> 2010/9/22 Steve Madden <smadde...@hotmail.com>

Oleg Kulikov

unread,
Oct 21, 2010, 8:13:24 AM10/21/10
to mobicent...@googlegroups.com
Hi Steve

The Exception 1 already fixed in trunk. I've moved InterProcessCommunicator to package "org.mobicents.gct" and updated ipc.c files to follow package structure.

At the same time I am playing with it on Solaris with latest dpksol64 now and getting unexpected reults:
Method "receive()" blocks for 2ms and then returns nothing. At the same time it works fine with previous. 


Regards,
Oleg

2010/10/21 Steve Madden <smad...@hotmail.com>

Oleg Kulikov

unread,
Oct 25, 2010, 6:51:57 AM10/25/10
to mobicent...@googlegroups.com
Solved, forget to rebuild with 

2010/10/21 Oleg Kulikov <oleg.k...@gmail.com>
Reply all
Reply to author
Forward
0 new messages