Try the cocoon mail list you may have better luck there -and for your convenience a link has been provided. http://xml.apache.org/cocoon/mail-lists.html ----- Original Message ----- From: Mamadou Bobo Sylla <[EMAIL PROTECTED]> Date: Wednesday, July 25, 2001 1:26 am Subject: Help:Cocoon Producer and Tomcat > Hello everyone, > > I am trying to run the Producer code (Dummy producer) which comes with > Cocoon . > I have compiled the source code ( source code of DummyProducer) > and placed > it in webapps/MyAppli/web-inf/classes .My aim is to test whether > Cocoon can > discover any Producer class in that folder as servlet engine does for > servlet classes. So I have also edited the cocoon properties file by > replacing the line > "producer.type.dummy=org.apache.cocoon.example.DummyProducer" by > "producer.type.dummy=DummyProducer" .When I called the class > (http:localhost/MyApplfollowing error :java.lang.RuntimeException: > Error creating DummyProducer: > class is not found > > I also tried to put the DummyProducer class inside a package > (com.Mypackage)following this structure webapps/MyAppli/web- > inf/classes/com/Mypackage, and > consequently edited Cocoon properties file by adding this line : > producer.type.dummy=com.Mypackage.DummyProducer but I am still > getting the > same error. > > I don't know what I am missing here !! > I am wondering where should I put my producer class and how > should I edit > Cocoon properties file for Cocoon to be aware of my producer. > Note: I am using Tomcat 3.2.1 and Cocoon-1.8.2 > Bobo, > > ________________________________________________________________________ ___ > To unsubscribe, send email to [EMAIL PROTECTED] and include in > the body > of the message "signoff SERVLET-INTEREST". > > Archives: http: > Resources: http://java.sun.com/products/servlet/external- > resources.htmlLISTSERV Help: > http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
