通过运行standalone.bat文件启动服务器时,出现以下错误。我搜索了google,发现也许NVidia和Wlidfly同时使用了一个端口。

任何人都可以提供任何帮助,我将不胜感激。

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) MSC000
001: Failed to start service jboss.serverManagement.controller.management.http:
org.jboss.msc.service.StartException in service jboss.serverManagement.controlle
r.management.http: JBAS015811: Failed to start the http-interface service
        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(Undertow
HttpManagementService.java:258) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142) [rt.jar:1.8.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617) [rt.jar:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
Caused by: java.lang.RuntimeException: java.net.BindException: Address already i
n use: bind
        at org.jboss.as.domain.http.server.ManagementHttpServer.start(Management
HttpServer.java:156) [wildfly-domain-http-interface-8.2.1.Final.jar:8.2.1.Final]

        at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(Undertow
HttpManagementService.java:224) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        ... 5 more
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_45]
        at sun.nio.ch.Net.bind(Net.java:437) [rt.jar:1.8.0_45]
        at sun.nio.ch.Net.bind(Net.java:429) [rt.jar:1.8.0_45]
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
223) [rt.jar:1.8.0_45]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.
jar:1.8.0_45]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) [rt.
jar:1.8.0_45]
        at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.ja
va:182)
        at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
 [xnio-api-3.3.0.Final.jar:3.3.0.Final]
        at org.jboss.as.domain.http.server.ManagementHttpServer.start(Management
HttpServer.java:135) [wildfly-domain-http-interface-8.2.1.Final.jar:8.2.1.Final]

最佳答案

问题解决了.....这是NVidia正在使用的端口。所以我禁用了这个过程
谢谢

关于java - 启动Wildfly 8.2.1服务器时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32760059/

10-10 16:46