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 9AEA65E46E1 for ; Sun, 29 Aug 2004 10:19:35 -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 48646-09 for ; Sun, 29 Aug 2004 13:19:34 +0000 (GMT) Received: from frontend1.messagingengine.com (frontend1.messagingengine.com [66.111.4.30]) by svr1.postgresql.org (Postfix) with ESMTP id 567A55E46F4 for ; Sun, 29 Aug 2004 10:19:32 -0300 (ADT) Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by frontend1.messagingengine.com (Postfix) with ESMTP id EA711C150EB for ; Sun, 29 Aug 2004 09:19:32 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id 341E7183EAD; Sun, 29 Aug 2004 09:19:33 -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.5 (F2.72; T1.001; A1.62; B3.01; Q3.01) Subject: JNDI Datasource configuration To: pgsql-jdbc@postgresql.org Date: Sun, 29 Aug 2004 06:19:33 -0700 From: "Mag Gam" X-Sasl-Enc: OPFVkApCMb6DtezK5KtpqA 1093785573 Message-Id: <1093785573.18702.203272602@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/159 X-Sequence-Number: 10881 Do you configure the Datasource thru Tomcat's Administrator Console (http://localhost:8080/admin) or by editing files? I prefer doing it thru the Admin Console. Do you edit any other files? Currently my datasource is set like this in the console: JNDI Name: jdbc/Test Data Source URL: jdbc:postgresql://foo.edu:5432/Test JDBC Driver Class: org.postgresql.Driver Username: User Password: Password Max. Active Connections: 4 Max. Idle Connections: 2 Max. Wait for Connection: 5000 Validation Query: Does all this look right? I been reading online that people have been editing other files... -Thanks!