directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (DIRMINA-163) Build fails with failed SocketBindTest
Date Mon, 23 Jan 2006 18:40:14 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-163?page=all ]
     
Emmanuel Lecharny reopened DIRMINA-163:
---------------------------------------


I still had the problem on Linux Ubuntu 5.0.4.

I fiexd it in maven by adding this parameter in mvn script :
exec "$JAVACMD" \
  -Djava.net.preferIPv4Stack=true \              <<<<<---------------------
  $MAVEN_OPTS \
  -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
  "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
  "-Dmaven.home=${M2_HOME}"  \
  ${CLASSWORLDS_LAUNCHER} $@


Seems that Mina does not like IPV6 !!!


> 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
>     Priority: Blocker
>      Fix For: 0.9.1

>
> $ 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


Mime
View raw message