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" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Eine f�r alle. MSN Suche. http://search.msn.de Finden statt suchen!


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



Met vriendelijke groeten,
Bien � vous,
Kind regards,

Yves Vindevogel
Implements

<<inline: Pasted Graphic 2.tiff>>



Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91

Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76

Web: http://www.implements.be
<x-tad-smaller>
First they ignore you. Then they laugh at you. Then they fight you. Then you win.
Mahatma Ghandi.</x-tad-smaller>

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

Reply via email to