gpt4 book ai didi

ssl - Wildfly 缺少依赖项 jboss.ws.config

转载 作者:太空宇宙 更新时间:2023-11-03 13:25:43 24 4
gpt4 key购买 nike

尝试使用 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,希望它能解决问题,但事实并非如此。我正在使用 full-ha 配置文件。

暗流子系统

      <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>

网络服务子系统

        <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>

最佳答案

经过几天的调试,我似乎已经解决了自己的问题。为我安装 Wildfly 的脚本将 undertow 子系统下服务器元素的名称属性从默认服务器更改为主服务器。将名称改回 default-server 解决了我的问题。

关于ssl - Wildfly 缺少依赖项 jboss.ws.config,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31865533/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com