2 Replies Latest reply on Jul 25, 2007 1:22 PM by sc0tt

    mutiple jboss instances, multiple ip addresses, multiple dns

    sc0tt

      Hi,
      I have setup two separate jboss instances, as per the instructions here:-
      http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine

      Both instances startup OK, and I can see that the services are listening on separate ip addresses(port numbers remain standard). The server.log reports everything as normal(both of them)

      When I connect via https, I get the certificate, and then nothing... I tracked this issue down to a repsonse from the tomcat server(we are going direct to the tomcat embeded in jboss), this response is as follows:-

      HTTP/1.x 400 No Host matches server name myservler1.mydomain.com

      Server: Apache-Coyote/1.1

      Transfer-Encoding: chunked

      Date: Wed, 25 Jul 2007 12:18:52 GMT

      Connection: close

      I have checked host name resolution, both on the server and on the local client. Everthing resolves. I have googled around a bit and seen references to appbase, however this seems relevant only to tomcat, and appears to be ignored by the jboss 4.04GA that I am using.

      I beleive there is a setting I am missing , just not sure what it is or where.....

      any suggestions appreciated......


      Sc0tt...




        • 1. Re: mutiple jboss instances, multiple ip addresses, multiple
          peterj

          Are you running on Linux? If so, please post the /etc/hosts file, most likely the server is not correctly identified.

          • 2. FIxed --- Re: mutiple jboss instances, multiple ip addresses
            sc0tt

            Hi,
            just a quick update. It works exactly as per the documentation. I used innovation and some dodgy logic to replace the occurance of "localhost" in the server.xml file with my host name "myserver.mydomain.com". This is just wrong, probably illogical and does not compute.

            Effectively, all I had to do was copy the default folder to node1, then change the start script to say:-
            run.sh -c ndoe1 -b myserver.mydomain.com

            thanks it. nothing more. No wonder I seen some posts saying this takes 5 minutes....5 minutes unless you are having a bad day......

            thanks

            Sc0tt...