cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Mikhienko <Yury.Mikhie...@mobicomk.ru>
Subject Re: xmldb:xindice pseudo protocol in cocoon2.1
Date Wed, 17 Sep 2003 16:13:50 GMT
Hi Julian!

Thanks for your reply.

> Yury,
> 
> I use xindice by calling the xml:db java api with the
> xindice-embed protocol.  In essence this eliminated
> the need to have "localhost:8080" in your sitemap
> pipeline (also possibly one less port open)...you can
> just put xmldb:xindice:///db/web/news-arch/ and be
> able to read your resource.  You must configure
> cocoon.xconf to use the xindice-embed protocol:
>     <!-- xmldb pseudo protocol -->
>     <component-instance
> class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory"
> name="xmldb">
>         <!-- Xindice driver -->
>         <driver
> class="org.apache.xindice.client.xmldb.DatabaseImpl"
> type="xindice-embed"/>
>     </component-instance>
> 
Yes, I know about.


> I would have to add that I have found Xindice to be
> unreliable when creating collections.  Generally, they
> seem to disappear on server restart.
After create the collection you must make the backup copy of SysConfig.tbl and SysSymbols.tbl

After stopping server you must place that copies instead the current SysConfig.tbl and SysSymbols.tbl

That method is very dirty but it worked :))

-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobicom-Kavkaz"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message