0 Replies Latest reply on May 6, 2003 4:29 PM by bautisma

    jms problem

    bautisma Newbie

      when I try to run ex1 from Chapter 6 (JMS) I get the following error

      T:\jboss\examples>ant -Dchap=6 -Dex=1p2p run-example
      Buildfile: build.xml

      validate:
      [java] JBoss version is: 3.0.0
      [java] WARNING: requested version: 3.0.7 does not match the run.jar version: 3.0
      .0
      [java] Java Result: 1

      fail_if_not_valid:

      init:
      [echo] Using jboss.dist=T:/jboss/jboss-3.0.0_tomcat-4.0.3

      compile:

      run-example:

      run-example1p2p:
      [java] Found resURL: file:/T:/jboss/examples/src/main/org/jboss/chap6/ex1/log4j.
      xml
      [java] [INFO,SendRecvClient] Begin SendRecvClient, now=1052259461021
      [java] [INFO,SendRecvClient] Begin sendRecvAsync
      [java] javax.naming.CommunicationException: Receive timed out. Root exception i
      s java.net.SocketTimeoutException: Receive timed out
      [java] at java.net.PlainDatagramSocketImpl.receive(Native Method)
      [java] at java.net.DatagramSocket.receive(DatagramSocket.java:670)
      [java] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java
      :919)
      [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
      [java] at org.jboss.chap6.ex1.SendRecvClient.setupPTP(SendRecvClient.java:58
      )
      [java] at org.jboss.chap6.ex1.SendRecvClient.sendRecvAsync(SendRecvClient.ja
      va:72)
      [java] at org.jboss.chap6.ex1.SendRecvClient.main(SendRecvClient.java:100)
      [java] Exception in thread "main"
      [java] Java Result: 1

      BUILD SUCCESSFUL
      Total time: 15 seconds