I had a similar issue earlier. I think I fixed it by adding the following
section to my sun-ejb-jar
<mdb-resource-adapter>
<resource-adapter-mid>activemqrar</resource-adapter-mid>
<activation-config>
<activation-config-property>
<activation-config-property-name>DestinationType
</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue
</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destination
</activation-config-property-name>
<activation-config-property-value>YOUR_QUEUE_NAME
</activation-config-property-value>
</activation-config-property>
</activation-config>
</mdb-resource-adapter>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Glassfish-ActiveMQ-whoes-tp3214397p3223794.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.