JNDI problem
literakl Feb 21, 2002 1:23 AMHello,
I've just downloaded last nightly build
of JBossMQ 1.0Beta. Build was OK, I can
start it too. The problem is, that when
I try to start JMS client, I get such
exception:
Running with classpath :/home/literakl/java/sms_infrastructure/bin/jbossmq/client/jbossmq-client.jar:/ home/literakl/java/sms_infrastructure/bin/jbossmq/client/jnp-client.jar:#/home/literakl/java/sms_infrastructure/bin/jbossmq/client/jta-spec1_0_1.jar:/home/literakl/java/sms_infrastructure/bin/jbossmq/client/jboss-j2ee.jar:/home/literakl/java/sms_infrastructure/bin/jbossmq/client/log4j.jar:/home/literakl/java/sms_infrastructure/bin/jbossmq/client/concurrent.jar:../../../../../build-examples/jms/classes/:../resources/
An exception occured while testing HelloPublisher: javax.naming.CommunicationException: Network unreachable [Root exception is java.io.IOException: Network unreachable]
javax.naming.CommunicationException: Network unreachable. Root exception is java.io.IOException: Network unreachable
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:321)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:817)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:890)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:356)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jboss.docs.jms.client.HelloPublisher.(HelloPublisher.java:67)
at org.jboss.docs.jms.client.HelloPublisher.main(HelloPublisher.java:118)
Here I try to run JBoss 2.4 examples with JBossMQ libraries.
If I run this example with JBoss2.4, it works fine. But with JbossMq
it doesn't.
I also tried my own client, which works fine with SwiftMQ, but it
dies with same exception.
My system is Redhat Linux 7.2. I haven't configured network card,
'cause this computer is connected to network via modem. But all
java servers like jboss, swiftmq or tomcat works fine. I use loopback.
Any idea, why new jnp-client.jar doesn't work for me, when old one
from JB2.4 does?
Please CC my email: literakl@centrum.cz
Thanks a lot
Leo