Wolfgang -

Make sure you change the pool name not just in cocoon.xconf but anywhere 
you actually use the pool, like create-empl.xsp. Then bounce your 
servlet container so Cocoon will reread cocoon.xconf. If you do those 
things and still have problems, stop Tomcat, delete the work directory 
for the cocoon webapp, and then restart it.

Regards,

Lajos


Wolfgang Weigel wrote:

> hi!
> 
> i tried to change the example from
> http://localhost:8080/cocoon/tutorial/home.html by using a mysql-database.
> everything works fine if using the name "personnel" for the
> database-connection in the cocoon.xconf (<jdbc
> logger="core.datasources.mysql" name="personnel">)
> 
> as soon as i modify the name-parameter (e.g. mysql) i get the following
> exception:
> 
> Message
> 
> Could not add record
> 
> 
> Source
> 
> org.apache.cocoon.ProcessingException
> 
> 
> Description
> 
> org.apache.cocoon.ProcessingException: Could not add record:
> org.apache.avalon.framework.component.ComponentException: datasources:
> ComponentSelector could not find the component for hint: personnel
> 
> 
> Does anybody have a solution?
> 
> 
> bye
> 
> wolfgang
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 


-- 
galatea.com
Cocoon training, consulting & support



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

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

Reply via email to