Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

In response to


pgsql-jdbc by date

Next:From: Heikki LinnakangasDate: 2007-06-07 09:50:45
Subject: Re: Failed to load jdbc driver
Previous:From: Mamoon RashidDate: 2007-06-07 08:21:54
Subject: Failed to load jdbc driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group