Guys Please help.. I'm stuck: Peek timed out
skely Jun 21, 2003 8:22 AMGuys Please help.. I'm stuck,
I'm doing a JNDI lookup from a standalone client with the following jndi properties.
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://localhost:11099
I purposefully made JBoss run on 11099 because I have another RMI stand alone application running on default port 1099. I made the change in [JBoss]\conf\jboss-service.xml JNDI configuration.
11099
This standalone client has the following files in its classpath:
[JBOSS-CLIENT]\jboss-common-client
[JBOSS-CLIENT]\jboss-j2ee
[JBOSS-CLIENT]\jnp-client
The following is the exception stack I get on the stand alone client. Please tell me what could be possibly wrong. Thanks in advance.
[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)
Environment: jboss-3.2.1_tomcat-4.1.24 on Windows NT, JDK1.4.1_01