Here is a recent topic that contains working code:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150529 (see my last post
at the end of the topic)
Note that the resource-ref stanza was not required in web.xml.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210744#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...