cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skip Carter <s...@taygeta.com>
Subject Re: PostgreSQL won't work - any ideas appreciated
Date Thu, 30 May 2002 15:57:30 GMT


> I would appreciate help on this from anyone - I've tried all suggestions -- error
> messages are below - Please note that I've already tried:
> 
> snip...
> * Add a <driver>org.postgresql.Driver</driver> element into your <jdbc/>
> config (under the <dburl/> element is good).
> ....snip
> 
> as suggested by Berin.
> 
> Once I get this figured out I PROMISE TO CREATE DOCUMENTATION :)

	I have PostgreSQL working just fine here.  I had to add the
        location of postgres.jar to the classpath in catalina.sh
        since it is not normally in the default classpath on my system.

The line in catalina.sh:

CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar

was changed to:

CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:/usr/local/java/postg
resql.jar


   The <dburl> element of cocoon.xconf is just a reference to the database
URL for that particular data source:

   <dburl>jdbc:postgresql://dbserver.example.com:5432/books</dburl>



-- 
 Dr. Everett (Skip) Carter      Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.        INTERNET: skip@taygeta.com
 1340 Munras Ave., Suite 314    WWW: http://www.taygeta.com
 Monterey, CA. 93940            












---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message