-
1. Re: javax.naming.communicationException
adrian.brock May 5, 2003 5:15 PM (in response to anand_gr)You haven't specified the jndi.properties
correctly.
Look in the quick start guide for client configuration.
Regards,
Adrian -
2. Re: javax.naming.communicationException
anand_gr May 6, 2003 12:05 AM (in response to anand_gr)Hi Friends,
The "jndi.properties" file has been included in the path. But it is giving the same error, to be precise the following is what we receive after running the client
{
client:
[java] Got context
[java] javax.naming.CommunicationException: Receive timed out [Root excepti
on is java.io.InterruptedIOException: Receive timed out]
[java] javax.naming.CommunicationException: Receive timed out. Root except
ion is java.io.InterruptedIOException: Receive timed out
[java] at java.net.PlainDatagramSocketImpl.receive(Native Method)
[java] at java.net.DatagramSocket.receive(DatagramSocket.java:392)
[java] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext
.java:1014)
[java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:
1134)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:47
0)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:46
3)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:350)
[java] at helloworld.HelloWorldClient.main(HelloWorldClient.java:17)
[echo] classpath =D:\jboss-3.0.7_jakarta-tomcat-4.1.24\client\jboss-j2ee.ja
r;D:\jboss-3.0.7_jakarta-tomcat-4.1.24\client\jboss-common-client.jar;D:\jboss-3
.0.7_jakarta-tomcat-4.1.24\server\default\conf;D:\jboss-3.0.7_jakarta-tomcat-4.1
.24\client\log4j.jar;D:\jboss-3.0.7_jakarta-tomcat-4.1.24\client\jboss-jaas.jar;
D:\jboss-3.0.7_jakarta-tomcat-4.1.24\client\jbosssx-client.jar;D:\jboss-3.0.7_ja
karta-tomcat-4.1.24\client\jboss-client.jar;D:\jboss-3.0.7_jakarta-tomcat-4.1.24
\client\jnp-client.jar;D:\jboss-3.0.7_jakarta-tomcat-4.1.24\client\jnet.jar;D:\j
dk1.3\lib\tools.jar;F:\HelloWorld;D:\JBOSS\jboss-3.0.6\
server\default\conf;
BUILD SUCCESSFUL
}
please provide me a work around for this
Thanx -
3. Re: javax.naming.communicationException
adrian.brock May 6, 2003 5:20 AM (in response to anand_gr)It has failed to find the provider you specified
in jndi.properties.
Now it is broadcasting for any servers running
HAJNDI, but this fails as well.
Regards,
Adrian