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
[EMAIL PROTECTED]
...
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to