cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: Cocoon Database samples not working?
Date Sun, 10 Aug 2003 18:50:11 GMT
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


Mime
View raw message