当尝试使用domain.sh启动wildfly版本8.2.0时,我得到了这个例外。
[Server:master-server] 16:44:53,818 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.ws.config is missing [jboss.web.common.server]"]}
[Server:master-server] 16:44:53,947 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
[Server:master-server] WFLYCTL0184: New missing/unsatisfied dependencies:
[Server:master-server] service jboss.web.common.server (missing) dependents: [service jboss.ws.config]
[Server:master-server]
[Server:master-server] 16:44:54,947 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started (with errors) in 15339ms - Started 270 of 484 services (1 services failed or missing dependencies, 279 services are lazy, passive or on-demand)
我正在尝试启用SSL / TLS。我需要添加哪些依赖项以及在哪里?
更新1 : 我已经从8.2.0.Final升级到9.0.1.Final,希望它能解决问题,但事实并非如此。我正在使用全ha简介。
Undertow Subsystem
<subsystem xmlns="urn:jboss:domain:undertow:2.0">
<buffer-cache name="default"/>
<server name="master-server">
<ajp-listener name="ajp" socket-binding="ajp"/>
<http-listener name="default" socket-binding="http" redirect-socket="https"/>
<https-listener name="https" socket-binding="https" security-realm="SSLRealm" enabled-cipher-suites="TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" enabled-protocols="TLSv1.2"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
</server>
<servlet-container name="default">
<jsp-config/>
<websockets/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
<filters>
<response-header name="server-header" header-name="Server" header-value="WildFly/9"/>
<response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
</filters>
</subsystem>
Webservices Subsystem
<subsystem xmlns="urn:jboss:domain:webservices:2.0">
<wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config"/>
<endpoint-config name="Recording-Endpoint-Config">
<pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
<handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
</pre-handler-chain>
</endpoint-config>
<client-config name="Standard-Client-Config"/>
</subsystem>
答案 0 :(得分:1)
似乎经过几天的调试后我已经解决了自己的问题。为我安装Wildfly的脚本将underow子系统下的server元素的name属性从default-server更改为master-server。将名称更改回默认服务器为我解决了我的问题。
答案 1 :(得分:0)
对于可能面临相同问题的其他人:
配置文件standalone.xml可能存在一些问题。
例如,提到的端口号可能不可用。