The datasource is normaly reachable under 'java:'
You should use lookup("java:jdbc/test").
But I'm not sure whether jdbc/test works, if not try jdbcTest to check it.
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community