-
1. Re: javax.naming.CommunicationException: Receive timed out.
l_lan Dec 19, 2003 8:48 AM (in response to l_lan)to add something:
the comlete Exception is:
javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:671)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1038)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at test.MIDSampleClientSessionTester.main(MIDSampleClientSessionTester.java:159) -
2. Re: javax.naming.CommunicationException: Receive timed out.
jonlee Dec 20, 2003 11:47 PM (in response to l_lan)Post the snippet of the relevant section of your calling code otherwise it makes it difficult to determine the problem with your initial context or the lookup. And also indicate whether the client is a remote client (not running in the same JVM as JBoss). This would help us help you.