I am getting an error while running the simple QueueExample as shown on the page: 
http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample... It is an exception that is 
thrown after the line:
Queue queue = (Queue) ctx.lookup("queue/testQueue");
is encountered... Here it is:

log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingContext).

log4j:WARN Please initialize the log4j system properly.

javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]

        at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1117)

        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1194)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

        at javax.naming.InitialContext.lookup(InitialContext.java:347)

        at temp.Client.main(Client.java:30)

Caused by: java.net.SocketTimeoutException: Receive timed out

        at java.net.PlainDatagramSocketImpl.receive(Native Method)

        at java.net.DatagramSocket.receive(DatagramSocket.java:711)

        at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1087)

        ... 5 more

Exception in thread "main" 

Kindly help me out if you can. I would be much obliged.
Regards...

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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to