From: Ramachandra K.B.S <ram@meritsystems.com>
To: 'Peter T Mount' <peter@retep.org.uk>
To: Adam Haberlach <adam@newsnipple.com>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: RE: [JDBC] Re: First-time JDBC setup with Jakarta! Whee!
Date: Tue, 20 Feb 2001 14:54:22 +0530
Message-ID: <D146AB5F4EE5D311B3E1004005726BB51B6651@mainserver> (raw)
Hi,
We have JDBC driver working with Tomcat, by simply copying the
postgresql.jar file into the tomcat/lib directory, and restarting
tomcat.
No changes to server.xml are required for this.
Hope this helps.
Ram
-----Original Message-----
From: Peter T Mount [mailto:peter@retep.org.uk]
Sent: Tuesday, February 20, 2001 2:19 PM
To: Adam Haberlach
Cc: pgsql-interfaces@postgresql.org; pgsql-jdbc@postgresql.org
Subject: [JDBC] Re: [INTERFACES] First-time JDBC setup with Jakarta!
Whee!
Quoting Adam Haberlach <adam@newsnipple.com>:
> I could have sworn that we were splitting this list up,
> to move the PHP and JDBC stuff somewhere else, but I can't
> seem to find any reference to that on the web pages, so here
> goes.
pgsql-jdbc@postgresql.org is the list. I'm cc'ing that list now.
I keep meaning to post an email about the new list to interfaces,
general & sql
(as that's where JDBC stuff is still being posted).
> I've installed Jakarta Tomcat, and have it running, and
> now I'm trying to get the postgres jdbc drivers installed.
> I think I did it right (put the files int he right place,
> cast the magic server.xml incantation, and now when I start,
> I get:
>
> FATAL: configuration error
> java.lang.NoSuchMethodException: setContextManager
[snip]
> Is it not finding my file, do I need better magic in the conf
file,
> or what?
Not sure. I've got tomcat installed at home, but that's about it. The
next step
is to add the jdbc driver.
PS: I'm writing a couple of tutorials on getting the JDBC driver to work
with
both Tomcat & Jboss (an OS EJB container, with some links to tomcat), so
hopefully, time willing by the weekend I may get the same exception as
you ;-)
Peter
--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
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-interfaces@postgresql.org
Cc: ram@meritsystems.com, peter@retep.org.uk, adam@newsnipple.com, pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Re: First-time JDBC setup with Jakarta! Whee!
In-Reply-To: <D146AB5F4EE5D311B3E1004005726BB51B6651@mainserver>
References: <D146AB5F4EE5D311B3E1004005726BB51B6651@mainserver>
* 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