From users-return-55564-apmail-cocoon-users-archive=cocoon.apache.org@cocoon.apache.org Wed Sep 17 16:14:08 2003 Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 1442 invoked from network); 17 Sep 2003 16:14:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Sep 2003 16:14:07 -0000 Received: (qmail 21721 invoked by uid 500); 17 Sep 2003 16:13:49 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 21704 invoked by uid 500); 17 Sep 2003 16:13:49 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 21689 invoked from network); 17 Sep 2003 16:13:49 -0000 Received: from unknown (HELO mail2.mobicomk.ru) (217.106.95.130) by daedalus.apache.org with SMTP; 17 Sep 2003 16:13:49 -0000 Received: by mail2.mobicomk.ru (Postfix, from userid 501) id 4358E50B8D02; Wed, 17 Sep 2003 20:13:49 +0400 (MSD) Received: from support.lan.mobicomk.ru (unknown [10.10.5.100]) by mail2.mobicomk.ru (Postfix) with SMTP id 0B91650B7006 for ; Wed, 17 Sep 2003 20:13:49 +0400 (MSD) Date: Wed, 17 Sep 2003 20:13:50 +0400 From: Yury Mikhienko To: users@cocoon.apache.org Subject: Re: xmldb:xindice pseudo protocol in cocoon2.1 Message-Id: <20030917201350.5281b078.Yury.Mikhienko@mobicomk.ru> In-Reply-To: <20030917133622.81712.qmail@web41710.mail.yahoo.com> References: <20030915193115.66a20bc1.Yury.Mikhienko@mobicomk.ru> <20030917133622.81712.qmail@web41710.mail.yahoo.com> Organization: Mobicom-Kavkaz X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: > > class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory" > name="xmldb"> > > class="org.apache.xindice.client.xmldb.DatabaseImpl" > type="xindice-embed"/> > > 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