From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Mamoon Rashid <mamoon@imtech.res.in>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Failed to load jdbc driver
Date: Thu, 07 Jun 2007 09:41:35 +0100
Message-ID: <4667C4BF.8080908@enterprisedb.com> (raw)
In-Reply-To: <46984.59.160.112.41.1181204514.squirrel@imtech.res.in>
References: <46984.59.160.112.41.1181204514.squirrel@imtech.res.in>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: heikki@enterprisedb.com, mamoon@imtech.res.in
Subject: Re: Failed to load jdbc driver
In-Reply-To: <4667C4BF.8080908@enterprisedb.com>
References: <46984.59.160.112.41.1181204514.squirrel@imtech.res.in> <4667C4BF.8080908@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox