我正在尝试在WildFly 24上配置一个简单的JMS消息队列。我正在使用standalone-full.xml启动服务器。我看到以下配置:
<subsystem xmlns="urn:jboss:domain:messaging-activemq:13.0">
<remote-connector name="artemis" socket-binding="messaging-activemq">
<param name="use-nio" value="true"/>
<param name="use-nio-global-worker-pool" value="true"/>
</remote-connector>
<pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="artemis" transaction="xa" user="guest" password="guest" />
</subsystem>我跟踪了the documentation,并在standalone-full.xml和standalone-full-ha.xml配置中添加了以下配置:
<subsystem xmlns="urn:jboss:domain:messaging-activemq:13.0">
<server name="default">
<http-connector name="http-connector"
socket-binding="http"
endpoint="http-acceptor" />
<http-connector name="http-connector-throughput"
socket-binding="http"
endpoint="http-acceptor-throughput">
<param name="batch-delay"
value="50"/>
</http-connector>
<in-vm-connector name="in-vm"
server-id="0"/>
<connection-factory name="InVmConnectionFactory"
connectors="in-vm"
entries="java:/ConnectionFactory" />
<pooled-connection-factory name="activemq-ra"
transaction="xa"
connectors="in-vm"
entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>
<jms-queue name="testQueue"
entries="jms/queue/test java:jboss/exported/jms/queue/test" />
</server>
</subsystem>服务器启动失败,出现以下异常:
WFLYCTL0362: Capabilities required by resource '/subsystem=messaging-activemq/server=default' are not available: org.wildfly.security.legacy-security-domain.other; There are no known registration points which can provide this capability.WildFly文档是旧的吗?我是不是漏掉了什么?请告诉我在WildFly 24中配置jms-queue的正确方法
发布于 2021-10-04 06:43:41
默认情况下,如果未定义安全域(已弃用)或Elytron域,则安全域是旧的“other”。您需要将这样的安全域配置到您的安全域之一,或者还原旧的“其他”安全域。
https://stackoverflow.com/questions/69421469
复制相似问题