`
q_wong
  • 浏览: 105581 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Failure in jms activation

    博客分类:
  • EJB
阅读更多

  

WARN  [JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@a50549(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@e7f9b3 destination=jms/myQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
javax.naming.NameNotFoundException: jms not bound

 

   導致上述異常的原因是 destination的propertyValue寫錯了

@MessageDriven(activationConfig = {
		@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
		@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/myQueue")})

 

 

分享到:
评论
1 楼 wl182068246 2009-05-19  
楼主 你解决了嘛? 回复下啊

相关推荐

Global site tag (gtag.js) - Google Analytics