From jestannirojan at gmail.com Mon Jan 16 11:27:46 2012 From: jestannirojan at gmail.com (Nirojan) Date: Tue, 17 Jan 2012 00:57:46 +0530 Subject: [sctp-dev] SCTP NIO native method issue in Open Solaris 10 In-Reply-To: <4EE5E082.90801@oracle.com> References: <4EE5E082.90801@oracle.com> Message-ID: Hi all, I was able to get the SCTP NIO application working with following version of Solaris & JDK. SunOS Release 5.11 Version 11.0 64-bit java version 1.7.0 build 1.7.0-b147. thanks for the support. -Jestan On Mon, Dec 12, 2011 at 4:37 PM, Chris Hegarty wrote: > 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 >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/sctp-dev/attachments/20120117/935967b6/attachment.html