0 Replies Latest reply on Jul 17, 2002 4:24 AM by farrukhkhalil

    javax.naming.CommunicationException: Host unreachable: Datag

    farrukhkhalil Newbie

      i have made changes in /documentation-example/examples/org/jboss/docs/interest/build.xml file so that it deploys the jar to /server/default/deploy. And I also made changes to /documentation-example/examples/build/build.xml file
      like this:





      and my bean is deploying in the right directory
      but when i run it with commond
      ant intro-interest-client
      i am getting this new exception:


      init:
      [echo] Using JBoss directory=C:\jboss-3.0.0_tomcat-4.0.3
      [echo] Using base classpath=C:\jboss-3.0.0_tomcat-4.0.3\client\jboss-j2ee.j
      ar;C:\jboss-3.0.0_tomcat-4.0.3\client\jaas.jar;C:\jboss-3.0.0_tomcat-4.0.3\clien
      t\jbosssx-client.jar;C:\jboss-3.0.0_tomcat-4.0.3\client\jboss-client.jar;C:\jbos
      s-3.0.0_tomcat-4.0.3\client\jnp-client.jar;C:\catalina\common\lib\servlet.jar;C:
      \jboss-3.0.0_tomcat-4.0.3\server\all\lib\log4j.jar;C:\jboss-3.0.0_tomcat-4.0.3\s
      erver\all\lib\jboss-common-client.jar;C:\jboss-3.0.0_tomcat-4.0.3\server\all\lib
      \jnet.jar
      [echo] Using Source directory=C:\jboss-3.0.0_tomcat-4.0.3\examples
      [echo] Using Build directory=C:\jboss-3.0.0_tomcat-4.0.3\examples/build-exa
      mples

      intro-interest-client:

      compile:

      interest-client:
      [java] Got context
      [java] javax.naming.CommunicationException: Host unreachable: Datagram send
      failed [Root exception is java.net.NoRouteToHostException: Host unreachable: Da
      tagram send failed]

      BUILD SUCCESSFUL

      plz help me
      thanks in advance