5 Replies Latest reply on Sep 9, 2010 8:43 PM by dgolovin

    Problem in configuring JBoss in Helios

    vpachawa

      Hi,

       

      I have JBoss on a system in network.

      I am running Eclipse Helios 32 bit version.

      I have installed JBoss tools from JBoss update site.

       

      The problem is, when I try to configure a new server in eclipse (\\venus\jboss-5.0.0) , I get exception, File not found: jboss-service.xml

      If I map the local server in my C drive, server gets started and running.

       

      What should I do to make sure that the remote JBoss runs in eclipse helios?

       

      Thank you.

       

      Appreciate your help.

       

      Regards,

      Venkata.

       

        • 1. Re: Problem in configuring JBoss in Helios
          maxandersen

          seems like a bug with respect to network paths.

           

          1) Please open a jira with details about OS, jboss tools version and how to reproduce so we can see if it is something we can fix.

           

          2) As a workaround using subst or simply mounting that path as a drive should make it work.

          • 2. Re: Problem in configuring JBoss in Helios
            vpachawa

            Hi Max,

             

            Thank you for the reply appreciate it.

            I tried mounting the remote jboss server as a drive and it works.

             

            But I am not able to access the resource from other computers. I have to use http://localhost/test to see the output.

            What should I do in order to make the resource available to all network computers?

             

            Thank you.

             

            Appreciate your help.

             

            Regards,

            Venkata.

            • 3. Re: Problem in configuring JBoss in Helios
              dgolovin

              That's because you mounted remote jboss server and it is like your local server now. It starts on your local host. By default it uses "-b localhost" option to start and that makes it unreachable from other hosts. What you need to do are:

              1. Go to Servers View and Open Server Configuration Editor (by double clicking/selecting server and pressing F3/selecting Open from context menu)

              2. Change "Host name" field to 0.0.0.0 and save the editor

              3. Restart server

               

              Server will start with "-b 0.0.0.0" and that should make it accessible outside, you just have to provide right resolvable name or IP address along with port number if different from default one. Do not forget to check if your port is open on firewall.

              • 4. Re: Problem in configuring JBoss in Helios
                vpachawa

                Thanks Denis.

                 

                I have one more question:

                How can I do the same thing (making war's accessible from outside) in NetBeans IDE as well?

                 

                Thanks.

                 

                Appreciate it.

                 

                Regards,

                Venkata

                • 5. Re: Problem in configuring JBoss in Helios
                  dgolovin

                  I couldn't find a way to change -b 127.0.0.1 they are using by default. I'm not sure it can be overriden somewhere else in JBossAS configuration files. That's a question for JBoss AS forum.