[ 
http://issues.apache.org/jira/browse/DIRMINA-163?page=comments#action_12371443 
] 

Niklas Therning commented on DIRMINA-163:
-----------------------------------------

I cannot reproduce this on my computer. I'm running Ubuntu 5.10 here and as far 
as I can tell IPv6 is enabled:

[EMAIL PROTECTED]:~/Projects/mina$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:03:0D:07:E0:63
          inet addr:192.168.0.138  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::203:dff:fe07:e063/64 Scope:Link
          ...
[EMAIL PROTECTED]:~/Projects/mina$ ping6 -I eth0 fe80::203:dff:fe07:e063
PING fe80::203:dff:fe07:e063(fe80::203:dff:fe07:e063) from 
fe80::203:dff:fe07:e063 eth0: 56 data bytes
64 bytes from fe80::203:dff:fe07:e063: icmp_seq=1 ttl=64 time=0.046 ms
64 bytes from fe80::203:dff:fe07:e063: icmp_seq=2 ttl=64 time=0.057 ms
...
[EMAIL PROTECTED]:~/Projects/mina$ ping6 -I lo ::1
PING ::1(::1) from ::1 lo: 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.046 ms
...

[EMAIL PROTECTED]:~/Projects/mina$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

[EMAIL PROTECTED]:~/Projects/mina$ uname -a
Linux niklas 2.6.12-10-k7 #1 Sat Mar 11 16:59:38 UTC 2006 i686 GNU/Linux

Emmanuel, could you verify that this is still an issue for you? If yes, please 
describe your Java/Linux setup (e.g. is only the lo network interface 
available).

Does anyone else have problems with the SocketBindTest?


> Build fails with failed SocketBindTest
> --------------------------------------
>
>          Key: DIRMINA-163
>          URL: http://issues.apache.org/jira/browse/DIRMINA-163
>      Project: Directory MINA
>         Type: Bug
>  Environment: Windows XP Pro
> Version 2002
> Service Pack 2
> $ java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> $ mvn -version
> Maven version: 2.0.1
>     Reporter: Alex Karasulu
>     Assignee: Niklas Therning
>      Fix For: 0.9.3

>
> $ less org.apache.mina.transport.socket.nio.SocketBindTest.txt
> -------------------------------------------------------------------------------
> Battery: org.apache.mina.transport.socket.nio.SocketBindTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 4.078 sec
> testUnbindDisconnectsClients(org.apache.mina.transport.socket.nio.SocketBindTest
> )  Time elapsed: 0.047 sec  <<< ERROR!
> ...
> [ stacktrace ] -----------------------------------------------------------
> java.net.BindException: Cannot assign requested address: no further 
> information
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525
> )
>         at 
> org.apache.mina.transport.socket.nio.support.SocketConnectorDelegate.
> processSessions(SocketConnectorDelegate.java:223)
>         at 
> org.apache.mina.transport.socket.nio.support.SocketConnectorDelegate.
> access$800(SocketConnectorDelegate.java:49)
>         at 
> org.apache.mina.transport.socket.nio.support.SocketConnectorDelegate$
> Worker.run(SocketConnectorDelegate.java:321)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to