users@glassfish.java.net

Re: looking up datasource using java:comp/env/jdbc prefix

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jun 2010 23:03:16 PDT

>Probably, you need to define <resource-ref> in your component's descriptors
>eg: web.xml and sun-web.xml for web component
>http://thestewscope.wordpress.com/2008/01/08/glassfish-v2-ur1-and-mysql-connection-pool/

Thanks! The ref-magic solves it.
[Message sent by forum member 'rojkov']

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