-
1. Re: javax.naming.CommunicationException: Receive timed out.
tdang Jul 31, 2002 4:28 AM (in response to tdang)I still have this problem, please give me some advice how to run my client in this case.
Thank you very much. -
2. Re: javax.naming.CommunicationException: Receive timed out.
silver Sep 19, 2002 11:55 PM (in response to tdang)hello, I am also getting the similiear message. however, i am using a jndi.properties file instead of hard coding the jndi information in my EJBHomeFactory class. (jndi.properties placed in my root directory of my app.
i'm using forte for java to run and debug my app.
[EJBHomeFactory] Got initial context = localhost:1099@java:comp/env
javax.naming.CommunicationException: Receive timed out. Root exception is java.io.InterruptedIOException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:392)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:919)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1009)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jschedule.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:127)
at org.jschedule.test.TestSessionBeans.main(TestSessionBeans.java:31) -
3. Re: javax.naming.CommunicationException: Receive timed out.
silver Sep 20, 2002 12:11 AM (in response to tdang)fixed it... in my jndi.properties file i had "java.provider.url" instead of "java.naming.provider.url".
silver