hi! *Make sure you change the pool name not just in cocoon.xconf but anywhere *you actually use the pool, like create-empl.xsp.
this was already done. Then bounce your *servlet container so Cocoon will reread cocoon.xconf. what does that mean? i suggest restarting tomcat. If you do those *things and still have problems, stop Tomcat, delete the work directory *for the cocoon webapp, and then restart it. i tried. after a few hours i finally found the solution. i forgot to modify the following line in the sitemap: <map:parameter name="descriptor" value="context://mount/cpOfDb/docs/department-form.xml"/> after changing everything worked fine. Thanks a lot for the help! wolfgang * *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]> * Auf bald Wolfgang Weigel _____________________________________________________________________ Wolfgang Weigel Universitaet Wuerzburg Didaktik Mathematik Am Hubland 97074 Wuerzburg [EMAIL PROTECTED] office: 0931/888-5078 _ __ ____ __ ______ | | /| / /__ / / /__ _ _____ ____ / / ___ _______ / / / / | |/ |/ / _ \/ / / -_) | |/|/ / _ `(_-< / _ \/ -_) __/ -_) /_/_/_/ |__/|__/\___/_/_/\__/ |__,__/\_,_/___/ /_//_/\__/_/ \__/ (_|_|_) --------------------------------------------------------------------- --------------------------------------------------------------------- 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]>