Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BD987633549 for ; Sat, 5 Jun 2010 20:15:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 89007-10 for ; Sat, 5 Jun 2010 23:15:05 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id CEC6A63264A for ; Sat, 5 Jun 2010 20:15:06 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id o55NF0BE083915 for ; Sat, 5 Jun 2010 20:15:01 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id o55NDRL4079586 for pgsql-jdbc@postgresql.org; Sat, 5 Jun 2010 20:13:27 -0300 (ADT) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: jdbc works in java app, fails in servlet: "no suitable jdbc found" Date: Sat, 05 Jun 2010 19:13:34 -0400 Organization: albasani.net Lines: 45 Message-ID: References: <8CCD02714A2791E-E2C-7A83@webmail-m042.sysops.aol.com> <4C05F409.7060805@postnewspapers.com.au> <8CCD0CAC9B7220C-D8C-4F1C@webmail-d098.sysops.aol.com> <4C071135.3020607@postnewspapers.com.au> <8CCD1C0ABE41498-C10-62A5@webmail-d048.sysops.aol.com> <8CCD29579E64490-22E4-8BA9@webmail-d019.sysops.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@albasani.net X-User-ID: c6QMeZhYE0ehL5dAjGEAulYHCFerO5Wvjn4zSOuCquk= In-Reply-To: <8CCD29579E64490-22E4-8BA9@webmail-d019.sysops.aol.com> Cancel-Lock: sha1:wbI7gbJooSp6vlQbEQEZjkR3iQM= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 X-NNTP-Posting-Host: dksJF4oteBi+98gqMMBmM/+qa0DxnS+qcAltfwRzpB0= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/44 X-Sequence-Number: 20614 philfrei@aol.com wrote: > This is to follow up with the solution I was given at the Eclipse > "Newbies" forum. Thank you Russell Bateman! Please do not top-post. > ... > Do I understand this, or all the suggestions given? Not a whole lot. I'm > guessing that somehow the Apache server is executing code that is not The term "Apache server" usually means the Apache Web Server, httpd, not the Tomcat application server of which you speak here. > referencing the usual Java packages and libraries, and it needs to have > these dependencies addressed. I can't say the location for this is As has been pointed out before in this thread, Tomcat applications (servlets) do reference the usual Java packages and libraries, in the usual places, as defined for the application server and very, very well documented on the Tomcat web site. > exactly intuitive. But then, I am totally new to this and maybe it will > start to make more sense as I get further along. Especially if you read the linked documentation. > One person was asking why I have no WAR file. The code for this project > was started from scratch and a bit of cut-and-paste. It was not created > from a WAR and I have yet to package it into a WAR. Maybe that answers > his question? Nope. You don't start Web projects with a WAR file - a WAR file is the product of the project. When you ask Eclipse to build the project, it's either building a WAR file or the equivalent uncompressed directory structure subsidiary to a build directory. I seem to recall that Eclipse, like NetBeans, builds the WAR file from your project source, but I might be wrong - you might have to explicitly ask Eclipse to do that. Why not take a look at the destination directory, i.e., the distribution directory specified in your Eclipse project, after a build? -- Lew