Error when executing example esql.xml in Cocoon1.8.2 uses postgresql

From: Ivan Manuel Andrade Muñoz <iandrade75(at)hotmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Error when executing example esql.xml in Cocoon1.8.2 uses postgresql
Date: 2002-01-11 21:16:39
Message-ID: F246rZqHXevgD9P8TIy00018299@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello to all, Happy New Year.

The error is:

***********************************************************************************************
-----------------------------------------------------------------------------------------------
Cocoon 1.8.2
-----------------------------------------------------------------------------------------------
Error found handling the request.

java.lang.RuntimeException: Error loading driver: org.gjt.mm.mysql.Driver
at
_usr._local._jakarta._build._tomcat._webapps._cocoon._samples._memoriaII._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.

Copyright (c) 1999-2001 The Apache XML Project.
All rights reserved.
------------------------------------------------------------------------------------------------
************************************************************************************************
I have installed:

Red Hat Linux 7.2
Sun JDK 1.3.1_01
Apache 1.3.19
Tomcat 3.2.3
Cocoon 1.8.2
Postgresql 7.1.3
jdbc7.1-1.2
-------------------------
Note: form postgresql 7.1.3, with the option -- with-java

I have formed my archive:

My file .bash_profile.
------------------------------------------------------------
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

JAKARTA_HOME=/usr/local/jakarta
ANT_HOME=$JAKARTA_HOME/jakarta-ant
PATH=$PATH:$HOME/bin:/usr/java/jdk1.3.1_01/bin:$ANT_HOME/bootstrap/bin:/usr/local/pgsql/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
JAVA_HOME=/usr/java/jdk1.3.1_01
#JAKARTA_HOME=/usr/local/jakarta
#ANT_HOME=$JAKARTA_HOME/jakarta-ant
TOMCAT_HOME=$JAKARTA_HOME/build/tomcat
COCOON_HOME=/usr/local/cocoon1.8.2/
PG=/usr/local/pgsql
PGLIB=$PG/lib
PGDATA=$PG/data
MANPATH=$MANPATH:$PG/man
CLASSPATH=/usr/local/jdbc7.1-1.2.jar
export USERNAME BASH_ENV JAVA_HOME JAKARTA_HOME ANT_HOME TOMCAT_HOME
COCOON_HOME PATH CLASSPATH
-----------------------------------------------------------------------------------------------

That I must make to make run this example?
That I must add or modify to the archives: tomcat.properties or
cocoon.properties. So that the example esql.xml runs.

_________________________________________________________________
MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:
http://photos.latam.msn.com/Support/WorldWide.aspx

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Timo Savola 2002-01-11 21:25:33 Re: ResultSet memory usage
Previous Message Ivan Manuel Andrade Muñoz 2002-01-11 21:16:35 Error when executing example esql.xml in Cocoon1.8.2 uses postgresql