cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Paul Adams <>
Subject Problems trying to implement a SourceFactory
Date Sat, 17 Jul 2004 10:59:59 GMT
I have written a Source and a SourceFactory for Berkeley DB XML.

My source factory implements org.apache.excalibur.source.SourceFactory
(just like PartSourceFactory does, so I assumed it would be OK).
And I added the following line to cocoon.xconf:


However, as soon as I try to access Cocoon, I get:

Initialization Problem

Message: Could not find component (key [org.apache.excalibur.source.SourceResolver])

Description: org.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.excalibur.source.SourceResolver])

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet


java.lang.ClassNotFoundException: org.apache.cocoon.source.impl.BerkeleyDBXMLSourceFactory



full exception chain stacktrace

Original Exception: org.apache.avalon.framework.service.ServiceException: Could not access
the Component (key [org.apache.excalibur.source.SourceFactorySelector]) (Key='org.apache.excalibur.source.SourceFactorySelector')
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(

What step have I missed out?
Colin Paul Adams
Preston Lancashire

View raw message