Re: PostgreSQL access via JNDI

2006-04-06 Thread Mark Slater
ResourceLink is for linking in Global resources (DataSources, Environment Entries, etc) that are defined in the Server.xml file. -Original Message- From: Mark Slater [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 1:40 PM To: Tomcat Users List Subject: Re: PostgreSQL access v

RE: PostgreSQL access via JNDI

2006-04-05 Thread Farrow, Marc
: PostgreSQL access via JNDI My mis-capitalization of DataSource was the main problem. Also, I was trying to use Resource and ResourceLink in META-INF/context.xml; ResourceLink is apparently not needed if the Resource is local to the webapp. Thank you both for your help! Mark On Apr 5, 2006, at

Re: PostgreSQL access via JNDI

2006-04-05 Thread Mark Slater
My mis-capitalization of DataSource was the main problem. Also, I was trying to use Resource and ResourceLink in META-INF/context.xml; ResourceLink is apparently not needed if the Resource is local to the webapp. Thank you both for your help! Mark On Apr 5, 2006, at 5:11 AM, Hadraba Petr

Re: PostgreSQL access via JNDI

2006-04-05 Thread Hadraba Petr
Hi, I'm successfuly using PostgreSQL 8.1.3 with Tomcat 5.5.15 with JDBC drivers 405 (build)... I have the definition in the META-INF/context.xml and in the WEB-INF/web.xml I have the element. The I'm using for the ActiveMQ client connection. Also the JDBC drivers are placed in the common/lib

Re: PostgreSQL access via JNDI

2006-04-04 Thread Amila Suriarachchi
On 4/5/06, Mark Slater <[EMAIL PROTECTED]> wrote: > > > > I've been trying to get PostgreSQL set up to be accessed through JNDI > > in Tomcat 5.5.x. I found the docs page describing it, "jndi- > > datasource-examples-howto.html", and followed the example there, but > > it still doesn't work. I'm tr

Re: PostgreSQL access via JNDI

2006-04-04 Thread Amila Suriarachchi
On 4/5/06, Mark Slater <[EMAIL PROTECTED]> wrote: > > I've been trying to get PostgreSQL set up to be accessed through JNDI > in Tomcat 5.5.x. I found the docs page describing it, "jndi- > datasource-examples-howto.html", and followed the example there, but > it still doesn't work. I'm trying to pr

PostgreSQL access via JNDI

2006-04-04 Thread Mark Slater
I've been trying to get PostgreSQL set up to be accessed through JNDI in Tomcat 5.5.x. I found the docs page describing it, "jndi- datasource-examples-howto.html", and followed the example there, but it still doesn't work. I'm trying to provide access to PostgreSQL for use by both JDO and JC