You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Martin Heiden <ma...@netcologne.de> on 2006/12/04 19:12:28 UTC
Re: How to declare a datasource in 2.2 (solved)
Hallo Martin,
Hi!
Saturday, December 2, 2006, 12:25:23 PM, you wrote:
MH> Can anyone point me to the right way to declare a datasource in
MH> a Cocoon 2.2 webapp?
Finally I found it. (and hope that it was the right way to do it...)
1. Copy the cocoon.xconf from
core/cocoon-core/src/main/resources/org/apache/cocoon/
to /WEB-INF/cocoon/cocoon.my.xconf
2. Declare it in applicationContext.xml
<avalon:avalon loggingConfiguration="/WEB-INF/cocoon/log4j.xconf"
location="/WEB-INF/cocoon/cocoon.my.xconf" />
3. Add the datasource to this xconf.
Martin.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org