It looks like you do not have any provider url set. When this is true, JBoss will try to discover the JNDI service via multicast. Multicast may not be running on your machine. Are you running unplugged from network?
Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Erik Price > Sent: Tuesday, July 15, 2003 1:32 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] JNDI no longer working? > > > Last week I had a very simple stateless session bean running in JBoss, > and I was able to access it perfectly using a simple client program. > Now the client program does not find JNDI and I cannot figure out why. > I have not changed any of the default JBoss settings (to the best of my > knowledge). I even removed the JBoss installation and unzipped a new > copy, to ensure that any configuration changes I may have accidentally > made would be forgotten. > > I am running both client and JBoss (3.2.1) on localhost. I have > appended the error to this email. Can anyone give me a suggestion as to > what might be causing this problem? I have tried everything. > > Thank you, > > Erik > > > > > > $ ant client > Buildfile: build.xml > > init: > > client: > [java] javax.naming.CommunicationException: Receive timed out. > Root exception is java.net.Sock > etTimeoutException: Receive timed out > [java] at > java.net.PlainDatagramSocketImpl.receive(Native Method) > [java] at > java.net.DatagramSocket.receive(DatagramSocket.java:671) > [java] at > org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1038) > [java] at > org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127) > [java] at > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478) > [java] at > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) > [java] at > javax.naming.InitialContext.lookup(InitialContext.java:347) > [java] at examples.CountClient.main(CountClient.java:27) > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user