you need to set correctly your jndi settings in jndi.properties for the *client* (it must be on the client classpath).
> -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de > [EMAIL PROTECTED] > Envoy� : lundi, 12 ao�t 2002 12:16 > � : [EMAIL PROTECTED] > Objet : [JBoss-user] Receive timed out > > > Hello ! > > I have a simple session bean. Also have a client that calls a > method on the session bean. The initial context is obtained, but > when I go get the home interface the following exception is > thrown to the client : > > 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:670) > at > org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:91 > 9) > at > org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997) > 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:347) > > > I have JBoss 3.0.0 and the client on the same machine both with jdk1.4.0. > > Many thanks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
