2 Replies Latest reply on Oct 2, 2002 5:46 AM by Tung Dang

    javax.naming.CommunicationException....

    sgaucho Newbie

      Hi all,

      i keep getting an javax.naming.CommunicationException when trying to run a test client on my session Bean..

      any suggestions???

      TIA,

      sgaucho

      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)-- Failed initializing bean access.



      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:350)

      at expenses.test.expensesAATestClient1.(expensesAATestClient1.java:38)

      at expenses.test.expensesAATestClient1.main(expensesAATestClient1.java:158)

      java.lang.NullPointerException

      at expenses.test.expensesAATestClient1.create(expensesAATestClient1.java:74)

      at expenses.test.expensesAATestClient1.main(expensesAATestClient1.java:160)

      -- Calling create()

      -- Failed: create()