Re: How to configure JNDI resource

2010-12-14 Thread Mark Thomas
On 13/12/2010 20:40, Christopher Schultz wrote: > Mark, > > On 12/13/2010 3:21 PM, Mark Eggers wrote: >> In order to use the resource, you'll need to tell your application about it >> (resource-ref in web.xml), and create it (Resource in context.xml or >> server.xml). Where you put the creation de

Re: How to configure JNDI resource

2010-12-13 Thread Mark Eggers
ng line in my hibernate.cfg.xml file: java:comp/env/jdbc/jndi-name - Original Message From: Christopher Schultz To: Tomcat Users List Sent: Mon, December 13, 2010 12:40:16 PM Subject: Re: How to configure JNDI resource -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12

Re: How to configure JNDI resource

2010-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/13/2010 3:21 PM, Mark Eggers wrote: > In order to use the resource, you'll need to tell your application about it > (resource-ref in web.xml), and create it (Resource in context.xml or > server.xml). Where you put the creation depends on

Re: How to configure JNDI resource

2010-12-13 Thread Mark Eggers
u put the creation depends on your requirements. . . . . just my two cents. /mde/ - Original Message From: Abid Hussain To: users@tomcat.apache.org Sent: Mon, December 13, 2010 8:18:44 AM Subject: How to configure JNDI resource Hi all, I've a question about how to configure a dat

RE: How to configure JNDI resource

2010-12-13 Thread Dale Ogilvie
:19 a.m. To: users@tomcat.apache.org Subject: How to configure JNDI resource Hi all, I've a question about how to configure a datasource to be accessed via JNDI. I have a datasource configured in server.xml (In Server/GlobalNamingResources/Resource). In the documentation http://tomcat.apach

How to configure JNDI resource

2010-12-13 Thread Abid Hussain
Hi all, I've a question about how to configure a datasource to be accessed via JNDI. I have a datasource configured in server.xml (In Server/GlobalNamingResources/Resource). In the documentation http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_Definitions it says that that a