Ivan,

have you downloaded the postgres jdbc driver:

http://jdbc.postgresql.org/download.html

I use cocoon2, so I'm not sure how you include it in the classpath. Just 
locate the section of your configuration file that loads all the jars 
and place the jdbc7.1-1.2.jar in the same location and include it in the 
configuration file...

Stan
 
Ivan Manuel Andrade Muñoz wrote:

>
> I have installed:
> Red Hat 7.2
> Postgresql 7.1.3.
> JDK1.3
> JDBC: /usr/local/jdbc7.1-1.2.jar
> Cocoon1.8.2
> Tomcat3.2.3
>
> Now when I try to access my pages I get the following error message :
>
> When executing the example esql.xml of the cocoon 1.8.2 that is in 
> /samples/sql/.
>
> Cocoon 1.8.2
> ------------------------------------------------------------------------------------ 
>
> Error found handling the request.
> java.lang.RuntimeException: Error loading driver: org.postgresql.Driver
>        at 
> 
>_usr._local._jakarta._build._tomcat._webapps._cocoon._samples._sql._esql.populateDocument(_esql.java:141)
> 
>
>        at 
> org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
>        at 
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527) 
>
>        at org.apache.cocoon.Engine.handle(Engine.java:384)
>        at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>        at 
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>        at org.apache.tomcat.core.Handler.service(Handler.java:287)
>        at 
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>        at 
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) 
>
>        at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>        at 
> 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
> 
>
>        at 
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>        at 
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) 
>
>        at java.lang.Thread.run(Thread.java:484)
>
> ----------------------------------------------------------------------------------- 
>
> Warning: this page has been dynamically generated.
> ----------------------------------------------------------------------------------- 
>
>
> What he/she would have to make to make work this example?
> To add or to modify something in tomcat.properties or 
> cocoon.properties or pg_hba.conf?
>
>> From already thank you for their help.
>
> Iván Andrade M.
> Punta Arenas.
> Chile.
>
>
>
>
> _________________________________________________________________
> Con MSN Hotmail súmese al servicio de correo electrónico más grande 
> del mundo. http://www.hotmail.com/ES
>
>
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>




---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to