cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaël Oberson <>
Subject producer
Date Tue, 17 Apr 2001 15:49:20 GMT


I'm a swiss computer scientist and computer science engineering student, I',
new to this list,  and I need your help.

I've written a cocoon producer that generates xml from a mySql database. I
work with Forte for java, I don't have compilation problems(JDK 1.3), All's

The problem is that cocoon gives me an exception:

Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating
outlife.dbaccess.DBRead.SearchEngine: class is not found
	at org.apache.cocoon.framework.Manager.create(
	at org.apache.cocoon.framework.Router.init(
	at org.apache.cocoon.producer.ProducerFactory.init(

In the, I have the following line:
producer.type.xmltest = outlife.dbaccess.DBRead.SearchEngine

and I tried this http request:

I have a lot of servlets located in a non-compressed (non-jar)package
architecture, with the root element called "outlife".

These packages, the and the cocoon.jar file are in the WEB-INF/classes
directory of tomcat.

Note: all my servlets are working fine.(and faster as all I've ever seen...)
Note2: cocoon works fine with the static xml files and the Cocoon.xml status
page, but when I register my producer in the, nothing

I thought of a classpath problem, but if tomcat can load Cocoon, why can
cocoon not load my classes??? It has no sense!

Thank you in advance!

  Gaël Oberson
  Etudiant HES


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message