You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lars Schmidt-Thieme <lb...@rz.uni-karlsruhe.de> on 2002/03/27 10:34:59 UTC
database sample not working with cocoon 2.0.2 / jdk 1.4
Hi,
I have some troubles with the database sample in cocoon 2.0.2
running under tomcat 4.0.4-b2 and jdk 1.4.0-final on a SuSE 7.3
linux box. I built cocoon with jdk1.4 via
build.sh -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp
(I also tried
build.sh -Dinclude.webapp.libs=yes webapp
without scratchpad but got the same results as described below.)
1. the class EsqlConnection does not compile as described in some
mails from other users (mostly on windows 2000). I have several
other jdks installed besides 1.4, but none of them seems to be in the
path.
Removing the comments as described in
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg10050.html
compiles the class (dont know, if it is working, though).
2. The sample dynamic content/simple sql is not working: accessing this
sample throws a timeout after a while. cocoon sitemap log has
DEBUG (2002-03-27) 10:19.37:715
[sitemap.transformer.sql](/cocoon/sql/sql-page)
HttpProcessor[8080][4]/SQLTransformer$Query: SQLTransformer$Query: could not
acquire a Connection -- waiting 5000 ms to try again.
I used the default settings from the src-tar.gz distribution. I checked
these settings with a simple standalone program - they are
correct and after the start of tomcat the hsql-server is up and running.
Any hints what else I might try?
Thanks a lot in advance
- Lars
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>