Never mind. I found the cause.

 

I rebuilt the cocoon sources to include lucene block and didn’t copy to my app all the jars, particularly cocoon-2.1.7.jar which contains the cocoon.roles file. In this file are declared the lucene components.

 

Dan