2 Replies Latest reply on Jun 20, 2003 5:04 AM by skely

    java.io.InterruptedIOException: Peek timed out

    skely

      Guys,

      I'm doing a JNDI lookup from a standalone client with the following values:
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=193.16.18.192:11099

      The following is the exception stack I get on the stand alone client. Please tell me what could be possibly wrong. Thanks in advance.

      Environment: jboss-3.2.1_tomcat-4.1.24 on Windows NT, JDK1.4.1_01

      [LOG] - getting InitialContext
      [LOG] - got context[javax.naming.InitialContext@d2907dff] from environment [{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=193.16.18.192:11099, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces:com.sun.enterprise.naming}]
      [LOG] - performing lookup for RequestReceiverBean on JNDI name [ipm/RequestReceiver]
      [ERROR] - javax.naming.CommunicationException: Peek timed out. Root exception is java.io.InterruptedIOException: Peek timed out
      at java.net.PlainDatagramSocketImpl.peek(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:354)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java, Compiled Code)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java, Compiled Code)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled Code)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:354)
      at com.pindartech.imageprocessing.manager.requestreceiver.bridge.EJBFileReceiver.receive(EJBFileReceiver.java:81
      )
      at com.pindartech.filetransfer.deliverjob.DeliveryAgent.loopIteration(DeliveryAgent.java:312)
      at com.pindartech.filetransfer.common.ManagedProcess.runLoop(ManagedProcess.java, Compiled Code)
      at com.pindartech.filetransfer.common.FileTransferRunnableImpl.run(FileTransferRunnableImpl.java:84)
      at java.lang.Thread.run(Thread.java:479)