weblogic9.1怎么配置jms 谢谢了
weblogic9.1怎么配置jms
我配置后运行一个简单的例子说找不到连接工厂
Exception in thread "main" javax.naming.NameNotFoundException: Unable to resolve 'ConnectionFactory'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'ConnectionFactory'. Resolved '']; remaining name 'ConnectionFactory'
为什么呀 ,应该怎么配置 先谢谢
[解决办法]
[Root exception is javax.naming.NameNotFoundException: Unable to resolve 'ConnectionFactory'
配置一个JMS Queue来测试,并配置上JNDI的名字,然后程序里访问这个JNDI,工厂不是你要直接访问的JNDI
看edocs里面的示例吧。