How can I start the MSS with Clustering Capabilities?

6 views
Skip to first unread message

Yukinobu Imai

unread,
Oct 30, 2009, 6:13:01 AM10/30/09
to mobicents-public
Hi,

I have a problem on MSS with Clustering Capabilities.
DispatcherException occures when MSS received BYE message with
following sequence.

IP LoadBalancer MSS1 MSS2
| INVITE | |
|--------->| |
| INVITE | |
|<---------| |
| 180 | |
|--------->| |
| 180 | |
|<---------| |
| 200 | |
|--------->| |
| 200 | |
|<---------| |
| ACK | |
|--------->| |
| ACK | |
|<---------| |
| | |
| Down |
| |
| BYE |
|-------------------->| Exception!!
| |


Log details are below.

org.mobicents.servlet.sip.core.dispatchers.DispatcherException: Cannot
find the corresponding sip application session to this subsequent
request BYE sip:ser...@172.28.43.173:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5062;branch=z9hG4bK-4020-1-12
From: "sipp" <sip:si...@192.168.0.10:5062>;tag=1
To: "sut"
<sip:ser...@172.28.43.173:5060>;tag=78611897_c3356d0b_526159770738847
Call-ID: 1-4...@192.168.0.10
CSeq: 5 BYE
Contact: <sip:si...@192.168.0.10:5062>
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0

with the following popped route header null
at
org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher.dispatchMessage
(SubsequentRequestDispatcher.java:176)
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest
(SipApplicationDispatcherImpl.java:596)
at gov.nist.javax.sip.EventScanner.deliverEvent
(EventScanner.java:223)
at gov.nist.javax.sip.SipProviderImpl.handleEvent
(SipProviderImpl.java:184)
at gov.nist.javax.sip.DialogFilter.processRequest
(DialogFilter.java:941)
at gov.nist.javax.sip.stack.SIPServerTransaction.processRequest
(SIPServerTransaction.java:807)
at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage
(UDPMessageChannel.java:455)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket
(UDPMessageChannel.java:414)
at gov.nist.javax.sip.stack.UDPMessageChannel.run
(UDPMessageChannel.java:258)
at java.lang.Thread.run(Thread.java:619)



Environments:
Java : jdk.1.6.0_16 64bit
MSS : mss-1.1-SNAPSHOT-jboss-4.2.3.GA-0910131133.zip

Settings:
copy mobicents-cluster jars to <JBOSS_HOME>/server/deploy/jboss-
web.deployer/.

jars:
-core-1.0.0BETA1-20091030.091738-5.jar,
-cache-1.0.0BETA1-20091030.091738-5.jar,
-timers-1.0.0BETA1-20091030.091738-53.jar

#downloaded from http://snapshots.jboss.org/maven2/org/mobicents/cluster/.

server.log:
http://mobicents-public.googlegroups.com/web/server.log?gda=FfYJEzwAAAApHGZ3vHgE0cv5xBvSddQPE9vUjgV3fSRJlBD3yQhayb9MPIvINPpzZuSF5rcNuvT9Wm-ajmzVoAFUlE7c_fAt



What's wrong?

Thaks in advance.

Yukinobu

Jean Deruelle

unread,
Oct 30, 2009, 6:21:19 AM10/30/09
to mobicent...@googlegroups.com
I'm checking the all profile right now on the snapshot binaries, it's a bit broken. I'll update you as soon as I have it fixed.
In your case it seems a bit different, it looks like the replication has not occurred.
Can you attach the server.log in DEBUG of both servers ?

Thanks in advance
BR
Jean

Yukinobu Imai

unread,
Nov 4, 2009, 1:05:04 AM11/4/09
to mobicents-public
> I'm checking the all profile right now on the snapshot binaries, it's a bit
> broken. I'll update you as soon as I have it fixed.

Thanks a lot.

What means a bit broken?
It means that current version is not supported Clustering
Capabilities?


> In your case it seems a bit different, it looks like the replication has not
> occurred.

Sorry. I forgot to explain my settings.
I removed the following line from server.xml.

sipPathName="org.mobicents.ha"

If the attribute exists, ClassNotFoundException occures at starting a
MSS.


> Can you attach the server.log in DEBUG of both servers ?

OK.
I attached server.log of both servers.

server.log of MSS1 : http://mobicents-public.googlegroups.com/web/MSS1-server.log?gsc=P7OzTQsAAADcm8Xp-nzWd_XejwZnlYcD
server.log of MSS2 : http://mobicents-public.googlegroups.com/web/MSS2-server.log?gsc=iAxw7gsAAADyS_LvfX0h5fjqJ4TEi5sw

Yukinobu

On Oct 30, 7:21 pm, Jean Deruelle <jean.derue...@gmail.com> wrote:
> I'm checking the all profile right now on the snapshot binaries, it's a bit
> broken. I'll update you as soon as I have it fixed.
> In your case it seems a bit different, it looks like the replication has not
> occurred.
> Can you attach the server.log in DEBUG of both servers ?
>
> Thanks in advance
> BR
> Jean
>
> > request BYE sip:serv...@172.28.43.173:5060 SIP/2.0
> > Via: SIP/2.0/UDP 192.168.0.10:5062;branch=z9hG4bK-4020-1-12
> > From: "sipp" <sip:s...@192.168.0.10:5062>;tag=1
> > To: "sut"
> > <sip:serv...@172.28.43.173:5060>;tag=78611897_c3356d0b_526159770738847
> > Call-ID: 1-4...@192.168.0.10
> > CSeq: 5 BYE
> > Contact: <sip:s...@192.168.0.10:5062>
> >http://mobicents-public.googlegroups.com/web/server.log?gda=FfYJEzwAA...

Vladimir Ralev

unread,
Nov 4, 2009, 3:11:04 PM11/4/09
to mobicent...@googlegroups.com
Hi,

Broken just means that the current updates to clustering code are not
stable yet in the trunk, thus problems are expected until QA is done,
otherwise it is supported.

sipPathName="org.mobicents.ha" is required because it points to the
HA-aware JSIP stack, if you remove it HA features are not availalbe.

The ClassNotFound problem your mentioned earlier was a build script
problem that is already fixed, there are newer snapshots available in
hudson now here
http://hudson.jboss.org/hudson/view/Mobicents/job/MobicentsSipServletsRelease/
(watch the dates in left). Keep in mind that the trunk is still in
development and other problems might occur. Feel free to report bugs.

Reply all
Reply to author
Forward
0 new messages