X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C8385E46EC for ; Fri, 27 Aug 2004 16:53:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35851-03 for ; Fri, 27 Aug 2004 19:53:01 +0000 (GMT) Received: from frontend1.messagingengine.com (frontend1.messagingengine.com [66.111.4.30]) by svr1.postgresql.org (Postfix) with ESMTP id D01215E46E1 for ; Fri, 27 Aug 2004 16:53:00 -0300 (ADT) Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by frontend1.messagingengine.com (Postfix) with ESMTP id 657A8C152AD for ; Fri, 27 Aug 2004 15:52:59 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id B9F7C178B91; Fri, 27 Aug 2004 15:53:00 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) Subject: JNDI Datasource example To: pgsql-jdbc@postgresql.org Date: Fri, 27 Aug 2004 12:53:00 -0700 From: "Mag Gam" X-Sasl-Enc: KR6dUUmW2JGURx3kUjREag 1093636380 Message-Id: <1093636380.30796.203209982@webmail.messagingengine.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200408/150 X-Sequence-Number: 10872 Does anyone have a GOOD example of PostgreSQL with Tomcat using JNDI? I was looking at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html but the code they provided really did not help. If someone has some code please post it. Thanks in advance!