[jboss-user] [JBoss Messaging] - DO i need to start jboss AS necessarily to implement Jboss M
miryaver
do-not-reply at jboss.com
Mon Feb 5 07:30:09 EST 2007
HI,
i am developing a client application to implement JBossMQ JMS. i also have jboss4.2 on my system. IN my client application i have included all the jars necessary.
I can run the application and get desired results whn JBoss app server is running.But when i shut the JBoss application server i get the following error
Exception in thread "main" javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1302)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1382)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at src.Client.main(Client.java:30)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1272)
... 5 more
Does it mean running JBoss app server is mandatory.Is there any other way where i can do my example without running jboss App server or running only JBoss MQ feature of Jboss (not whole app server).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011295#4011295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011295
More information about the jboss-user
mailing list