Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6F3D7BBDD49 for ; Fri, 18 Nov 2011 06:06:38 -0400 (AST) Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RRLLB-0001SA-EV for pgsql-jdbc@postgresql.org; Fri, 18 Nov 2011 10:06:37 +0000 Received: from tbz-emx-mobil.localnet ([85.183.3.43]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M8KKw-1QecPC1nXO-00wC3Z; Fri, 18 Nov 2011 11:06:24 +0100 From: "ml-tb" Reply-To: 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 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) References: <201111181109.28089.achill@matrix.gatewaynet.com> In-Reply-To: <201111181109.28089.achill@matrix.gatewaynet.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111181106.22719.ml-tb@emagixx.de> X-Provags-ID: V02:K0:oGTv49TiBwPztGq0LMDfKQ/Q6NcqeTGweTFyxz5CWSX S4iRFflFr9jMoqB2icfNC2LheaNjqyD+WO49XGrqRzUCL+QgmD 3uk7l2c8zN/VzNDCaTfDL9GnmpaXMJZqcw+6xCBd9Jl6SC7wkG UsiRK4v3Iysc4LcwdDZQs7aPl1XR47+kMWZLf/AOCBhwfRF6bx DvNGJFYoEmCsHN4umHHqVVWhoigD9dDZ0J0Lq/pplsoY69w1DS o5AkteAMh9xaopk+IeqyuP/m+nZ2P4Fu5ESU1D2t+5JGhQwiCg 2ZQK57JNkswi/GQwYB4Fa+WuSLmnB1RqdYoicgLDQVkPKMrFx9 KgSFz9CzfTjnc7g/Um4A7mLpmfBeSPrgOknuXrDy6 X-Archive-Number: 201111/48 X-Sequence-Number: 22383 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