You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jonny Becker <jo...@hotmail.com> on 2005/05/09 11:02:53 UTC
wrtiting my own xconf-file
Hi,
on the cowarp-homepage
(http://osoco.sourceforge.net/cowarp/installation.html) it says:
...Add the following XML to the cocoon.xconf (for 2.1.x) or create a new
cowarp.xconf file...
<!-- CoWarp's application manager: -->
<component role="org.osoco.cowarp.ApplicationManager"
class="org.osoco.cowarp.impl.StandardApplicationManager"/>
Placing it in the existing cocoon.xconf is obvious. But I deceidet to have a
seperate xconf-file. But I have no clue how this file should look like. I
there an xsd to go? Or some tutorial? Would this file be ok:
<?xml version="1.0" encoding="UTF-8"?>
<component role="org.osoco.cowarp.ApplicationManager"
class="org.osoco.cowarp.impl.StandardApplicationManager"/>
Cheers
Jonny
_________________________________________________________________
Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: wrtiting my own xconf-file
Posted by Yves Vindevogel <yv...@implements.be>.
This is part of my cocoon.xconf file, where I seperated the datasources
into another file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cocoon [
<!ENTITY myDatasources SYSTEM "datasources.xconf">
]>
<cocoon version="2.1">
...
<!--..... Start configuration from 'portal' -->
<portal-manager logger="core.portal-manager" pool-grow="4"
pool-max="32" pool-min="8"/>
<!--..... End configuration from 'portal' -->
&myDatasources;
<!--..... Start configuration from 'db-modules' -->
<!-- =============== Database Modules ==================== -->
This is the top of my datasources file. They have to be in the same
directory.
But this works .....
<?xml version="1.0" encoding="UTF-8"?>
<!--..... Start configuration from 'datasources' -->
<datasources>
<jdbc logger="core.datasources.personnel" name="personnel">
<pool-controller max="10" min="5"/>
<dburl>jdbc:hsqldb:hsql://localhost:9002</dburl>
<user>sa</user>
<password/>
</jdbc>
On 09 May 2005, at 11:14, Jonny Becker wrote:
> Hi,
>
> of course I mean:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cocoon version="2.1">
> <component role="org.osoco.cowarp.ApplicationManager"
> class="org.osoco.cowarp.impl.StandardApplicationManager"/>
> <component role="org.osoco.cowarp.Application/MyShop"
> class="org.osoco.cowarp.StandardApplication"
> security-handler="shop-handler">
> </component>
> </cocoon>
>
> Would this xconf-file be ok?
>
> Thanks
> Jonny
>
>> From: "Jonny Becker" <jo...@hotmail.com>
>> Reply-To: users@cocoon.apache.org
>> To: users@cocoon.apache.org
>> Subject: wrtiting my own xconf-file
>> Date: Mon, 09 May 2005 09:02:53 +0000
>>
>> Hi,
>>
>> on the cowarp-homepage
>> (http://osoco.sourceforge.net/cowarp/installation.html) it says:
>> ...Add the following XML to the cocoon.xconf (for 2.1.x) or create a
>> new cowarp.xconf file...
>> <!-- CoWarp's application manager: -->
>> <component role="org.osoco.cowarp.ApplicationManager"
>> class="org.osoco.cowarp.impl.StandardApplicationManager"/>
>>
>> Placing it in the existing cocoon.xconf is obvious. But I deceidet to
>> have a seperate xconf-file. But I have no clue how this file should
>> look like. I there an xsd to go? Or some tutorial? Would this file be
>> ok:
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <component role="org.osoco.cowarp.ApplicationManager"
>> class="org.osoco.cowarp.impl.StandardApplicationManager"/>
>>
>> Cheers
>> Jonny
>>
>> _________________________________________________________________
>> Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
> _________________________________________________________________
> Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
Met vriendelijke groeten,
Bien à vous,
Kind regards,
Yves Vindevogel
Implements
RE: wrtiting my own xconf-file
Posted by Jonny Becker <jo...@hotmail.com>.
Hi,
of course I mean:
<?xml version="1.0" encoding="UTF-8"?>
<cocoon version="2.1">
<component role="org.osoco.cowarp.ApplicationManager"
class="org.osoco.cowarp.impl.StandardApplicationManager"/>
<component role="org.osoco.cowarp.Application/MyShop"
class="org.osoco.cowarp.StandardApplication"
security-handler="shop-handler">
</component>
</cocoon>
Would this xconf-file be ok?
Thanks
Jonny
>From: "Jonny Becker" <jo...@hotmail.com>
>Reply-To: users@cocoon.apache.org
>To: users@cocoon.apache.org
>Subject: wrtiting my own xconf-file
>Date: Mon, 09 May 2005 09:02:53 +0000
>
>Hi,
>
>on the cowarp-homepage
>(http://osoco.sourceforge.net/cowarp/installation.html) it says:
>...Add the following XML to the cocoon.xconf (for 2.1.x) or create a new
>cowarp.xconf file...
><!-- CoWarp's application manager: -->
><component role="org.osoco.cowarp.ApplicationManager"
> class="org.osoco.cowarp.impl.StandardApplicationManager"/>
>
>Placing it in the existing cocoon.xconf is obvious. But I deceidet to have
>a seperate xconf-file. But I have no clue how this file should look like. I
>there an xsd to go? Or some tutorial? Would this file be ok:
>
>
><?xml version="1.0" encoding="UTF-8"?>
><component role="org.osoco.cowarp.ApplicationManager"
> class="org.osoco.cowarp.impl.StandardApplicationManager"/>
>
>Cheers
>Jonny
>
>_________________________________________________________________
>Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
_________________________________________________________________
Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org