Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24906

No parameter to set timeout for the connection from host controller to domain controller

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Management
    • False
    • None
    • False

    Description

      I tried to connect HC to DC on remote virtual Windows machines and saw "The connection timed out". Full stacktrace is bellow.

      Based on this article, "jboss.host.domain.connection.timeout" parameter should be used, but it doesn't help. The timeout value is defined here and AFAIC there is no way how to increase it. If I build WF-Core with updated default value, then HC is able to connect to DC properly. Is it possible that "jboss.host.domain.connection.timeout" parameter was removed accidentally?
       
      Timeout exception:

       

      [Host Controller] Caused by: java.net.ConnectException: WFLYPRT0023: Could not connect to remote://192.168.0.1:9999. The connection timed out
      [Host Controller]     at org.jboss.as.protocol@21.0.0.Beta1-SNAPSHOT//org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:132)
      [Host Controller]     at org.jboss.as.host-controller@21.0.0.Beta1-SNAPSHOT//org.jboss.as.host.controller.RemoteDomainConnection.lambda$openConnection$0(RemoteDomainConnection.java:211)
      [Host Controller]     at org.wildfly.common@1.6.0.Final//org.wildfly.common.context.Contextual.runExceptionAction(Contextual.java:108)
      [Host Controller]     at org.wildfly.security.elytron-base@2.1.0.Final//org.wildfly.security.auth.client.AuthenticationContext.run(AuthenticationContext.java:280)
      [Host Controller]     at org.jboss.as.host-controller@21.0.0.Beta1-SNAPSHOT//org.jboss.as.host.controller.RemoteDomainConnection.openConnection(RemoteDomainConnection.java:211)
      [Host Controller]     at org.jboss.as.host-controller@21.0.0.Beta1-SNAPSHOT//org.jboss.as.host.controller.RemoteDomainConnection$InitialConnectTask.connect(RemoteDomainConnection.java:582)
      [Host Controller]     at org.jboss.as.protocol@21.0.0.Beta1-SNAPSHOT//org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
      [Host Controller]     at org.jboss.as.host-controller@21.0.0.Beta1-SNAPSHOT//org.jboss.as.host.controller.RemoteDomainConnection.connect(RemoteDomainConnection.java:141)
      [Host Controller]     at org.jboss.as.host-controller@21.0.0.Beta1-SNAPSHOT//org.jboss.as.host.controller.RemoteDomainConnectionService.register(RemoteDomainConnectionService.java:282)
      [Host Controller]     ... 4 more
       

      Attachments

        Activity

          People

            mpetrov@redhat.com Michal Petrov
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: