I think I found my mistake. The Resource annotation is just a replacement for the web.xml reource-ref entry. I still need to obtain the instance from the initial context.
Now it works in Tomcat. I still need to test Websphere deployment, whether during deployment the resource mapping will be obtained from the annotation instead from the web.xml. Michael -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Using-JMS-with-Resource-annotation-tp4676042p4676060.html Sent from the TomEE Users mailing list archive at Nabble.com.
