I did this:

1) downloaded DatabaseSelectAction.java from CVS and compiled it to 
..\cocoon\WEB-INF\classes\org\apache\cocoon\acting.

2) added to cocoons web.xml:

<init-param>
<param-name>extra-classpath</param-name>
<param-value>C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\org\apache\cocoon\acting\DatabaseSelectAction.class</param-value>
</init-param>

3) added to the sitemap of the tutorial web application example:

  <map:actions>
   <map:action name="dbSel" src="org.apache.cocoon.acting.DatabaseSelectAction"/> <!-- 
added -->
   <map:action name="dbAdd" src="org.apache.cocoon.acting.DatabaseAddAction"/>
   <map:action name="dbDel" src="org.apache.cocoon.acting.DatabaseDeleteAction"/>
   <map:action name="dbUpd" src="org.apache.cocoon.acting.DatabaseUpdateAction"/>
   <map:action name="form" src="org.apache.cocoon.acting.FormValidatorAction"/>
  </map:actions>

:) the error message after invoking the tutorial is :

org.apache.cocoon.ProcessingException: Exception in Handler: 
org.apache.avalon.framework.component.ComponentException: 
Could not set up Component for hint: org\apache\cocoon\www\tutorial\sitemap_xmap

Without <map:action name="dbSel" src="org.apache.cocoon.acting.DatabaseSelectAction"/> 
it started seriously. I then tried other paths in init param extra classpath, and 
other funny things.

Could someone please shed some light on this. Thanks in advance, Arno Illmann

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to