3 Replies Latest reply on Feb 27, 2014 4:17 AM by Riccardo Benvenuti

    Problem configuring JBoss EAP 6.2 Domain

    Riccardo Benvenuti Newbie

      I'm trying to configure JBoss EAP 6.2 in domain mode but I have a problem. I was able to configure correctly JBoss AS 7.1.1 but following the same steps with EAP when I start the slave I get an error saying that it can't connect to the master due to an authentication failure:



        JBoss Bootstrap Environment

        JBOSS_HOME: /opt/jboss7/jboss-eap-6.2

        JAVA: /usr/java/jdk1.7.0_51/bin/java

        JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true


      16:45:58,529 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2

      16:45:58,746 INFO [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'

      [Host Controller] 16:45:59,735 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2

      [Host Controller] 16:45:59,913 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1

      [Host Controller] 16:46:00,023 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015899: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) starting

      [Host Controller] 16:46:00,991 INFO [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.7.GA-redhat-1

      [Host Controller] 16:46:01,010 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.7.GA-redhat-1

      [Host Controller] 16:46:01,033 INFO [org.jboss.as] (Controller Boot Thread) JBAS010902: Creating http management service using network interface (management) port (9990) securePort (-1)

      [Host Controller] 16:46:01,045 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.18.GA-redhat-1

      [Host Controller] 16:46:01,173 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on

      [Host Controller] 16:46:01,857 ERROR [org.jboss.remoting.remote.connection] (Remoting "testjb7s1:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed

      [Host Controller] 16:46:01,869 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.

      [Host Controller] 16:46:01,891 INFO [org.jboss.as.controller] (MSC service thread 1-2) JBAS014774: Service status report

      [Host Controller] JBAS014775: New missing/unsatisfied dependencies:

      [Host Controller] service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (missing) dependents: [service jboss.server.controller.management.security_realm.ApplicationRealm]

      [Host Controller]

      [Host Controller] 16:46:01,897 INFO [org.jboss.as.controller] (MSC service thread 1-1) JBAS014774: Service status report

      [Host Controller] JBAS014775: New missing/unsatisfied dependencies:

      [Host Controller] service jboss.server.controller.management.security_realm.ManagementRealm (missing) dependents: [service jboss.remoting.authentication_provider.management]

      [Host Controller]

      [Host Controller] 16:46:01,922 INFO [org.jboss.as.controller] (MSC service thread 1-2) JBAS014774: Service status report

      [Host Controller] JBAS014776: Newly corrected services:

      [Host Controller] service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (no longer required)

      [Host Controller] service jboss.server.controller.management.security_realm.ManagementRealm (no longer required)

      [Host Controller]

      [Host Controller] 16:46:01,927 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) stopped in 28ms

      16:46:02,245 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 99

      16:46:02,247 INFO [org.jboss.as.process] (Thread-8) JBAS012016: Shutting down process controller

      16:46:02,247 INFO [org.jboss.as.process] (Thread-8) JBAS012015: All processes finished; exiting


      Of course I have created the required users with add-user.sh, configured host.xml in slave with the secret value shown by that script and with the correct address to point to the master. Servers are olso on the same network and no firewall is present. I followed the guide AS7 Cluster Howto - JBoss AS 7.1 - Project Documentation Editor and also https://access.redhat.com/site/solutions/218053 but while on JBoss as 7.1.1 everything works correctly with AEP I've got this issue. On the master node log no error is present.

      What I'm doing wrong?

      Any help is appreciated.


      Thank you.