Jboss的管理控制台中没有显示下的子系统
问题描述:
任何消息选项在Windows OS:Jboss的管理控制台中没有显示下的子系统
我曾尝试使用独立全启动JBoss服务器与出 - * XML文件,在这种情况下,管理控制台中没有显示在任何消息选项。子系统。
答
EAP 7.0服务器将带有嵌入式ActiveMQ服务器。
如果您使用Windows:使用命令提示符启动Jboss Eap 7.0服务器。 使用-full或full-ha.xml文件从CMD启动服务器。
$的jboss-EAP-7.0 \ BIN> standalone.bat -c独立-full.xml
启动服务器后。去浏览器打这个网址。 http://127.0.0.1:9990/
点击设置选项卡上
- >子系统 - > “消息 - ActiveMQ的”
- >默认 - >队列/主题
在这里,您可以添加或删除队列
答
有这样做的方法有两种:
1) command prompt
2) UI
1)Command Prompt:
First start the server
Go to jboss-cli.sh and enter the following commands:
i) connect
ii) jms-queue add --queue-address=test queue --entries=java:/jms/queue/test
iii) You can check the configuration is done in standalone or standalone-full.xml (whatever conf file you are using), go to that file and search for your queue name
2) UI (management console)
1)Start the server and goto localhost:8080 , enter username and pass
2) Goto Configuration - subsystem - messaging and click on add
答
如果使用JNDI“java:/ jms/queue/test”创建队列,则只能为invm连接工厂访问该队列。要远程访问它,即从远程机器访问它,您需要将其标记为导出,如“java:jboss/exported/jms/queue/test”
欢迎来到SO。这个问题的代码问题在哪里? –