From jestannirojan at gmail.com Tue Dec 6 11:53:56 2011 From: jestannirojan at gmail.com (Nirojan) Date: Wed, 7 Dec 2011 01:23:56 +0530 Subject: [sctp-dev] SCTP NIO native method issue in Open Solaris 10 Message-ID: Hi all! I have an sctp nio application, which works fine in linux (lksctp), but in Open Solaris 10 (virtual box), while finish connect, the client app gives following error. java.net.SocketException: Option not supported by protocol at sun.nio.ch.SctpChannelImpl.checkConnect(Native Method) at sun.nio.ch.SctpChannelImpl.finishConnect(SctpChannelImpl.java:471) ... OS Version: SunOS 5.11 snv_111b i86pc i386 i86pc Solaris Java Version: "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) Server app and Client app are in same guest VM and using loopback interface. Could not get anything from this cryptic exception (I have not set any sctp socket option for client socket). Can someone help? thanks and regards. -Jestan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/sctp-dev/attachments/20111207/1aa9c19c/attachment.html From mail2leoj at gmail.com Thu Dec 8 15:33:01 2011 From: mail2leoj at gmail.com (Joel Buckley) Date: Thu, 8 Dec 2011 16:33:01 -0700 Subject: [sctp-dev] sctp-dev Digest, Vol 28, Issue 1 In-Reply-To: References: Message-ID: <7A00D6F7-3769-4C10-9A82-82C5FC9ED667@gmail.com> Hey Nirojan, The client you mentioned is running snv_111b.... think of that as 111 biweekly builds since leaving Solaris 10.... and still 40 builds before Solaris 11 Express, 74 builds from Solaris11. e.g. OpenSolaris != Solaris 10, Solaris 11 Express, or Solaris 11 11/11 ( with respect to recent feature additions.... ) I am not sure - Joel On Dec 6, 2011, at 1:00 PM, sctp-dev-request at openjdk.java.net wrote: > Send sctp-dev mailing list submissions to > sctp-dev at openjdk.java.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.openjdk.java.net/mailman/listinfo/sctp-dev > or, via email, send a message with subject or body 'help' to > sctp-dev-request at openjdk.java.net > > You can reach the person managing the list at > sctp-dev-owner at openjdk.java.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sctp-dev digest..." > > > Today's Topics: > > 1. SCTP NIO native method issue in Open Solaris 10 (Nirojan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 7 Dec 2011 01:23:56 +0530 > From: Nirojan > Subject: [sctp-dev] SCTP NIO native method issue in Open Solaris 10 > To: sctp-dev at openjdk.java.net > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hi all! > > I have an sctp nio application, which works fine in linux (lksctp), but in > Open Solaris 10 (virtual box), > while finish connect, the client app gives following error. > > java.net.SocketException: Option not supported by protocol > at sun.nio.ch.SctpChannelImpl.checkConnect(Native Method) > at sun.nio.ch.SctpChannelImpl.finishConnect(SctpChannelImpl.java:471) > ... > > OS Version: SunOS 5.11 snv_111b i86pc i386 i86pc Solaris > > Java Version: "1.7.0" > Java(TM) SE Runtime Environment (build 1.7.0-b147) > Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) > > Server app and Client app are in same guest VM and using loopback interface. > > > Could not get anything from this cryptic exception (I have not set any sctp > socket option for client socket). > > Can someone help? > > thanks and regards. > -Jestan > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://mail.openjdk.java.net/pipermail/sctp-dev/attachments/20111207/1aa9c19c/attachment-0001.html > > End of sctp-dev Digest, Vol 28, Issue 1 > *************************************** From chris.hegarty at oracle.com Mon Dec 12 03:07:46 2011 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Mon, 12 Dec 2011 11:07:46 +0000 Subject: [sctp-dev] SCTP NIO native method issue in Open Solaris 10 In-Reply-To: References: Message-ID: <4EE5E082.90801@oracle.com> Hi Jestan, Sorry, I did reply to this, but somewhere along the way the mail seems to have gotten lost! Anyway... I'm not sure what Solaris version you are using ( you say Solaris 10, but then uname 5.11 snv_111b ??? ). That said, there are some issues with using the loopback interface Solaris. I can't remember the specific details, but some time back I reported these issues to the Solaris Networking folks and they were all fixed ( the most recent in S10_u11 ). You should ensure you are on the latest publicly available build and then try rerunning your test. Please let us know the outcome. Thanks, -Chris. On 06/12/2011 19:53, Nirojan wrote: > Hi all! > > I have an sctp nio application, which works fine in linux (lksctp), but > in Open Solaris 10 (virtual box), > while finish connect, the client app gives following error. > > java.net.SocketException: Option not supported by protocol > at sun.nio.ch.SctpChannelImpl.checkConnect(Native Method) > at sun.nio.ch.SctpChannelImpl.finishConnect(SctpChannelImpl.java:471) > ... > > OS Version: SunOS 5.11 snv_111b i86pc i386 i86pc Solaris > > Java Version: "1.7.0" > Java(TM) SE Runtime Environment (build 1.7.0-b147) > Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) > > Server app and Client app are in same guest VM and using loopback interface. > > > Could not get anything from this cryptic exception (I have not set any > sctp socket option for client socket). > > Can someone help? > > thanks and regards. > -Jestan