directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <vino...@gmail.com>
Subject [mina] Test failing
Date Tue, 15 Mar 2005 10:13:55 GMT
Hi,

Been trying to build mina, but the ConnecterTest is failing.  I tried
changing the port in Abstract Test to use "12345".  It shows up
correctly in the output, but the tests still fail.  Here's the report
-

-----------------------------------

Testsuite: org.apache.mina.examples.echoserver.ConnectorTest
Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.109 sec

Testcase: testTCP(org.apache.mina.examples.echoserver.ConnectorTest):	Caused
an ERROR
Cannot assign requested address: no further information
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.io.socket.SocketConnector.processSessions(SocketConnector.java:153)
	at org.apache.mina.io.socket.SocketConnector.access$900(SocketConnector.java:46)
	at org.apache.mina.io.socket.SocketConnector$Worker.run(SocketConnector.java:246)


Testcase: testUDP(org.apache.mina.examples.echoserver.ConnectorTest):	Caused
an ERROR
Cannot assign requested address: connect
java.net.BindException: Cannot assign requested address: connect
	at sun.nio.ch.Net.connect(Native Method)
	at sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:530)
	at org.apache.mina.io.datagram.DatagramConnector.connect(DatagramConnector.java:92)
	at org.apache.mina.examples.echoserver.ConnectorTest.testTCP0(ConnectorTest.java:59)
	at org.apache.mina.examples.echoserver.ConnectorTest.testUDP(ConnectorTest.java:111)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
	at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
	at com.werken.werkz.Goal.fire(Goal.java:639)
	at com.werken.werkz.Goal.attain(Goal.java:575)
	at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
	at com.werken.werkz.Goal.attain(Goal.java:573)
	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
	at org.apache.maven.cli.App.doMain(App.java:488)
	at org.apache.maven.cli.App.main(App.java:1239)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)


Regards,
Vinod.

Mime
View raw message