3 Replies Latest reply on Apr 29, 2004 4:52 AM by srinivas

    Getting the EJB

    emimob Newbie

      Well I am pretty new in developing Enterprise Application and so I decided to teach myself with JBoss .I have done the example in the JBoss Tutorial Step by Step,the application Server ran as it should,I deployed the EJB also and everything seemed to be OK,since a peculiar error occured when trying to get the bean i.e by executing the "Context" method "lookup".Well this ist the StackTrace:

      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:1093)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
      at client.HelloFrame.main(HelloFrame.java:85)
      2004-3-24 13:41:37 client.HelloFrame main
      SEVERE: Lookup failed!


      I will be very thankful if you could help me,since I really have no idea what I should correct or configure.In the meantime this is the configuration I have:

      OS: Windows 2000

      Eclipse: Version 3.0

      JBOSS: JBoss-3.2.3

      JVM: 1.4.1_02

      I am using also the JBossIDE for Eclipse.


      Thanx a lot!