[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: A few problems running the examples on different machine

ataylor do-not-reply at jboss.com
Sun May 11 03:51:25 EDT 2008


if i change it the same way i get
queueExample:
  |      [java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: thetaylors:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server thetaylors:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server thetaylors:1099 [Root exception is java.net.UnknownHostException: thetaylors: thetaylors]]]
  |      [java]     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1601)
  |      [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:636)
  |      [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  |      [java]     at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |      [java]     at org.jboss.jms.example.QueueExample.main(QueueExample.java:47)
  |      [java] Caused by: javax.naming.CommunicationException: Failed to connect to server thetaylors:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server thetaylors:1099 [Root exception is java.net.UnknownHostException: thetaylors: thetaylors]]
  |      [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:276)
  |      [java]     at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1572)
  |      [java]     ... 4 more
  |      [java] Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server thetaylors:1099 [Root exception is java.net.UnknownHostException: thetaylors: thetaylors]
  |      [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:250)
  |      [java]     ... 5 more
  |      [java] Caused by: java.net.UnknownHostException: thetaylors: thetaylors
  |      [java]     at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
  |      [java]     at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
  |      [java]     at java.net.InetAddress.getAllByName(InetAddress.java:1061)
  |      [java]     at java.net.InetAddress.getByName(InetAddress.java:958)
  |      [java]     at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:76)
  |      [java]     at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:246)
  |      [java]     ... 5 more
  | 
  | 
so it looks like its picking it up for me

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

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



More information about the jboss-dev-forums mailing list