Hello objects,
Under sun-web.xml
<resource-ref>
<res-ref-name>jdbc/btdConnDS
<jndi-name>jdbc/btdDS</jndi-n
</resource-ref>
Under web.xml
<resource-ref>
<description>BTD DS (Alias from sun-web)</description>
<res-ref-name>jdbc/btdConnDS
<res-type>javax.sql.DataSour
<res-auth>Container</res-auth
</resource-ref>
In Glassfish I have a connection pool under Admin panel -> Resources -> JDBC -> Connection pools. The connection successfully pings when tested. Then under the JDBC resources under Admin panel -> Resources -> JDBC -> JDBC Resources I've set up a resource jdbc/btdDS (as referenced under sun-web.xml that points to the connection created.
Hope that gives you all the info you need.
J
Main Topics
Browse All Topics





by: objectsPosted on 2009-02-18 at 17:44:38ID: 23677077
whats your data source setup look like?