solved it out!
first of all, I decided to reinstall JBoss, because it kept giving me that error which I
didn't know where was coming from and that didn't make me happy.
So basically the jboss.xml should had
<resource-name>java:savingsExampleDS</resource-name>
instead
<resource-name>savingsExampleDS</resource-name>
that's why it was keeping point to the default.
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoICreateAResourceRef
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017690#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...