7 Replies Latest reply on Dec 19, 2011 3:23 AM by Wolf-Dieter Fink

    Issue during starting up a cluster in jboss-as-7.1.0.Beta1

    Rayan Hacker Newbie

      Below is the senario

       

      Box-1 with IP 101.101.101.101

       

      host.xml

          <domain-controller>

              <local/>

          </domain-controller>


       

      Box-2 with IP 102.102.102.102

       

      host.xml

          <domain-controller>

              <remote host="101.101.101.101" port="9999"/>

          </domain-controller>

       

      Now when I start my server on box-1 and then try to start the server on Box-2 I get the below error in loop

       

      [Host Controller] 10:18:43,342 ERROR [org.jboss.remoting.remote] (Remoting "endpoint" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: No more authentication mechanisms to try

      [Host Controller] 10:18:43,348 WARN  [org.jboss.as.domain.controller] (Controller Boot Thread) Could not connect to remote domain controller 101.101.101.101:9999

      [Host Controller] 10:18:43,463 ERROR [org.jboss.remoting.remote] (Remoting "endpoint" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: No more authentication mechanisms to try

      [Host Controller] 10:18:43,463 WARN  [org.jboss.as.domain.controller] (Controller Boot Thread) Could not connect to remote domain controller 101.101.101.101:9999

       

      Where do I have to give the username and password of the remote box-1 from the node running on box-2

       

      I have tried using below host.xml file after going through the link but it did not helped  http://community.jboss.org/wiki/ManagementAPISecurityHostToDomainControllerSecurity

       

          <domain-controller>

              <remote host="101.101.101.101" port="9999" userName="host_a" password="my_secret"/>

          </domain-controller>

       

      I have also gone through the bug https://issues.jboss.org/browse/AS7-2426 which does not states how to give the username and password

       

      Am I missing something ?