users@glassfish.java.net

Re: Glassfish v2ur2 doesn't find jdbc driver

From: <glassfish_at_javadesktop.org>
Date: Fri, 17 Jul 2009 17:56:21 PDT

I found the answer to my own question. GlassFish does not support the sql:setDataSource url tag. The Sun Java EE 5 Tutorial covers the sql tag syntax: see
http://java.sun.com/javaee/5/docs/tutorial/doc/bnald.html
But they never mention anything other than <sql:setDataSource dataSource="jdbc/BookDB" />. In particular, there is no mention of the url tag!
[Message sent by forum member 'jerryschreiber' (jerryschreiber)]

http://forums.java.net/jive/thread.jspa?messageID=356370