Don't do
<use-java-context>false</use-java-context>
This doesn't have anything to do with Servlets, but rather, accessing the DS outside
of the container. It's an experimental feature of JBoss, at best and something we
encournage people NOT to use.
This is why you are having a problem BTW.
Remove that tag, and your code should work fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961651#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...