jboss无法自动创建Queue和Topic 发布时出现错误javax.naming.namenotfoundexception: myqueue not bound
来源:互联网 发布:扭力单位转换软件 编辑:程序博客网 时间:2024/05/18 01:38
\server\default\deploy 下的mail-service.xml文件中加入如下:
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.org.destination:server=Queue,name=myqueue" >
<attribute name="JNDIName" >queue/myqueue</attribute>
<depends optional-attribute-name = "DestinationManager" > jboss.mq:service=DestinationManager </depends>
</mbean>
重启JBoss问题即解决。
topic找不到
0 0
- jboss无法自动创建Queue和Topic 发布时出现错误javax.naming.namenotfoundexception: myqueue not bound
- EJB3.0在发布时出现异常javax.naming.NameNotFoundException: myqueue not bound
- javax.naming.NameNotFoundException: myqueue not bound
- javax.naming.NameNotFoundException: myqueue not bound
- JBOSS的小问题javax.naming.NameNotFoundException: ... not bound
- javax.naming.NameNotFoundException: bookingDatabase not bound
- javax.naming.NameNotFoundException: QueueConnectionFactory not bound
- 关于 javax.naming.NameNotFoundException: UserBean not bound
- javax.naming.NameNotFoundException: mytopic not bound
- javax.naming.NameNotFoundException: QueueConnectionFactory not bound
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context错误待解决中
- javax.naming.NameNotFoundException: Name jdbcis not bound in this Context
- EJB JMS javax.naming.NameNotFoundException: XXX not bound
- javax.naming.NameNotFoundException 错误无法找到数据源的解决方案
- GWT + Spring : javax.naming.NameNotFoundException: Name userDao is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- 解决javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
- 关于读书
- JS特色快排实现
- IOS开发之实现App消息推送(最新)
- 中缀表达式的计算(含出错处理,括号处理)
- jQuery使用get()方法访问经典的DOM
- jboss无法自动创建Queue和Topic 发布时出现错误javax.naming.namenotfoundexception: myqueue not bound
- 你所不知道的事儿--C++类模板的声明和实现不能分离
- Shell运算符:Shell算数运算符、关系运算符、布尔运算符、字符串运算符、文件测试运算符
- mybatis JDBC类型
- c++:把数据输入文件
- C++实现的完整伸展树程序
- 最长递增子序列
- Win7 C盘空间不足怎么扩大(C盘空间越来越小解决方法)[win7 32位亲测]
- 我的懒惰与畏难情绪