You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <dh...@csir.co.za> on 2003/08/10 17:35:52 UTC
Cocoon Database samples not working?
Hi
I am trying to get Cocoon talking to a database on a new installation.
At the moment, I cannot even get the Cocoon hsql database
samples to work.
The error message is:
An error occurred
The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:
Exception in ServerPagesGenerator.generate()
More precisely:
org.apache.cocoon.ProcessingException:
Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException:
Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException:
No valid JdbcConnection class available
I am running:
JDK1.4.0
Cocoon 2.0.4
Tomcat 4.0.4
Windows2000
I have seen previous posts on this topic on the mailing list, but no
definitive solutions.
Surely the Cocoon samples, at least, should work (as they seemed to do
on the JDK1.3 version of Cocoon)?!
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.
Re: Cocoon Database samples not working?
Posted by Geoff Howard <co...@leverageweb.com>.
Derek Hohls wrote:
> Hi
>
> I am trying to get Cocoon talking to a database on a new installation.
> At the moment, I cannot even get the Cocoon hsql database
> samples to work.
>
> The error message is:
>
>
> An error occurred
> The org.apache.cocoon.www.sitemap_xmap notifies that
> org.apache.cocoon.ProcessingException says:
>
> Exception in ServerPagesGenerator.generate()
>
> More precisely:
>
> org.apache.cocoon.ProcessingException:
> Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException:
> Could not get the datasource
> org.apache.avalon.excalibur.datasource.NoValidConnectionException:
> No valid JdbcConnection class available
>
>
> I am running:
>
> JDK1.4.0
> Cocoon 2.0.4
> Tomcat 4.0.4
> Windows2000
>
> I have seen previous posts on this topic on the mailing list, but no
> definitive solutions.
>
> Surely the Cocoon samples, at least, should work (as they seemed to do
> on the JDK1.3 version of Cocoon)?!
Make sure that the version of cocoon you are running is build with JDK
1.4 if you are running on JDK 1.4. There was (no longer true in 2.1) a
jvm version dependency because of changes in JDBC between the versions.
HTH,
Geoff Howard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org