JBoss EAP 7 intermittently fails to start with error "java.net.ConnectException: WFLYPRT0023: Could not connect to https-remoting://xx.xx.xx.xx:yy. The connection timed out"

Solution Verified - Updated -

Issue

JBoss EAP server in ServerGroup sometimes fails to start (Domain mode). Sometimes JBoss EAP is not able to start a Server in a ServerGroup. It then tries to connect to the https-remoting instead of the remoting interface. The workaround is to restart the complete JBoss Domain Controller and then the ServerGroup with the Server will start again. Getting the following errors:

    ...
    [Host Controller] 07:45:55,883 INFO  [org.jboss.as.host.controller] (management-handler-thread - 16) WFLYHC0023: Starting server DevTestSrv001
    07:45:55,888 INFO  [org.jboss.as.process.Server:DevTestSrv001.status] (ProcessController-threads - 7) WFLYPC0018: Starting process 'Server:DevTestSrv001'

    [Server:DevTestSrv001] 07:45:57,099 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final-redhat-1
    [Server:DevTestSrv001] 07:45:57,462 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
    [Server:DevTestSrv001] 07:45:57,622 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: JBoss EAP 7.0.5.GA (WildFly Core 2.1.13.Final-redhat-1) starting
    [Server:DevTestSrv001] 07:45:57,762 INFO  [org.xnio] (MSC service thread 1-6) XNIO version 3.4.3.Final-redhat-1
    [Server:DevTestSrv001] 07:45:57,777 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.4.3.Final-redhat-1
    [Server:DevTestSrv001] 07:45:58,004 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 4.0.21.Final-redhat-1
    [Server:DevTestSrv001] 07:46:58,867 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 2) MSC000001: Failed to start service jboss.server-boot-operations: org.jboss.msc.service.StartException in service jboss.server-boot-operations: java.net.ConnectException: WFLYPRT0023: Could not connect to https-remoting://IP_ADDRESS:PORT. The connection timed out
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:72)
    [Server:DevTestSrv001]  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [Server:DevTestSrv001]  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [Server:DevTestSrv001]  at java.lang.Thread.run(Thread.java:748)
    [Server:DevTestSrv001]  at org.jboss.threads.JBossThread.run(JBossThread.java:320)
    [Server:DevTestSrv001] Caused by: java.net.ConnectException: WFLYPRT0023: Could not connect to https-remoting://IP_ADDRESS:PORT. The connection timed out
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:124)
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.HostControllerConnection.openConnection(HostControllerConnection.java:128)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.HostControllerClient.resolveBootUpdates(HostControllerClient.java:104)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:68)
    [Server:DevTestSrv001]  ... 4 more
    [Server:DevTestSrv001] 
    [Server:DevTestSrv001] 07:46:58,868 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: java.util.concurrent.ExecutionException: Operation failed
    [Server:DevTestSrv001]  at org.jboss.as.server.ServerStartTask$2$1.load(ServerStartTask.java:185)
    [Server:DevTestSrv001]  at org.jboss.as.server.ServerService.boot(ServerService.java:362)
    [Server:DevTestSrv001]  at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:301)
    [Server:DevTestSrv001]  at java.lang.Thread.run(Thread.java:748)
    [Server:DevTestSrv001] Caused by: java.util.concurrent.ExecutionException: Operation failed
    [Server:DevTestSrv001]  at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
    [Server:DevTestSrv001]  at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$2.get(ServerBootOperationsService.java:113)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$2.get(ServerBootOperationsService.java:95)
    [Server:DevTestSrv001]  at org.jboss.as.server.ServerStartTask$2$1.load(ServerStartTask.java:182)
    [Server:DevTestSrv001]  ... 3 more
    [Server:DevTestSrv001] Caused by: java.net.ConnectException: WFLYPRT0023: Could not connect to https-remoting://IP_ADDRESS:PORT. The connection timed out
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:124)
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
    [Server:DevTestSrv001]  at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.HostControllerConnection.openConnection(HostControllerConnection.java:128)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.HostControllerClient.resolveBootUpdates(HostControllerClient.java:104)
    [Server:DevTestSrv001]  at org.jboss.as.server.mgmt.domain.ServerBootOperationsService$1.run(ServerBootOperationsService.java:68)
    [Server:DevTestSrv001]  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [Server:DevTestSrv001]  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [Server:DevTestSrv001]  at java.lang.Thread.run(Thread.java:748)
    [Server:DevTestSrv001]  at org.jboss.threads.JBossThread.run(JBossThread.java:320)
    [Server:DevTestSrv001] 
    [Server:DevTestSrv001] 07:46:58,875 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
    [Server:DevTestSrv001] 07:46:58,918 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.0.5.GA (WildFly Core 2.1.13.Final-redhat-1) stopped in 29ms
    07:46:59,263 INFO  [org.jboss.as.process.Server:DevTestSrv001.status] (reaper for Server:DevTestSrv001) WFLYPC0011: Process 'Server:DevTestSrv001' finished with an exit status of 1

    [Host Controller] 07:46:59,264 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server DevTestSrv001
    ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.0 up to 7.0.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content