I have had this exception.
The problem was that java.naming.provider.url pointed to wrong server. Maris > -----Original Message----- > From: Eric Huang [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 3:45 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] [HELP] CommunicationException in JNDI > > > Hello world, > I try to connect to the session bean from the standalone > application. I did > connect before. But I can't connect now. > Hoever my program within a single EAR running well. Maybe > it's the reason I > setup JBossMQ and mess up the configuration. > Can anybody give me a hint where I can kill the problem? > > Thanks! > Eric > =================================================== > [java] Caught an exception: > [java] javax.naming.CommunicationException: Receive > timed out. Root > exception is java.io.InterruptedIOException: Receive timed out > [java] at > java.net.PlainDatagramSocketImpl.receive(Native Method) > [java] at > java.net.DatagramSocket.receive(DatagramSocket.java:392) > [java] at > org.jnp.interfaces.NamingContext.discoverServer(NamingContext. java:820) > [java] at > org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:902) > [java] at > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:356) > [java] at > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349) > [java] at > javax.naming.InitialContext.lookup(InitialContext.java:350) > [java] at homeweb.test.TestClient.main(TestClient.java:28) > > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user