Paul,
First of all, it may have sense to add <schema> attribute to your
data-sources.xml file.
At the second hand, try to use
DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DefaultDS");
instead of
DataSource ds = (DataSource) ctx.lookup("jdbc/DefaultDS");
It may help.
Alexey Ryndin.


Reply via email to