cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Manuel Andrade Muñoz" <iandrad...@hotmail.com>
Subject Error when executing example esql.xml in Cocoon1.8.2
Date Fri, 11 Jan 2002 21:14:03 GMT
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


---------------------------------------------------------------------
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