Apache Directory Project - [jira] Reopened: (DIRMINA-163) Build fails with failed

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > January 2006 > [jira] Reopened: (DIRMINA-163) Build fails with failed





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Reopened: (DIRMINA-163) Build fails with failed
Emmanuel Lecharny (JIRA)

2006-01-23, 5:45 pm

[ http://issues.apache.org/jira/brows...NA-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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com