Netbeans does not know that Wildfly already started

前端 未结 2 1165
既然无缘
既然无缘 2021-01-16 06:24

I´m using netbeans 11.2 with wildfly 15 application server. When i try to run my test applicaiton, after deployment I get this error:

WildFly Application Ser         


        
相关标签:
2条回答
  • 2021-01-16 06:58

    The key to this issue was adding native-management interface to wildfly configuration file like this:

        <management-interfaces>
            <native-interface security-realm="ManagementRealm">
                <socket-binding native="management-native"/>
            </native-interface>
            <http-interface security-realm="ManagementRealm">
                <http-upgrade enabled="true"/>
                <socket-binding http="management-http"/>
            </http-interface>
        </management-interfaces>
    

    and than

    <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
    
    0 讨论(0)
  • 2021-01-16 07:20

    Use below command from command prompt: It will kill port 8080

    for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a

    0 讨论(0)
提交回复
热议问题