Failed to start http interface service & error starting jboss.cli.sh
chrismcgov Jan 15, 2019 9:30 AMHi everyone,
I'm new to JBoss, so apologies to start with if I use the wrong terminology! I've been setting up JBoss EAP 7.1.0 standalone and had http all working nicely before starting on https.
I was following the steps to set up server security here: Red Hat JBoss Enterprise Application Platform 7.0 How to Configure Server Security - Red Hat Customer Portal
I got midway through, and had removed the management-http configuration in step 2 when I restarted jboss before finishing. I wanted to add the security realm in step 4, but I now can't connect to run jboss-cli.sh. I get this error:
The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: Connection refused
The server log provides me with this error:
^[[0m^[[31m18:37:13,648 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service org.wildfly.management.http.extensible: org.jboss.msc.service.StartException in service org.wildfly.management.http.extensible: WFLYSRV0083: Failed to start the http-interface service
at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:342)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
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)
Caused by: java.lang.IllegalArgumentException: WFLYDMHTTP0012: A secure socket has been defined for the HTTP interface, however the referenced security realm is not supplying a SSLContext.
at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:237)
at org.jboss.as.domain.http.server.ManagementHttpServer.access$2500(ManagementHttpServer.java:108)
at org.jboss.as.domain.http.server.ManagementHttpServer$Builder.build(ManagementHttpServer.java:585)
at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:300)
... 5 more
I'm confused, because I thought I had set up standalone, but the error seems to imply that it's domain related.
Can someone give me some suggestions or steps to correct this so that I can get into the http or https console?
Best wishes,
Chris