cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanne Moa <hanne....@uninett.no>
Subject Cocoon 2.2: Error in database migration guide
Date Tue, 16 Oct 2007 09:27:38 GMT
Following the database migration guide at
<http://cocoon.apache.org/2.2/blocks/databases/1.0/1409_1_1.html> (after
having done the "Your first Cocoon application using Maven 2" followed
by "Your first XML pipeline (publishing)" leads to the error

java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@17574b9
...
Caused by:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
find class
[org.apache.cocoon.databases.bridge.spring.avalon.SpringToAvalonDataSourceWrapper]
for bean with name 'javax.sql.DataSource/personnel' defined in URL
[file:/home/SVN/tjenesteportal/tjp/target/classes/META-INF/cocoon/spring/datasources.xml];
nested exception is java.lang.ClassNotFoundException:
org.apache.cocoon.databases.bridge.spring.avalon.SpringToAvalonDataSourceWrapper

Furthermore, jetty responds to all queries with 503 Service unavailable
after that.

So I guess the migration guide is missing a step? Where and how do I add
org.apache.cocoon.databases.bridge.spring.avalon.SpringToAvalonDataSourceWrapper?

Is there some other way to add a datasource than via the bridge above?


HM

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message