There are 2 ways of changing the default database in JBoss. In the approach that you
followed, you have changed the jndi-name of the default datasource. However, if you want
to lookup the datasource using java:DefaultDS then you will have to follow the Approach#1
mentioned at
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115410#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...