[jboss-dev-forums] [Design of JBoss ESB] - Re: Missing method isNotNull() in AssertArgument?

bruno do-not-reply at jboss.com
Fri Oct 26 11:53:37 EDT 2007


Guys/pals: I'm starting to feel bad about this, completely clueless as I am. Sorry if what I ask is due to my lack of knowledge...

I have updated my local copy (at home, this time). Effectively, the failure point occurs more much later tan before, but it occurs:


     [java]     [junit] Testcase: unknown took 0.039 sec
     [java]     [junit]         Caused an ERROR
     [java]     [junit] Unable to start Remoting Listener instsance org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener
     [java]     [junit] org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unable to start Remoting Listener instsance org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:256)
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.doStart(JBossRemotingGatewayListener.java:223)
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListenerUnitTest.startServer(JBossRemotingGatewayListenerUnitTest.java:199)
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListenerUnitTest.test_delivery(JBossRemotingGatewayListenerUnitTest.java:157)
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListenerUnitTest.test_socket_(JBossRemotingGatewayListenerUnitTest.java:153)
     [java]     [junit]         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
     [java]     [junit]         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
     [java]     [junit]         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
     [java]     [junit]         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
     [java]     [junit]         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
     [java]     [junit]         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
     [java]     [junit]         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
     [java]     [junit]         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
     [java]     [junit]         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
     [java]     [junit]         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
     [java]     [junit]         at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
     [java]     [junit] Caused by: java.net.BindException: Address already in use
     [java]     [junit]         at java.net.PlainSocketImpl.socketBind(Native Method)
     [java]     [junit]         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
     [java]     [junit]         at java.net.ServerSocket.bind(ServerSocket.java:319)
     [java]     [junit]         at java.net.ServerSocket.(ServerSocket.java:185)
     [java]     [junit]         at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169)
     [java]     [junit]         at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264)
     [java]     [junit]         at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193)
     [java]     [junit]         at org.jboss.remoting.transport.Connector.start(Connector.java:322)
     [java]     [junit]         at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.startJBRServer(JBossRemotingGatewayListener.java:251)
     [java]     [junit]         ... 22 more


     [java] BUILD FAILED
     [java] /home/bruno/jbossesb-svn/product/build.xml:161: The following error occurred while executing this line:
     [java] /home/bruno/jbossesb-svn/product/rosetta/build.xml:104: The following error occurred while executing this line:
     [java] /home/bruno/jbossesb-svn/product/rosetta/tests/build.xml:166: The following error occurred while executing this line:
     [java] /home/bruno/jbossesb-svn/product/rosetta/tests/build.xml:190: Test org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListenerUnitTest failed

     [java] Total time: 3 minutes 45 seconds
     [java] Java Result: 1

esb.init-app-server:

esb.init-esb-server:

esb.init-ftp-server:

esb.init:

stop-server:
     [echo] Stopping local ESB server
     [java] Shutdown message has been posted to the server.
     [java] Server shutdown may take a while - check logfiles for completion
     [echo] Waiting for ESB server to stop...

BUILD FAILED
/home/bruno/jbossesb-svn/integration-build.xml:11: The following error occurred while executing this line:
/home/bruno/jbossesb-svn/product/build.xml:491: Product Unit Test failure

Total time: 4 minutes 25 seconds


What do I do now?

One last annotation: I'm using JBoss AS 4.2.2, which says in its release notes that should be fully compatible with version 4.2.1. Should I switch to 4.2.1?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099377#4099377

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099377



More information about the jboss-dev-forums mailing list