cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent <>
Subject Re: cocoon postgresql help needed
Date Thu, 30 Nov 2000 21:25:07 GMT
try org.postgresql.Driver instead of postgresql.Driver.
and make sure your CLASSPATH contains the jdbc postgres driver file (.jar file)


At 15:21 30/11/00 -0500, you wrote:
>Please can you help I have got the a postgresql database I would like to
>access. I have managed to
>get cocoon to output html when XML is requested from the browser. I have
>carefully followed the example of "esql.xml" in the samples directory, but
>when I try to access the database I keep getting the following message:
>at Method)
>at java.lang.ClassLoader.loadClass(
>at sun.misc.Launcher$AppClassLoader.loadClass(
>at java.lang.ClassLoader.loadClass(
>at java.lang.ClassLoader.loadClass(
>at java.lang.ClassLoader.loadClassInternal(
>at java.lang.Class.forName0(Native Method)
>at java.lang.Class.forName(
>at org.apache.cocoon.processor.xsp.XSPPage.getDocument(
>at org.apache.cocoon.Engine.handle(
>at org.apache.cocoon.Cocoon.service(
>at javax.servlet.http.HttpServlet.service(
>at org.apache.jserv.JServConnection.processRequest(
>Here is my XML:
><?xml version="1.0"?>
><?cocoon-process type="xsp"?>
> >
><esql:query>select * from groups</esql:query>
><Name><esql:get-string column="Name"/></Name>
><Phone><esql:get-string column="Phone"/></Phone>
><error>no results were found</error>
>(I have not set a password on my database, and have tried it without the
><esql:password> line) but I have a feeling that it not finding the database.
>I have gone through the instalation and added the necessary lines to the
>.properties files.
>Please can you tell me what I am doing wrong.
>FREE! The World's Best Email Address
>Reserve your name now at
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message