Can not create jms-queue in wildfly using jboss-cli

741 Views Asked by At

I started wildfly 24 server with standalone-full.xml profile, when i run following command in jboss-cli to create jms-queue i get following error

[standalone@localhost:9990 /] jms-queue --profile=full add --queue-address=foo --entries=["java:/jms/queue/foo"]
WFLYCTL0175: Resource [
    ("subsystem" => "messaging-activemq"),
    ("server" => "default")
] does not exist; a resource at address [
    ("subsystem" => "messaging-activemq"),
    ("server" => "default"),
    ("jms-queue" => "foo")
] cannot be created until all ancestor resources have been added

What am i missing here? Any reference docs to create the jms server, queues?

Update: I tried to create the server using web console first enter image description here

And it filed with the required capabilities are not available, any documentation refernece that indicates what are the required capabilities i need to added prior configuring JMS

enter image description here

2

There are 2 best solutions below

3
On

Yes don't use the profile parameter which is used in domain mode.

jms-queue add --queue-address=foo --entries=["java:/jms/queue/foo"]

works properly.

0
On

The issue is i was using wildfly "WildFly Preview EE 9.1 Distribution" the correct verirsion is "Jakarta EE 8 Full & Web Distribution"

enter image description here