4 Replies Latest reply on Sep 2, 2010 2:38 AM by mavihemi

    Jboss deploying

    mavihemi

      Hi,

       

        I've installed a JBoss 5.1.0 GA server in a development machine and I am deploying my applications using Administration console (http://myserver:8080/admin-console/) from the same machine. I can do deploy and undeploy applications.

        When I go to another machine I try to access in the same way but I can't. The access validation page redirects me to the "localhost" machine where the server is not installed.

         My server is running with the -b 0.0.0.0 option but I can not connect to the admin console from another machine.

       

         I can access to the "JMX Console" and "JBoss Web Console" but I find the way to deploy applications from there.

       

         can anybody help my to deploy applications from a machine where it is not installed the JBoss AS?

       

      Thanks a lot.

        • 1. Re: Jboss deploying
          peterj

          mavihemi, welcome to the forums!

           

          What OS are you using on the remote machine? If Linux, you need to double check the /etc/hosts file, most likely it is misconfigured. Even in Windows, an improperly set hosts file can cause similar strange behavior.

           

          BTW, I just now tried out your scenario and had no problem successfully logging into admin console remotely and deploying an app.

          • 2. Re: Jboss deploying
            mavihemi

            Hi, thanks

             

              I'm using Windows XP OS in both machines and the IP address to access the machines.

            The hosts files has the same contents "127.0.0.1 localhost", is it ok or should be different?

             

            Thanks.

            • 3. Re: Jboss deploying
              jaikiran

              I think you are running into this bug https://jira.jboss.org/browse/EMBJOPR-218. JBoss AS 5.1.0 ships with 1.2.0 of Embedded Jopr (which has this bug).

               

              I remember there was a similar thread in one of the forums here, but I'm not able to find that one right now due to the horrible and slow search in these forums.

              • 4. Re: Jboss deploying
                mavihemi

                Hi, thanks

                 

                  I'll try to install an upper version.