ArchiveOrangemail archive

JBoss JIRA notifications


jboss-jira.lists.jboss.org
(List home) (Recent threads) (125 other JBoss Community lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • High traffic list: 30+ messages per day
  • This list contains about 175,049 messages, beginning Jul 2006
  • 46 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

[JBoss JIRA] (AS7-4010) Slave HC unable to connect ro remote domain controller

Ad
Dominik Pospisil (JIRA) 1330694809Fri, 02 Mar 2012 13:26:49 +0000 (UTC)
Dominik Pospisil created AS7-4010:
-------------------------------------

             Summary: Slave HC unable to connect ro remote domain controller
                 Key: AS7-4010
                 URL: https://issues.jboss.org/browse/AS7-4010
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.1.Final
            Reporter: Dominik Pospisil
            Assignee: Brian Stansberry


It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
When slave HC is trying to reach remote DC it fails with:

[Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
[Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms

I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
https://docs.jboss.org/author/display/AS71/Se...

1) I have added slave/slavepassword user to ManagementRealm
2) U have updated host-slave.xml to identify as "slave"
3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Dominik Pospisil (JIRA) 1330694919Fri, 02 Mar 2012 13:28:39 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ]

Dominik Pospisil updated AS7-4010:
----------------------------------

    Attachment: mgmt-users.properties
                domain.xml
                host-master.xml
                host-slave.xml> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Brian Stansberry
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Dominik Pospisil (JIRA) 1330695042Fri, 02 Mar 2012 13:30:42 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ]Dominik Pospisil updated AS7-4010:
----------------------------------

    Attachment: host-slave.xml

    
> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Brian Stansberry
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Dominik Pospisil (JIRA) 1330695043Fri, 02 Mar 2012 13:30:43 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ]Dominik Pospisil updated AS7-4010:
----------------------------------

    Attachment:     (was: host-slave.xml)

    
> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Brian Stansberry
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Darran Lofthouse (JIRA) 1330695161Fri, 02 Mar 2012 13:32:41 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ]Darran Lofthouse reassigned AS7-4010:
-------------------------------------

    Assignee: Darran Lofthouse  (was: Brian Stansberry)

    
> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Darran Lofthouse
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Darran Lofthouse (JIRA) 1330697081Fri, 02 Mar 2012 14:04:41 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ]

Darran Lofthouse resolved AS7-4010.
-----------------------------------

    Resolution: Rejected


You have a new line character at the end of your Base64 encoded form of the password, the secret needs to be: -

<secret value="c2xhdmVwYXNzd29yZA=="/>

not

<secret value="c2xhdmVwYXNzd29yZAo="/>> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Darran Lofthouse
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Dominik Pospisil (JIRA) 1330703681Fri, 02 Mar 2012 15:54:41 +0000 (UTC)
[ https://issues.jboss.org/browse/AS7-4010?page... ] 

Dominik Pospisil commented on AS7-4010:---------------------------------------

Thanks for clarification and for creating associated JIRAs. 

Just to note, the new-line character has been appended by "base64" command found in default Fedora 16 installation.
                
> Slave HC unable to connect ro remote domain controller
> ------------------------------------------------------
>
>                 Key: AS7-4010
>                 URL: https://issues.jboss.org/browse/AS7-4010
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.1.Final
>            Reporter: Dominik Pospisil
>            Assignee: Darran Lofthouse
>         Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties
>
>
> It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
> When slave HC is trying to reach remote DC it fails with:
> [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
> [Host Controller] 13:11:55,606 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] 13:11:55,690 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms
> I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
> https://docs.jboss.org/author/display/AS71/Se...
> 1) I have added slave/slavepassword user to ManagementRealm
> 2) U have updated host-slave.xml to identify as "slave"
> 3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdmini...
For more information on JIRA, see: http://www.atlassian.com/software/jira
Home | About | Privacy