[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: Reducing Java object lock contention in org.jboss.invoca

ScottMarlow do-not-reply at jboss.com
Sun Feb 4 17:57:39 EST 2007


I tried "ant -Dtest=pooled test" on windows xp professional and got the following error:
anonymous wrote :   ^M
  |     javax.naming.CommunicationExcept
  | ion: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [R
  | oot exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localho
  | st:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Co
  | nnection refused: connect]]]^M
  |         at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)^M
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)^M
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)^M
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)^M
  |         at org.jboss.test.pooled.test.BeanStressTestCase.runNewProxy(BeanStressTestCase.java:166)^M
  |         at org.jboss.test.pooled.test.BeanStressTestCase.testNewProxy(BeanStressTestCase.java:151)^M
  |         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)^M
  |         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)^M
  |         at junit.extensions.TestSetup.run(TestSetup.java:23)^M
  | Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed t
  | o connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]^M
  |         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)^M
  | 

I didn't see any messages about the app server being launched as I have seen before with the clustering tests (although I was on Linux when running those).  My Windows firewall is disabled and port 1099 appears to be available ("netstat -a | grep 1099" matches nothing).

I also looked in the ..\build\output\jboss-4.2.0.CR1\server\ folder and only see default+all+minimal folders (log folder doesn't exist in any of the server folders).  

Any ideas why the app server wouldn't be launched by this (ant -Dtest=pooled test) test? 



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

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



More information about the jboss-dev-forums mailing list