pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ml-tb <ml-tb@emagixx.de>
To: pgsql-jdbc@postgresql.org
Subject: Re: Tomcat7 connection pool with postgresql
Date: Fri, 18 Nov 2011 11:06:22 +0100
Message-ID: <201111181106.22719.ml-tb@emagixx.de> (raw)
In-Reply-To: <201111181109.28089.achill@matrix.gatewaynet.com>
References: <201111181109.28089.achill@matrix.gatewaynet.com>

Hi,

I think this is a 100% Tomcat question :-(


Am Freitag, 18. November 2011 schrieb Achilleas Mantzios:
> DataSource ds = (DataSource) ic.lookup
> ("java:/comp/env/jdbc/postgres");

use 'java:comp/env/jdbc/postgres' to get the ressource.

Bye Thomas



view thread (6+ messages)  latest in thread

Message-ID: <201111181106.22719.ml-tb@emagixx.de>
Permalink:  ../201111181106.22719.ml-tb@emagixx.de/
Also on:    postgresql.org/message-id/201111181106.22719.ml-tb@emagixx.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ml-tb@emagixx.de
  Subject: Re: Tomcat7 connection pool with postgresql
  In-Reply-To: <201111181106.22719.ml-tb@emagixx.de>
  References: <201111181109.28089.achill@matrix.gatewaynet.com> <201111181106.22719.ml-tb@emagixx.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox