Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8BBpg711441 for ; Tue, 11 Sep 2001 07:51:42 -0400 (EDT) (envelope-from nickf@ontko.com) Received: from 1cust199.tnt1.richmond.in.da.uu.net ([63.27.103.199] helo=nick) by avocet.mail.pas.earthlink.net with smtp (Exim 3.32 #2) id 15gm4p-0001x5-00 for pgsql-jdbc@postgresql.org; Tue, 11 Sep 2001 04:51:39 -0700 Reply-To: From: "Nick Fankhauser" To: "pgsql-jdbc" Subject: no suitable driver Date: Tue, 11 Sep 2001 06:50:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200109/185 X-Sequence-Number: 1703 Hi- I am getting the error message "no suitable driver" from a Tomcat application that used to work. The change that I made to cause this is that I originally accessed my database on the same server, but decided to change the URL to point my application at a database residing on another server. (Because I killed the DB horribly on the local server... but that's another story, which is told on the pgsql-admin list...) Here's a snip of what my connection looked like when it worked: private static final String driver = "org.postgresql.Driver"; private static final String user= "www-data"; private static final String pass = ""; private static final String dbUrl = "jdbc:postgresql:demo"; . . . try { Class.forName(driver); connection = DriverManager.getConnection(dbUrl, user, pass); Then I changed the dbUrl string to: private static final String dbUrl = "jdbc:postgresql//wetwang.ontko.com/demo"; After recompiling & restarting my tomcat app with *no other changes*, I started getting the "no suitable driver" message. Any thoughts about what I've done wrong here? Thanks! -Nick --------------------------------------------------------------------- Nick Fankhauser nickf@doxpop.com Phone 1.765.965.7363 Fax 1.765.962.9788 doxpop - Court records at your fingertips - http://www.doxpop.com/