at last count there are 16 different supported drivers for Postgres
http://jdbc.postgresql.org/download.html#current

which driver are you implementing?

BTW here the url should be
jdbc:postgresql://host:port/database

contents of %POSTGRES_HOME%/data/postgresql.conf:

listen_addresses = 'localhost'        # what IP address(es) to listen on; 
                    # comma-separated list of addresses;
                    # defaults to 'localhost', '*' = all
                    # (change requires restart)
port = 5432
assuming the host and port are identical the URL should be..
jdbc:postgresql://localhost:5432/databaseask your DBA what the name of the DB 
is..
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Wed, 4 Mar 2009 10:56:52 -0500
> From: d...@cornell.edu
> To: users@tomcat.apache.org
> Subject: Re: FW: Cannot create JDBC driver of class '' for connect URL 'null'
> 
> Stanley Wong wrote:
> > Thanks, David. 
> >
> > Unfortunately, it still fails. 
> >
> > Does it have other tools that we may use to get more clues? 
> >
> > Thank you,
> >
> > Stanley 
> >
> >   
> Unfortunately I'm out of ideas at this point.  Everything in front of me
> suggests this should be working at this point.  If I were you, I would
> go through the JNDI howto on tomcat's website step by step in a parallel
> webapp and see if you can get the examples there to work.  After getting
> that to work, compare what you have with that to see where the
> differences are.  I've done this setup many, many times and have
> consistently been able to get it working almost from the first try.
> 
> One last thought -- looking back through the thread, I can't see where
> this might have been mentioned, but is this tomcat install a genuine
> tomcat from tomcat.apache.org or is this a third party repackage?  If
> it's a third party repackage (possibly from a linux vendor), try your
> webapp with a genuine tomcat downloaded from tomcat.apache.org.  If that
> fixes anything, you might want to either replace the third party package
> or contact people maintaining your linux distribution for help.
> 
> --David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Windows Liveā„¢ Groups: Create an online spot for your favorite groups to meet.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009

Reply via email to