[jboss-user] [Messaging, JMS & JBossMQ] - JMS Unknown Destination Error

danielkalcevich do-not-reply at jboss.com
Tue Nov 7 11:21:53 EST 2006


I am trying to add a ObjectMessage to my JMS Queue and am getting an unknown destination exception. I am able to connect to the Queue on startup though. Any ideas what could be causing the error? 

I am on JBoss 4.0.5-GA and am using a MessageProducer to attempt and sent the message to the Destination. 

Daniel 

----- 
Error: 

org.quartz.JobExecutionException: javax.jms.JMSException: Unknown Destination Type [See nested exception: javax.jms.JMSE 
xception: Unknown Destination Type] 
at com.firstam.mlsdatachecker.quartz.BatchSchedulerJob.executeInternal(BatchSchedulerJob.java:108) 
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:79) 
at org.quartz.core.JobRunShell.run(JobRunShell.java:203) 
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 
* Nested Exception (Underlying Cause) --------------- 
javax.jms.JMSException: Unknown Destination Type 
at org.exolab.jms.message.MessageHeader.setJMSDestination(MessageHeader.java:194) 
at org.exolab.jms.message.MessageImpl.setJMSDestination(MessageImpl.java:301) 
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:257) 
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:206) 
at com.firstam.mlsdatachecker.jms.JMSConnector.sendObjectMessage(JMSConnector.java:229) 
at com.firstam.mlsdatachecker.quartz.BatchSchedulerJob.executeInternal(BatchSchedulerJob.java:97) 
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:79) 
at org.quartz.core.JobRunShell.run(JobRunShell.java:203) 
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 

------ 
Queue Definition: 

Code: 
<mbean code="org.jboss.mq.server.jmx.Queue"
  | 	 name="jboss.mq.destination:service=Queue,name=BatchProcess">
  |     <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |     <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
  |     <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
  |     <attribute name="SecurityConf">
  |       <security>
  |         <role name="mdc_user" read="true" write="true"/>
  |       </security>
  |     </attribute>
  |   </mbean>	 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983825#3983825

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983825



More information about the jboss-user mailing list