SCTP not supported on this platform

1,633 views
Skip to first unread message

and.s....@gmail.com

unread,
Sep 25, 2013, 5:36:07 AM9/25/13
to mobicent...@googlegroups.com
Hi all.

I would like to get aqainted with Mobicents jSS7 Stack.
I install Mobicents jSS7 Service on mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA on Windows XP (32bit).

After configuring SCTP association and starting jboss I am recieving this error:

java.lang.UnsupportedOperationException: SCTP not supported on this platform
at sun.nio.ch.SctpChannelImpl.<init>(SctpChannelImpl.java:48)
at com.sun.nio.sctp.SctpChannel.open(SctpChannel.java:165)
at org.mobicents.protocols.sctp.AssociationImpl.doInitiateConnectionSctp
(AssociationImpl.java:775)
at org.mobicents.protocols.sctp.AssociationImpl.initiateConnection(Assoc
iationImpl.java:745)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:1
21)
at java.lang.Thread.run(Thread.java:724)

Mobicents SCTP Library doesn't work with Windows XP or is there another problem?

Oliver Jowett

unread,
Sep 25, 2013, 6:02:43 AM9/25/13
to mobicent...@googlegroups.com
On 25 September 2013 10:36, <and.s....@gmail.com> wrote:

java.lang.UnsupportedOperationException: SCTP not supported on this platform
        at sun.nio.ch.SctpChannelImpl.<init>(SctpChannelImpl.java:48)
 
Mobicents SCTP Library doesn't work with Windows XP or is there another problem?


However, the implementation only provides support on Solaris and Linux. So you can use platforms like Windows to develop your SCTP applications, but you must deploy on Solaris or Linux.

IIRC Windows does not have a built-in SCTP stack to begin with, which is why there is no Windows implementation of the Java layer.

Oliver

Asbjorn Grandt

unread,
Sep 25, 2013, 6:08:56 AM9/25/13
to mobicent...@googlegroups.com
SCTP is a protocol on the level of IP, and require OS support to work. Sadly Windows does not support this yet, and the Java builds for windows have to omit this support.

If I recall, there is a third-party library that attempted to implement this, I have no idea how far they got with it.
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

and.s....@gmail.com

unread,
Sep 25, 2013, 6:33:28 AM9/25/13
to mobicent...@googlegroups.com
Thank for help Asbjørn Grandt 

Sergey Vetyutnev

unread,
Sep 25, 2013, 10:10:55 AM9/25/13
to mobicent...@googlegroups.com
Hello!

> I install Mobicents jSS7 Service on mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA on Windows XP (32bit).

> After configuring SCTP association and starting jboss I am recieving this error:

Windows does not support SCTP protocol. You need either use Linus OS or (generaaly for testing purposes) use TCP instead of SCTP at SCTP-M3UA level. This is a configuable option in Mobicents.

Reply all
Reply to author
Forward
0 new messages