apparaonali [
http://community.jboss.org/people/apparaonali] created the discussion
"Re: timeout waiting for jboss 4.2"
To view the discussion, visit:
http://community.jboss.org/message/567922#567922
--------------------------------------------------------------
I am getting the below errors while running jboss testcases especially
"tests-db", most of the testcases failed due to below errors.
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.
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
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]
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.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
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)
[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]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1780)
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.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
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]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:337)
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]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:307)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:303)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/567922#567922]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]