Re: Failed to load jdbc driver

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Mamoon Rashid <mamoon(at)imtech(dot)res(dot)in>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Failed to load jdbc driver
Date: 2007-06-07 08:41:35
Message-ID: 4667C4BF.8080908@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Mamoon Rashid wrote:
> Although i am able to execute this from terminal.The following are the
> syntax to load the driver and connect to the database server in JDBC

Looks like a classpath problem. Make sure the driver jar is in the
classpath your servlet engine use. You might want to add a
"e.printStackTrace()" to the catch-blocks as well to get a more detail
error message.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Heikki Linnakangas 2007-06-07 09:50:45 Re: Failed to load jdbc driver
Previous Message Mamoon Rashid 2007-06-07 08:21:54 Failed to load jdbc driver