[jira] Reopened: (DIRMINA-163) Build fails with failed
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Reopened: (DIRMINA-163) Build fails with failed




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 10: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.SocketBi
ndTest
> )  Time elapsed: 0.047 sec  <<< ERROR!
> ...
> [ stacktrace ] -------------------------------------------------------
----
> java.net.BindException: Cannot assign requested address: no further inform
ation
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.ja
va:525
> )
>         at org.apache.mina.transport.socket.nio.support.SocketConnectorDel
egate.
> processSessions(SocketConnectorDelegate.java:223)
>         at org.apache.mina.transport.socket.nio.support.SocketConnectorDel
egate.
> access$800(SocketConnectorDelegate.java:49)
>         at org.apache.mina.transport.socket.nio.support.SocketConnectorDel
egate$
> 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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:45 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register