I am getting a strange error.  I have added JBoss Messenging to my JBoss 
Server.  When I run the examples like the topic example everything works 
perfectly.  However, when I try to replicate one of the examples in a portlet 
and deploy it to the server and then run it I get the following:

For executing the following line:
ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory");

I get this error:

14:30:40,089 INFO  [STDOUT] javax.naming.CommunicationException: Receive timed 
out [Root exception is java.net.SocketTimeoutException: Receive timed out]
  | 14:30:40,089 INFO  [STDOUT]         at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1323)
  | 14:30:40,089 INFO  [STDOUT]         at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1452)
  | 14:30:40,089 INFO  [STDOUT]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:595)
  | 14:30:40,089 INFO  [STDOUT]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  | 14:30:40,089 INFO  [STDOUT]         at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 
  | Any advise?

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to