5 Replies Latest reply on Mar 31, 2004 10:15 AM by srinivaschowdary

    java.net.NoRouteToHostException

      Hi,


      My App need TopicConnection. For that i am using Http Inovker . I am getting look up but getting java.net.NoRouteToHostException when i try to get connection over TopicConnectionFactory.

      I have changed standardJboss.xml , in that i have added bindings and container configuration. In one of the threads i have seen that we need to change jboss.xml also.. I am not really getting what i have to change/write in that jboss.xml file.

      Kindly help me to resolve this. It is very urgent reqmt.

      Thanks In Advance

      Regds,
      Srini.

        • 1. Re: java.net.NoRouteToHostException

          See the FAQ topic for help on debugging network problems.

          Regards,
          Adrian

          • 2. Re: java.net.NoRouteToHostException

            Could you give me the link. I could not able to fine. Please help me to resolve this.

            • 3. Re: java.net.NoRouteToHostException

              Could u tell me where can i get a doc to do this. Please help me ..

              Here are the steps i have done.

              1. In Standard Jboss.xml i have added Continaer-Configuraion and Proxy Bindings.. I extened to Http Statless Session Bean


              Pls tell me what i am missng .. I need to finish this task

              Thanks in Advance

              • 4. Re: java.net.NoRouteToHostException
                edelarosa

                Hi srinivaschowdary,

                java.net.NoRouteToHostException would normally be encountered if
                the hostname (and its IP Address, as well) where you are trying to connect
                to is not visible on your network. Try to ping the IP Address of your
                container from the machine where your App is supposed to run.

                Also, if you are actually trying to run your App from different machine, you
                may be having problems with resolving hostnames with your DNS. If that's
                the case, try adding your container's hostname and ip address in the file "host"
                in windows (i'm not particular with W2K but it's location is "\windows\host" in Win98)
                or "/etc/hosts" in linux.

                I would not say that this could exactly solve your problem as there may be some
                others that causes it.

                hth.

                Eduardo Dela Rosa

                • 5. Re: java.net.NoRouteToHostException

                  I am getting ping and telnet is also working. Then i dont think so that problem is with Hosts etc.


                  Could you please help me