2 Replies Latest reply on Feb 5, 2007 11:05 AM by peterj

    DO i need to start jboss AS necessarily to implement Jboss M

    miryaver

      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).