Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1206

Authentication failure of EAP instance connecting to host controller with different file.encoding

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Migrated to another ITS
    • Affects Version/s: EAP 6.0.0
    • Fix Version/s: EAP 6.1.0
    • Component/s: Security
    • Labels:

      Description

      If a server group is updated to say the following: -

      <server-group name="main-server-group" profile="full">
      <jvm name="default">
      <heap size="64m" max-size="512m"/>
      </jvm>
      <socket-binding-group ref="full-sockets"/>
      <system-properties>
      <property name="file.encoding" value="ISO8859_1" boot-time="true"/>
      </system-properties>
      </server-group>

      Then when server within this server group attempt to connect back to their host controller the following is logged: -

      [Server:server-two] 10:02:07,760 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.host.controller.client: org.jboss.msc.service.StartException in service jboss.host.controller.client: java.net.ConnectException: JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed
      [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:161) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
      [Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
      [Server:server-two] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
      [Server:server-two] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
      [Server:server-two] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
      [Server:server-two] Caused by: java.net.ConnectException: JBAS012174: Could not connect to remote://127.0.0.1:9999. The connection failed
      [Server:server-two] at org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:154) [jboss-as-protocol-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.openChannel(HostControllerServerConnection.java:158) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerConnection.connect(HostControllerServerConnection.java:86) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Server:server-two] at org.jboss.as.server.mgmt.domain.HostControllerServerClient.start(HostControllerServerClient.java:135) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Server:server-two] ... 5 more
      [Server:server-two] Caused by: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smcgowan@redhat.com Shelly McGowan
              Reporter:
              bkundal Bharti Kundal (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: