Getting WFLYHC0027: Unregistering server and WFLYHC0008: Failed to start server when starting JBoss EAP
Issue
JBoss EAP
server is not registering or failed to start the server.- Process
Server:XXX
finished with an exit status of 1. - Unable to assign custom ports as the system properties are not being picked up either at server-group
- Failed to send data bytes to process 'Server:XXX' input stream: java.io.IOException: Stream closed.
ERROR [org.jboss.as.host.controller] (Host Controller Service Threads - 126) WFLYHC0008: Failed to start server (XXXX)
WFLYPC0018: Starting process 'XXXX'
WFLYPC0011: Process 'Server:XXXX' finished with an exit status of 1
ERROR [org.jboss.as.process.Server:XXXX.status] (ProcessController-threads
WFLYPC0007: Failed to send data bytes to process 'Server:XXXX' input stream: java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
WFLYHC0027: Unregistering server XXXX
- An JBoss EAP instance is not starting up and showing the following error in
process-controller.log
file.
2021-09-08 12:26:53,982 ERROR [org.jboss.as.process.Server:XXXX.status] (ProcessController-threads - 7) WFLYPC0007: Failed to send data bytes to process 'Server:XXXX' input stream: java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
at java.io.OutputStream.write(OutputStream.java:116)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:140)
at org.jboss.as.process.stdin.BaseNCodecOutputStream.flush(BaseNCodecOutputStream.java:125)
at org.jboss.as.process.stdin.BaseNCodecOutputStream.flush(BaseNCodecOutputStream.java:137)
at org.jboss.as.process.stdin.Base64OutputStream.flush(Base64OutputStream.java:44)
at org.jboss.as.process.stdin.BaseNCodecOutputStream.close(BaseNCodecOutputStream.java:154)
at org.jboss.as.process.stdin.Base64OutputStream.close(Base64OutputStream.java:44)
at org.jboss.as.process.ManagedProcess.sendStdin(ManagedProcess.java:156)
at org.jboss.as.process.ProcessController.sendStdin(ProcessController.java:208)
at org.jboss.as.process.ProcessControllerServerHandler$InitMessageHandler$ConnectedMessageHandler.handleMessage(ProcessControllerServerHandler.java:140)
at org.jboss.as.process.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:284)
at org.jboss.as.process.protocol.ConnectionImpl$2$1.run(ConnectionImpl.java:238)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
2021-09-08 12:26:53,983 ERROR [org.jboss.as.protocol.connection] (ProcessController-threads - 7) WFLYPC0043: Failed to read a message: java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.