<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: timeout waiting for jboss 4.2
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/apparaonali">apparaonali</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/567922#567922">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I am getting the below errors while running jboss testcases especially "tests-db", most of the testcases failed due to below errors.</p><p>I am very new to web technologies. I was told to run the jboss testcases as a part of jboss evaluation for our new project.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1690) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1761) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:695) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.test.bank.test.BankStressTestCase.setUp(BankStressTestCase.java:462) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:23) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.extensions.TestSetup.run(TestSetup.java:27) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1339) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:831) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1785) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:785) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:725) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1659) ... 39 more</p><pre>javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1690)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1761)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:695)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
&#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.lookup(InitialContext.java:392)
&#160;&#160;&#160;&#160;&#160;at org.jboss.test.bank.test.BankStressTestCase.setUp(BankStressTestCase.java:462)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: java.net.SocketTimeoutException: Receive timed out
&#160;&#160;&#160;&#160;&#160;at java.net.PlainDatagramSocketImpl.receive0(Native Method)
&#160;&#160;&#160;&#160;&#160;at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
&#160;&#160;&#160;&#160;&#160;at java.net.DatagramSocket.receive(DatagramSocket.java:725)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1659)
 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1780)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:695)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
&#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.lookup(InitialContext.java:392)
&#160;&#160;&#160;&#160;&#160;at org.jboss.test.bank.test.BankStressTestCase.setUp(BankStressTestCase.java:462)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
&#160;&#160;&#160;&#160;&#160;at junit.extensions.TestSetup.run(TestSetup.java:27)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:337)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1746)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost/127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:307)
Caused by: java.net.ConnectException: Connection refused: connect
&#160;&#160;&#160;&#160;&#160;at java.net.PlainSocketImpl.socketConnect(Native Method)
&#160;&#160;&#160;&#160;&#160;at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
&#160;&#160;&#160;&#160;&#160;at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
&#160;&#160;&#160;&#160;&#160;at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
&#160;&#160;&#160;&#160;&#160;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
&#160;&#160;&#160;&#160;&#160;at java.net.Socket.connect(Socket.java:529)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
&#160;&#160;&#160;&#160;&#160;at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:303)
</pre></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/567922#567922">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>