<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-257</id>
	<title>Nabble - XinDice</title>
	<updated>2008-09-27T07:50:59Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/XinDice-f257.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/XinDice-f257.html" />
	<subtitle type="html">Apache Xindice is a database designed from the ground up to store XML data or what is more commonly referred to as a native XML database. XinDice home is &lt;a href=&quot;http://xml.apache.org/xindice/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19703379</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-27T07:50:59Z</published>
	<updated>2008-09-27T07:50:59Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks, natalia.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 19, 2008 at 9:18 PM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19703379&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Fri, Sep 19, 2008 at 3:08 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks, Natalia, I have a few questions on Addcontact.java:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create the XMLResource and store the document&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XMLResource resource = (XMLResource) col.createResource( &amp;quot;&amp;quot;,&lt;br&gt;&amp;gt; &amp;quot;XMLResource&amp;quot; );&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resource.setContent(ourdoc);&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col.storeResource(resource);&lt;br&gt;&amp;gt; I believe ourdoc is the xml string. &amp;nbsp;However, I believe this is for&lt;br&gt;&amp;gt; addressbook data base only. &amp;nbsp;How should I change it to a database name&lt;br&gt;&amp;gt; &amp;quot;cad&amp;quot;?&lt;br&gt;
&lt;br&gt;&lt;/div&gt;You are correct, ourdoc variable contains an xml string. To store a&lt;br&gt;document in a different collection, you just need to get a different&lt;br&gt;collection instance from a database, the code above does not need to&lt;br&gt;
change. The collection instance used by addressbook is initialized in&lt;br&gt;DBConnection.java. &amp;nbsp;In that class, application accesses a collection&lt;br&gt;xmldb:xindice://localhost:8080/db/addressbook, so it needs to be&lt;br&gt;changed to xmldb:xindice://localhost:8080/db/cad. Don&amp;#39;t forget to&lt;br&gt;
create this collection before trying to access it from the&lt;br&gt;application.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Natalia&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19703379.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19626489</id>
	<title>Re: xindice usage</title>
	<published>2008-09-23T05:21:34Z</published>
	<updated>2008-09-23T05:21:34Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Mon, Sep 22, 2008 at 1:30 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19626489&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Natania,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems node level is similar to the record level in relational DB.
&lt;br&gt;&amp;gt; Thanks for your new info.
&lt;br&gt;&lt;br&gt;Actually, elements/nodes in a document are somewhat similar to columns
&lt;br&gt;in a relational DB table. Collections in XML DB can be mapped to
&lt;br&gt;tables, and documents/resources can be mapped to records.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-xindice-usage-tp19588689p19626489.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19612805</id>
	<title>Re: xindice usage</title>
	<published>2008-09-22T10:30:17Z</published>
	<updated>2008-09-22T10:30:17Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Natania, &lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;It seems node level is similar to the record level in relational DB.&lt;/div&gt;
&lt;div&gt;Thanks for your new info.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 22, 2008 at 9:02 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19612805&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Sat, Sep 20, 2008 at 4:11 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natania,&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; Thanks, I will change the PATH from /db/addressbook to /db/cad.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Change the subject again. &amp;nbsp;I am new with xml database. &amp;nbsp;How it can be used&lt;br&gt;&amp;gt; in a typical web application? &amp;nbsp;What is a typical way to handle multiple&lt;br&gt;
&amp;gt; users and version control?&lt;br&gt;&lt;br&gt;&lt;/div&gt;I don&amp;#39;t think that using Xindice as database would be so much&lt;br&gt;different from relational DB. Access/version controls have to be&lt;br&gt;implemented in an application - there is no such built-in&lt;br&gt;
functionality in Xindice.&lt;br&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&amp;gt; I am working on an online CAD tool that would serve multiple users with&lt;br&gt;&amp;gt; programmable group read/write access allowance (similar to file access in&lt;br&gt;&amp;gt; Unix system) and version control. On the surface, the xml database can be&lt;br&gt;
&amp;gt; setup as following:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; /db/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;cad/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group0/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user0/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj0/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page0/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page1/&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page2/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj1/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user1/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj0/&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page0/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page1/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page2/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj1/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user2&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1/&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; How should I handle programmable access? &amp;nbsp;should I use attribute in the&lt;br&gt;&amp;gt; project level to handle it? &amp;nbsp;What is minimum unit for an update? &amp;nbsp;Should we&lt;br&gt;
&amp;gt; handle update in the page level or could it be done in even lower&lt;br&gt;&amp;gt; level? &amp;nbsp;How should I implement version control in that case?&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;XUpdate service allows to modify documents on the node level. As for&lt;br&gt;
the rest of the questions... It&amp;#39;s not like there is only one way of&lt;br&gt;doing something like that. And the answer depends on lots of things&lt;br&gt;that you probably know better than anyone else. Good luck :)&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;
Natalia&lt;br&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-xindice-usage-tp19588689p19612805.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19607538</id>
	<title>Re: xindice usage</title>
	<published>2008-09-22T06:02:14Z</published>
	<updated>2008-09-22T06:02:14Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Sat, Sep 20, 2008 at 4:11 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19607538&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natania,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks, I will change the PATH from /db/addressbook to /db/cad.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the subject again. &amp;nbsp;I am new with xml database. &amp;nbsp;How it can be used
&lt;br&gt;&amp;gt; in a typical web application? &amp;nbsp;What is a typical way to handle multiple
&lt;br&gt;&amp;gt; users and version control?
&lt;br&gt;&lt;br&gt;I don't think that using Xindice as database would be so much
&lt;br&gt;different from relational DB. Access/version controls have to be
&lt;br&gt;implemented in an application - there is no such built-in
&lt;br&gt;functionality in Xindice.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am working on an online CAD tool that would serve multiple users with
&lt;br&gt;&amp;gt; programmable group read/write access allowance (similar to file access in
&lt;br&gt;&amp;gt; Unix system) and version control. On the surface, the xml database can be
&lt;br&gt;&amp;gt; setup as following:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /db/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;cad/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page2/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page0/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; page2/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proj1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How should I handle programmable access? &amp;nbsp;should I use attribute in the
&lt;br&gt;&amp;gt; project level to handle it? &amp;nbsp;What is minimum unit for an update? &amp;nbsp;Should we
&lt;br&gt;&amp;gt; handle update in the page level or could it be done in even lower
&lt;br&gt;&amp;gt; level? &amp;nbsp;How should I implement version control in that case?
&lt;/div&gt;&lt;br&gt;XUpdate service allows to modify documents on the node level. As for
&lt;br&gt;the rest of the questions... It's not like there is only one way of
&lt;br&gt;doing something like that. And the answer depends on lots of things
&lt;br&gt;that you probably know better than anyone else. Good luck :)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-xindice-usage-tp19588689p19607538.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19588689</id>
	<title>Re: xindice usage</title>
	<published>2008-09-20T13:11:20Z</published>
	<updated>2008-09-20T13:11:20Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natania,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks, I will change the PATH from /db/addressbook to /db/cad.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Change the subject again.&amp;nbsp; I am new with xml database.&amp;nbsp; How it can be used in a typical web application?&amp;nbsp; What is a typical way to handle multiple users and version control?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I am working on an online CAD tool that would serve multiple users with programmable group read/write access allowance (similar to file access in Unix system) and version control. On the surface, the xml database can be setup as following:&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;/db/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp; cad/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proj0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page1/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page2/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proj1/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user1/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proj0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page0/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page1/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page2/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proj1/&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user2&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group1/&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;How should I handle programmable access?&amp;nbsp; should I use attribute in the project level to handle it?&amp;nbsp; What&amp;nbsp;is minimum unit for an update?&amp;nbsp;&amp;nbsp;Should we handle&amp;nbsp;update in the page level or could&amp;nbsp;it be done in even lower level?&amp;nbsp;&amp;nbsp;How should I implement version control in that case?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Sep 19, 2008 at 9:18 PM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19588689&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Fri, Sep 19, 2008 at 3:08 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks, Natalia, I have a few questions on Addcontact.java:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create the XMLResource and store the document&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XMLResource resource = (XMLResource) col.createResource( &amp;quot;&amp;quot;,&lt;br&gt;&amp;gt; &amp;quot;XMLResource&amp;quot; );&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resource.setContent(ourdoc);&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col.storeResource(resource);&lt;br&gt;&amp;gt; I believe ourdoc is the xml string. &amp;nbsp;However, I believe this is for&lt;br&gt;&amp;gt; addressbook data base only. &amp;nbsp;How should I change it to a database name&lt;br&gt;&amp;gt; &amp;quot;cad&amp;quot;?&lt;br&gt;
&lt;br&gt;&lt;/div&gt;You are correct, ourdoc variable contains an xml string. To store a&lt;br&gt;document in a different collection, you just need to get a different&lt;br&gt;collection instance from a database, the code above does not need to&lt;br&gt;
change. The collection instance used by addressbook is initialized in&lt;br&gt;DBConnection.java. &amp;nbsp;In that class, application accesses a collection&lt;br&gt;xmldb:xindice://localhost:8080/db/addressbook, so it needs to be&lt;br&gt;changed to xmldb:xindice://localhost:8080/db/cad. Don&amp;#39;t forget to&lt;br&gt;
create this collection before trying to access it from the&lt;br&gt;application.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Natalia&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-xindice-usage-tp19588689p19588689.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19581679</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-19T18:18:54Z</published>
	<updated>2008-09-19T18:18:54Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Fri, Sep 19, 2008 at 3:08 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19581679&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks, Natalia, I have a few questions on Addcontact.java:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create the XMLResource and store the document
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XMLResource resource = (XMLResource) col.createResource( &amp;quot;&amp;quot;,
&lt;br&gt;&amp;gt; &amp;quot;XMLResource&amp;quot; );
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resource.setContent(ourdoc);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col.storeResource(resource);
&lt;br&gt;&amp;gt; I believe ourdoc is the xml string. &amp;nbsp;However, I believe this is for
&lt;br&gt;&amp;gt; addressbook data base only. &amp;nbsp;How should I change it to a database name
&lt;br&gt;&amp;gt; &amp;quot;cad&amp;quot;?
&lt;/div&gt;&lt;br&gt;You are correct, ourdoc variable contains an xml string. To store a
&lt;br&gt;document in a different collection, you just need to get a different
&lt;br&gt;collection instance from a database, the code above does not need to
&lt;br&gt;change. The collection instance used by addressbook is initialized in
&lt;br&gt;DBConnection.java. &amp;nbsp;In that class, application accesses a collection
&lt;br&gt;xmldb:xindice://localhost:8080/db/addressbook, so it needs to be
&lt;br&gt;changed to xmldb:xindice://localhost:8080/db/cad. Don't forget to
&lt;br&gt;create this collection before trying to access it from the
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19581679.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19577982</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-19T12:08:11Z</published>
	<updated>2008-09-19T12:08:11Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks, Natalia, I have a few questions on Addcontact.java:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create the XMLResource and store the document&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XMLResource resource = (XMLResource) col.createResource( &amp;quot;&amp;quot;, &amp;quot;XMLResource&amp;quot; );&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resource.setContent(ourdoc);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col.storeResource(resource);&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;I believe ourdoc is the xml string.&amp;nbsp; However, I believe this is for addressbook data base only.&amp;nbsp; How should I change it to a database name &amp;quot;cad&amp;quot;?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Sep 18, 2008 at 3:25 PM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19577982&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Thu, Sep 18, 2008 at 2:45 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natalia,&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; I look at the examples you point me to as well as the links (&lt;br&gt;&amp;gt; &lt;a href=&quot;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&lt;/a&gt;&lt;br&gt;
&amp;gt; ) that someone gave me. &amp;nbsp;It seems in xslt, the URL for xindice-db is:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; xmldb:xindice-embed:///db/&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; For normal file read access I use:&lt;br&gt;&amp;gt; select=&amp;quot;document(addresbook/*.xml)&lt;br&gt;&amp;gt;&lt;br&gt;
&amp;gt; I should change it to:&lt;br&gt;&amp;gt; select=&amp;quot;document(xmldb:xindice-embed:///db/addressbook/*.xml)&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Is it correct?&lt;br&gt;&lt;br&gt;&lt;/div&gt;Sorry, cannot help you with Cocoon stuff, it is not really my domain.&lt;br&gt;But I know there are folks that are well-versed in both Xindice and&lt;br&gt;
Cocoon, maybe they decide to chime in.&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;&amp;gt; I believe I have to use servlet or JSP to perform write access to the&lt;br&gt;&amp;gt; database. &amp;nbsp;Is Xupdate available? &amp;nbsp;I heard Xupdate is the generic method to&lt;br&gt;&amp;gt; change the native xml database. &amp;nbsp;Do you have an example for using Xupdate?&lt;br&gt;
&lt;br&gt;&lt;/div&gt;You don&amp;#39;t have to use servlet or JSP to access database, as an example&lt;br&gt;you can see Xindice command-line tool. XUpdate is available for&lt;br&gt;Xindice, please see relevant documentation [1] for an example.&lt;br&gt;
&lt;br&gt;[1] &lt;a href=&quot;http://xml.apache.org/xindice/1.2/guide-developer.html#Using+XUpdate+to+Modify+the+Database&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xml.apache.org/xindice/1.2/guide-developer.html#Using+XUpdate+to+Modify+the+Database&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;Natalia&lt;br&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&amp;gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19577982.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19559941</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-18T12:25:13Z</published>
	<updated>2008-09-18T12:25:13Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Thu, Sep 18, 2008 at 2:45 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19559941&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natalia,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I look at the examples you point me to as well as the links (
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&lt;/a&gt;&lt;br&gt;&amp;gt; ) that someone gave me. &amp;nbsp;It seems in xslt, the URL for xindice-db is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; xmldb:xindice-embed:///db/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For normal file read access I use:
&lt;br&gt;&amp;gt; select=&amp;quot;document(addresbook/*.xml)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I should change it to:
&lt;br&gt;&amp;gt; select=&amp;quot;document(xmldb:xindice-embed:///db/addressbook/*.xml)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is it correct?
&lt;/div&gt;&lt;br&gt;Sorry, cannot help you with Cocoon stuff, it is not really my domain.
&lt;br&gt;But I know there are folks that are well-versed in both Xindice and
&lt;br&gt;Cocoon, maybe they decide to chime in.
&lt;br&gt;&lt;br&gt;&amp;gt; I believe I have to use servlet or JSP to perform write access to the
&lt;br&gt;&amp;gt; database. &amp;nbsp;Is Xupdate available? &amp;nbsp;I heard Xupdate is the generic method to
&lt;br&gt;&amp;gt; change the native xml database. &amp;nbsp;Do you have an example for using Xupdate?
&lt;br&gt;&lt;br&gt;You don't have to use servlet or JSP to access database, as an example
&lt;br&gt;you can see Xindice command-line tool. XUpdate is available for
&lt;br&gt;Xindice, please see relevant documentation [1] for an example.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://xml.apache.org/xindice/1.2/guide-developer.html#Using+XUpdate+to+Modify+the+Database&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xml.apache.org/xindice/1.2/guide-developer.html#Using+XUpdate+to+Modify+the+Database&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19559941.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19559644</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-18T12:04:23Z</published>
	<updated>2008-09-18T12:04:23Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Thu, Sep 18, 2008 at 11:31 AM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19559644&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natania,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the info. &amp;nbsp;I will take a look.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the subject. &amp;nbsp;I notice Spring famework is used to deploy v1.2. &amp;nbsp;It
&lt;br&gt;&amp;gt; happens I use xslt with Cocoon 2.2 (another Spring famework application) to
&lt;br&gt;&amp;gt; serialize the SVG data from XML data. &amp;nbsp;Do you have a plan to merger Xindice
&lt;br&gt;&amp;gt; 1.2 with Cocoon 2.2? &amp;nbsp;Or deploy them separately into Tomcat (as that with
&lt;br&gt;&amp;gt; xindice and addressbook) would be the way of integration &amp;nbsp;for current and
&lt;br&gt;&amp;gt; near future direction?
&lt;/div&gt;&lt;br&gt;I think it is safe to say that Cocoon and Xindice won't be merged,
&lt;br&gt;having very different goals. But in your application can use both. You
&lt;br&gt;can either deploy Xindice as webapp or use it in embedded mode, where
&lt;br&gt;data can be accessed directly without network overhead.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19559644.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19559328</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-18T11:45:35Z</published>
	<updated>2008-09-18T11:45:35Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natalia,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I look at the examples you point me to as well as the links ( 
&lt;div&gt;&lt;a href=&quot;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cocoon.zones.apache.org/demos/21branch/samples/blocks/xmldb/welcome&lt;/a&gt;&lt;/div&gt;) that someone gave me.&amp;nbsp; It seems in xslt, the URL for xindice-db is:&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;xmldb:xindice-embed:///db/&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;For normal file read access I use:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;select=&amp;quot;document(addresbook/*.xml)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;I should change it to:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;select=&amp;quot;document(xmldb:xindice-embed:///db/addressbook/*.xml)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Is it correct?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I believe I have to use servlet or JSP to perform write access to the database.&amp;nbsp; Is Xupdate available?&amp;nbsp; I heard Xupdate is the generic method to change the native xml database.&amp;nbsp; Do you have an example for using Xupdate?&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Sep 18, 2008 at 9:20 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19559328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Wed, Sep 17, 2008 at 8:46 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natania,&lt;br&gt;
&amp;gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; Following what you wrote, the addressbook works! &amp;nbsp;Thanks you very much for&lt;br&gt;&amp;gt; your help.&lt;br&gt;&lt;br&gt;&lt;/div&gt;You&amp;#39;re welcome. I appreciate your patience and help in testing of the&lt;br&gt;application.&lt;br&gt;

&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;&amp;gt; I plan to use xindice to store SVG data. &amp;nbsp;Which java files in the&lt;br&gt;&amp;gt; addressbook are for database read/write?&lt;br&gt;&lt;br&gt;&lt;/div&gt;You can check java\examples\addressbook\src\java\addressbook\AddContact.java&lt;br&gt;
for example of adding a new resource to the database.&lt;br&gt;&lt;br&gt;Addressbook uses XPath queries to retrieve information from database&lt;br&gt;(see java\examples\addressbook\src\java\addressbook\SearchContacts.java).&lt;br&gt;&lt;br&gt;Take a look at java\examples\guide\src\org\apache\xindice\examples\RetrieveDocument.java&lt;br&gt;
for an example of reading a document from the database - it&amp;#39;s from a&lt;br&gt;different example application, but should give you an idea of how it&lt;br&gt;works.&lt;br&gt;&lt;br&gt;I would also recommend to take a look at the code for Xindice&lt;br&gt;
command-line tool (see files in&lt;br&gt;java\src\org\apache\xindice\tools\command\).&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Natalia&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&amp;gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19559328.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19555608</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-18T08:31:34Z</published>
	<updated>2008-09-18T08:31:34Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natania,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks for the info.&amp;nbsp; I will take a look.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Change the subject.&amp;nbsp; I notice Spring famework is used to deploy v1.2.&amp;nbsp; It happens I use xslt with Cocoon 2.2 (another Spring famework application) to serialize the SVG data from XML data.&amp;nbsp; Do you have a plan to merger Xindice 1.2&amp;nbsp;with Cocoon 2.2?&amp;nbsp; Or deploy them separately into Tomcat (as that with xindice and addressbook)&amp;nbsp;would be the way of integration &amp;nbsp;for current and near future direction?&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Sep 18, 2008 at 9:20 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19555608&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Wed, Sep 17, 2008 at 8:46 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natania,&lt;br&gt;
&amp;gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; Following what you wrote, the addressbook works! &amp;nbsp;Thanks you very much for&lt;br&gt;&amp;gt; your help.&lt;br&gt;&lt;br&gt;&lt;/div&gt;You&amp;#39;re welcome. I appreciate your patience and help in testing of the&lt;br&gt;application.&lt;br&gt;

&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;&amp;gt; I plan to use xindice to store SVG data. &amp;nbsp;Which java files in the&lt;br&gt;&amp;gt; addressbook are for database read/write?&lt;br&gt;&lt;br&gt;&lt;/div&gt;You can check java\examples\addressbook\src\java\addressbook\AddContact.java&lt;br&gt;
for example of adding a new resource to the database.&lt;br&gt;&lt;br&gt;Addressbook uses XPath queries to retrieve information from database&lt;br&gt;(see java\examples\addressbook\src\java\addressbook\SearchContacts.java).&lt;br&gt;&lt;br&gt;Take a look at java\examples\guide\src\org\apache\xindice\examples\RetrieveDocument.java&lt;br&gt;
for an example of reading a document from the database - it&amp;#39;s from a&lt;br&gt;different example application, but should give you an idea of how it&lt;br&gt;works.&lt;br&gt;&lt;br&gt;I would also recommend to take a look at the code for Xindice&lt;br&gt;
command-line tool (see files in&lt;br&gt;java\src\org\apache\xindice\tools\command\).&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Natalia&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&amp;gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19555608.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19552742</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-18T06:20:00Z</published>
	<updated>2008-09-18T06:20:00Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Wed, Sep 17, 2008 at 8:46 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19552742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natania,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Following what you wrote, the addressbook works! &amp;nbsp;Thanks you very much for
&lt;br&gt;&amp;gt; your help.
&lt;br&gt;&lt;br&gt;You're welcome. I appreciate your patience and help in testing of the
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;&amp;gt; I plan to use xindice to store SVG data. &amp;nbsp;Which java files in the
&lt;br&gt;&amp;gt; addressbook are for database read/write?
&lt;br&gt;&lt;br&gt;You can check java\examples\addressbook\src\java\addressbook\AddContact.java
&lt;br&gt;for example of adding a new resource to the database.
&lt;br&gt;&lt;br&gt;Addressbook uses XPath queries to retrieve information from database
&lt;br&gt;(see java\examples\addressbook\src\java\addressbook\SearchContacts.java).
&lt;br&gt;&lt;br&gt;Take a look at java\examples\guide\src\org\apache\xindice\examples\RetrieveDocument.java
&lt;br&gt;for an example of reading a document from the database - it's from a
&lt;br&gt;different example application, but should give you an idea of how it
&lt;br&gt;works.
&lt;br&gt;&lt;br&gt;I would also recommend to take a look at the code for Xindice
&lt;br&gt;command-line tool (see files in
&lt;br&gt;java\src\org\apache\xindice\tools\command\).
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19552742.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19544031</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-17T17:46:09Z</published>
	<updated>2008-09-17T17:46:09Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natania,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Following what you wrote, the addressbook works!&amp;nbsp; Thanks you very much for your help.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I plan to use xindice to store SVG data.&amp;nbsp; Which java files in the addressbook are for database read/write?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Sep 17, 2008 at 11:30 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19544031&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;On Wed, Sep 17, 2008 at 9:59 AM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natania,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; With new command, the addressbook is created:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; trying to register database&lt;br&gt;&amp;gt; Created: xmldb:xindice://localhost:8080/db/addressbook&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I can view the addressbook with browser as well. &amp;nbsp;However, when I try to&lt;br&gt;&amp;gt; save the entered data, I got:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; An ERROR has occured!!!&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; It seems there is not a lot of new info in the log file. &amp;nbsp;Thanks again for&lt;br&gt;&amp;gt; your help.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;br&gt;&lt;/div&gt;OK, I think I know what happens. It looks like this is another problem&lt;br&gt;
that appears because of non-standard port, where Address Book app&lt;br&gt;tries to connect to localhost:8888.&lt;br&gt;&lt;br&gt;I made a couple of changes to DBConnection.java file that should fix&lt;br&gt;the problem (attached). Please replace file&lt;br&gt;
java\examples\addressbook\src\java\addressbook\DBConnection.java in&lt;br&gt;your Xindice installation directory and rebuild the examples. You need&lt;br&gt;to deploy this new addressbook.war. I would also recommend to remove&lt;br&gt;unpacked addressbook application in the Tomcat webapps directory&lt;br&gt;
first, just in case.&lt;br&gt;&lt;br&gt;Alternatively, you can change Tomcat configuration to use port 8888.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Natalia&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19544031.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19534786</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-17T08:30:55Z</published>
	<updated>2008-09-17T08:30:55Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Wed, Sep 17, 2008 at 9:59 AM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19534786&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natania,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With new command, the addressbook is created:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; trying to register database
&lt;br&gt;&amp;gt; Created: xmldb:xindice://localhost:8080/db/addressbook
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can view the addressbook with browser as well. &amp;nbsp;However, when I try to
&lt;br&gt;&amp;gt; save the entered data, I got:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; An ERROR has occured!!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems there is not a lot of new info in the log file. &amp;nbsp;Thanks again for
&lt;br&gt;&amp;gt; your help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;/div&gt;&lt;/div&gt;OK, I think I know what happens. It looks like this is another problem
&lt;br&gt;that appears because of non-standard port, where Address Book app
&lt;br&gt;tries to connect to localhost:8888.
&lt;br&gt;&lt;br&gt;I made a couple of changes to DBConnection.java file that should fix
&lt;br&gt;the problem (attached). Please replace file
&lt;br&gt;java\examples\addressbook\src\java\addressbook\DBConnection.java in
&lt;br&gt;your Xindice installation directory and rebuild the examples. You need
&lt;br&gt;to deploy this new addressbook.war. I would also recommend to remove
&lt;br&gt;unpacked addressbook application in the Tomcat webapps directory
&lt;br&gt;first, just in case.
&lt;br&gt;&lt;br&gt;Alternatively, you can change Tomcat configuration to use port 8888.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;DBConnection.java&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19534786/0/DBConnection.java&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19534786.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19532718</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-17T06:59:13Z</published>
	<updated>2008-09-17T06:59:13Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;Hi Natania,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;With new command, the addressbook is created:&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;trying to register database&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;Created:&amp;nbsp;xmldb:xindice://localhost:8080/db/addressbook&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;I can view the addressbook with browser as well.&amp;nbsp; However, when I try to save the entered data, I got:&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color=&quot;#ff0000&quot; size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;An ERROR has occured!!!&lt;/font&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;It seems there is not a lot of new info in the log file.&amp;nbsp; Thanks again for your help.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=&quot;4&quot;&gt;Tak&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Sep 17, 2008 at 7:55 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19532718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Tue, Sep 16, 2008 at 8:48 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natalia,&lt;br&gt;
&amp;gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; Thank you for your help. &amp;nbsp;I have the database browser screen that shows&lt;br&gt;&amp;gt; &amp;quot;db&amp;quot;, after I rename and copy xindice.war into webapps. &amp;nbsp;However, with&lt;br&gt;&amp;gt; &amp;quot;bin\xindice ac -c /db -n addressbook&amp;quot;, I got:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; trying to register database&lt;br&gt;&amp;gt; XMLDB Exception 0: Failed to execute command &amp;#39;GetCollectionConfiguration&amp;#39; on&lt;br&gt;&amp;gt; server: &lt;a href=&quot;http://127.0.0.1:8888/xindice/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8888/xindice/&lt;/a&gt;, message: Failed to create input&lt;br&gt;
&amp;gt; stream: Unexpected end of file from server.&lt;br&gt;&lt;br&gt;&lt;/div&gt;OK, the command needs to be modifed a little bit. Please try this instead:&lt;br&gt;&lt;br&gt;bin\xindice ac -c xmldb:xindice://localhost:8080/db -n addressbook&lt;br&gt;&lt;br&gt;This is because the command tries to connect to default port number&lt;br&gt;
(8888) where your installation of Tomcat uses port 8080, so it is&lt;br&gt;necessary to put full database URL in there.&lt;br&gt;&lt;br&gt;Please let me know if anything else breaks.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Natalia&lt;br&gt;&lt;/font&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Attached please find file Tomcat server.xml&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Tak&lt;br&gt;&amp;gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19532718.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19530434</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-17T04:55:38Z</published>
	<updated>2008-09-17T04:55:38Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Tue, Sep 16, 2008 at 8:48 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19530434&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natalia,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your help. &amp;nbsp;I have the database browser screen that shows
&lt;br&gt;&amp;gt; &amp;quot;db&amp;quot;, after I rename and copy xindice.war into webapps. &amp;nbsp;However, with
&lt;br&gt;&amp;gt; &amp;quot;bin\xindice ac -c /db -n addressbook&amp;quot;, I got:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; trying to register database
&lt;br&gt;&amp;gt; XMLDB Exception 0: Failed to execute command 'GetCollectionConfiguration' on
&lt;br&gt;&amp;gt; server: &lt;a href=&quot;http://127.0.0.1:8888/xindice/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8888/xindice/&lt;/a&gt;, message: Failed to create input
&lt;br&gt;&amp;gt; stream: Unexpected end of file from server.
&lt;/div&gt;&lt;br&gt;OK, the command needs to be modifed a little bit. Please try this instead:
&lt;br&gt;&lt;br&gt;bin\xindice ac -c xmldb:xindice://localhost:8080/db -n addressbook
&lt;br&gt;&lt;br&gt;This is because the command tries to connect to default port number
&lt;br&gt;(8888) where your installation of Tomcat uses port 8080, so it is
&lt;br&gt;necessary to put full database URL in there.
&lt;br&gt;&lt;br&gt;Please let me know if anything else breaks.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Attached please find file Tomcat server.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19530434.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19523491</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-16T17:48:26Z</published>
	<updated>2008-09-16T17:48:26Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natalia,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thank you for your help.&amp;nbsp; I have the database browser screen that shows &amp;quot;db&amp;quot;, after I rename and copy xindice.war into webapps.&amp;nbsp; However, with &amp;quot;bin\xindice ac -c /db -n addressbook&amp;quot;,&amp;nbsp;I got:&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;trying to register database&lt;/div&gt;
&lt;div&gt;XMLDB Exception 0: Failed to execute command &amp;#39;GetCollectionConfiguration&amp;#39; on server: &lt;a href=&quot;http://127.0.0.1:8888/xindice/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8888/xindice/&lt;/a&gt;, message: Failed to create input stream: Unexpected end of file from server.&lt;/div&gt;

&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Attached please find file Tomcat&amp;nbsp;server.xml&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Sep 16, 2008 at 9:18 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19523491&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;Hi Tak,&lt;br&gt;&lt;br&gt;Here are step-by-step instructions for running Address Book. Please&lt;br&gt;let me know if one of the step fails, and what was the error message.&lt;br&gt;
If there is an exception in Tomcat window/log or in the browser,&lt;br&gt;please include it, too.&lt;br&gt;&lt;br&gt;1. Deploy xindice.war file and start Tomcat.&lt;br&gt;&lt;br&gt;2. Check localhost:8080/xindice URL - it should show Xindice database&lt;br&gt;
browser screen.&lt;br&gt;&lt;br&gt;3. From the command line in Xindice home directory, run the following command:&lt;br&gt;bin\xindice ac -c /db -n addressbook (Windows)&lt;br&gt;or&lt;br&gt;bin/xindice ac -c /db -n addressbook (Unix)&lt;br&gt;&lt;br&gt;This will create new collection in the database. Address Book app uses&lt;br&gt;
it to store the information and won&amp;#39;t work without it.&lt;br&gt;&lt;br&gt;4. Deploy xindice-addressbook.war file that was built using new&lt;br&gt;build.xml file. If address book application was deployed already, you&lt;br&gt;may need to restart Tomcat to make sure the app does not try to use&lt;br&gt;
any cached values.&lt;br&gt;&lt;br&gt;5. Check localhost:8080/addressbook URL. Clicking on &amp;#39;List Contacts&amp;#39;&lt;br&gt;link should return &amp;#39;Sorry, No contacts found!&amp;#39; message. At this point,&lt;br&gt;address book app should be functional.&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Natalia&lt;br&gt;&lt;/font&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;On Mon, Sep 15, 2008 at 8:39 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi Natalia,&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt; I re-compile with the new build.xml file and try. &amp;nbsp;The error remain.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; From the catalina.log, even before the I go to the address book, the&lt;br&gt;&amp;gt; database has stopped:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; INFO: Pausing Coyote HTTP/1.1 on http-8080&lt;br&gt;
&amp;gt; Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop&lt;br&gt;&amp;gt; INFO: Stopping service Catalina&lt;br&gt;&amp;gt; The following are the difference between the howto and my catalina.log.&lt;br&gt;&amp;gt; Thanks,&lt;br&gt;&amp;gt;&lt;br&gt;
&amp;gt; Tak&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;
&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; Licensed to the Apache Software Foundation (ASF) under one or more
&lt;br&gt;&amp;nbsp; contributor license agreements. &amp;nbsp;See the NOTICE file distributed with
&lt;br&gt;&amp;nbsp; this work for additional information regarding copyright ownership.
&lt;br&gt;&amp;nbsp; The ASF licenses this file to You under the Apache License, Version 2.0
&lt;br&gt;&amp;nbsp; (the &amp;quot;License&amp;quot;); you may not use this file except in compliance with
&lt;br&gt;&amp;nbsp; the License. &amp;nbsp;You may obtain a copy of the License at
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.apache.org/licenses/LICENSE-2.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; Unless required by applicable law or agreed to in writing, software
&lt;br&gt;&amp;nbsp; distributed under the License is distributed on an &amp;quot;AS IS&amp;quot; BASIS,
&lt;br&gt;&amp;nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
&lt;br&gt;&amp;nbsp; See the License for the specific language governing permissions and
&lt;br&gt;&amp;nbsp; limitations under the License.
&lt;br&gt;--&amp;gt;
&lt;br&gt;&amp;lt;!-- Note: &amp;nbsp;A &amp;quot;Server&amp;quot; is not itself a &amp;quot;Container&amp;quot;, so you may not
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;define subcomponents such as &amp;quot;Valves&amp;quot; at this level.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at /docs/config/server.html
&lt;br&gt;&amp;nbsp;--&amp;gt;
&lt;br&gt;&amp;lt;Server port=&amp;quot;8005&amp;quot; shutdown=&amp;quot;SHUTDOWN&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!--APR library loader. Documentation at /docs/apr.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Listener className=&amp;quot;org.apache.catalina.core.AprLifecycleListener&amp;quot; SSLEngine=&amp;quot;on&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Listener className=&amp;quot;org.apache.catalina.core.JasperListener&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Listener className=&amp;quot;org.apache.catalina.mbeans.ServerLifecycleListener&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Listener className=&amp;quot;org.apache.catalina.mbeans.GlobalResourcesLifecycleListener&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!-- Global JNDI resources
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at /docs/jndi-resources-howto.html
&lt;br&gt;&amp;nbsp; --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;GlobalNamingResources&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Editable user database that can also be used by
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UserDatabaseRealm to authenticate users
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Resource name=&amp;quot;UserDatabase&amp;quot; auth=&amp;quot;Container&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type=&amp;quot;org.apache.catalina.UserDatabase&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; description=&amp;quot;User database that can be updated and saved&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; factory=&amp;quot;org.apache.catalina.users.MemoryUserDatabaseFactory&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pathname=&amp;quot;conf/tomcat-users.xml&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/GlobalNamingResources&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;!-- A &amp;quot;Service&amp;quot; is a collection of one or more &amp;quot;Connectors&amp;quot; that share
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a single &amp;quot;Container&amp;quot; Note: &amp;nbsp;A &amp;quot;Service&amp;quot; is not itself a &amp;quot;Container&amp;quot;, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;so you may not define subcomponents such as &amp;quot;Valves&amp;quot; at this level.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at /docs/config/service.html
&lt;br&gt;&amp;nbsp; &amp;nbsp;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Service name=&amp;quot;Catalina&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!--The connectors can use a shared executor, you can define one or more named thread pools--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Executor name=&amp;quot;tomcatThreadPool&amp;quot; namePrefix=&amp;quot;catalina-exec-&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxThreads=&amp;quot;150&amp;quot; minSpareThreads=&amp;quot;4&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- A &amp;quot;Connector&amp;quot; represents an endpoint by which requests are received
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and responses are returned. Documentation at :
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Java HTTP Connector: /docs/config/http.html (blocking &amp; non-blocking)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Java AJP &amp;nbsp;Connector: /docs/config/ajp.html
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;APR (HTTP/AJP) Connector: /docs/apr.html
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Define a non-SSL HTTP/1.1 Connector on port 8080
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&amp;quot;8080&amp;quot; protocol=&amp;quot;HTTP/1.1&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionTimeout=&amp;quot;20000&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;redirectPort=&amp;quot;8443&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- A &amp;quot;Connector&amp;quot; using the shared thread pool--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector executor=&amp;quot;tomcatThreadPool&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;port=&amp;quot;8080&amp;quot; protocol=&amp;quot;HTTP/1.1&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionTimeout=&amp;quot;20000&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;redirectPort=&amp;quot;8443&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define a SSL HTTP/1.1 Connector on port 8443
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This connector uses the JSSE configuration, when using APR, the 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connector should be using the OpenSSL style configuration
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;described in the APR documentation --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&amp;quot;8443&amp;quot; protocol=&amp;quot;HTTP/1.1&amp;quot; SSLEnabled=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;maxThreads=&amp;quot;150&amp;quot; scheme=&amp;quot;https&amp;quot; secure=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clientAuth=&amp;quot;false&amp;quot; sslProtocol=&amp;quot;TLS&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define an AJP 1.3 Connector on port 8009 --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&amp;quot;8009&amp;quot; protocol=&amp;quot;AJP/1.3&amp;quot; redirectPort=&amp;quot;8443&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- An Engine represents the entry point (within Catalina) that processes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;every request. &amp;nbsp;The Engine implementation for Tomcat stand alone
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;analyzes the HTTP headers included with the request, and passes them
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;on to the appropriate Host (virtual host).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at /docs/config/engine.html --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- You should set jvmRoute to support load-balancing via AJP ie :
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Engine name=&amp;quot;Standalone&amp;quot; defaultHost=&amp;quot;localhost&amp;quot; jvmRoute=&amp;quot;jvm1&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; --&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Engine name=&amp;quot;Catalina&amp;quot; defaultHost=&amp;quot;localhost&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--For clustering, please take a look at documentation at:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /docs/cluster-howto.html &amp;nbsp;(simple how to)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /docs/config/cluster.html (reference documentation) --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Cluster className=&amp;quot;org.apache.catalina.ha.tcp.SimpleTcpCluster&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- The request dumper valve dumps useful debugging information about
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;the request and response data received and sent by Tomcat.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at: /docs/config/valve.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Valve className=&amp;quot;org.apache.catalina.valves.RequestDumperValve&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- This Realm uses the UserDatabase configured in the global JNDI
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resources under the key &amp;quot;UserDatabase&amp;quot;. &amp;nbsp;Any edits
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;that are performed against this UserDatabase are immediately
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;available for use by the Realm. &amp;nbsp;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Realm className=&amp;quot;org.apache.catalina.realm.UserDatabaseRealm&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resourceName=&amp;quot;UserDatabase&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- Define the default virtual host
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Note: XML Schema validation will not work with Xerces 2.2.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Host name=&amp;quot;localhost&amp;quot; &amp;nbsp;appBase=&amp;quot;webapps&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unpackWARs=&amp;quot;true&amp;quot; autoDeploy=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlValidation=&amp;quot;false&amp;quot; xmlNamespaceAware=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- SingleSignOn valve, share authentication between web applications
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at: /docs/config/valve.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Valve className=&amp;quot;org.apache.catalina.authenticator.SingleSignOn&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- Access log processes all example.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Documentation at: /docs/config/valve.html --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Valve className=&amp;quot;org.apache.catalina.valves.AccessLogValve&amp;quot; directory=&amp;quot;logs&amp;quot; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;prefix=&amp;quot;localhost_access_log.&amp;quot; suffix=&amp;quot;.txt&amp;quot; pattern=&amp;quot;common&amp;quot; resolveHosts=&amp;quot;false&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Host&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Context path=&amp;quot;/xindice&amp;quot; docBase=&amp;quot;xindice&amp;quot; debug=&amp;quot;0&amp;quot; reloadable=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Logger className=&amp;quot;org.apache.catalina.logger.FileLogger&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;debug=&amp;quot;0&amp;quot; verbosity=&amp;quot;1&amp;quot; prefix=&amp;quot;xindice_log.&amp;quot; directory=&amp;quot;logs&amp;quot; timestamp=&amp;quot;true&amp;quot; suffix=&amp;quot;.txt&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Context&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Engine&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/Service&amp;gt;
&lt;br&gt;&amp;lt;/Server&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19523491.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19511662</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-16T06:18:25Z</published>
	<updated>2008-09-16T06:18:25Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">Hi Tak,
&lt;br&gt;&lt;br&gt;Here are step-by-step instructions for running Address Book. Please
&lt;br&gt;let me know if one of the step fails, and what was the error message.
&lt;br&gt;If there is an exception in Tomcat window/log or in the browser,
&lt;br&gt;please include it, too.
&lt;br&gt;&lt;br&gt;1. Deploy xindice.war file and start Tomcat.
&lt;br&gt;&lt;br&gt;2. Check localhost:8080/xindice URL - it should show Xindice database
&lt;br&gt;browser screen.
&lt;br&gt;&lt;br&gt;3. From the command line in Xindice home directory, run the following command:
&lt;br&gt;bin\xindice ac -c /db -n addressbook (Windows)
&lt;br&gt;or
&lt;br&gt;bin/xindice ac -c /db -n addressbook (Unix)
&lt;br&gt;&lt;br&gt;This will create new collection in the database. Address Book app uses
&lt;br&gt;it to store the information and won't work without it.
&lt;br&gt;&lt;br&gt;4. Deploy xindice-addressbook.war file that was built using new
&lt;br&gt;build.xml file. If address book application was deployed already, you
&lt;br&gt;may need to restart Tomcat to make sure the app does not try to use
&lt;br&gt;any cached values.
&lt;br&gt;&lt;br&gt;5. Check localhost:8080/addressbook URL. Clicking on 'List Contacts'
&lt;br&gt;link should return 'Sorry, No contacts found!' message. At this point,
&lt;br&gt;address book app should be functional.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;br&gt;On Mon, Sep 15, 2008 at 8:39 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19511662&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Natalia,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I re-compile with the new build.xml file and try. &amp;nbsp;The error remain.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From the catalina.log, even before the I go to the address book, the
&lt;br&gt;&amp;gt; database has stopped:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; INFO: Pausing Coyote HTTP/1.1 on http-8080
&lt;br&gt;&amp;gt; Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop
&lt;br&gt;&amp;gt; INFO: Stopping service Catalina
&lt;br&gt;&amp;gt; The following are the difference between the howto and my catalina.log.
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tak
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19511662.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19503521</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-15T17:39:07Z</published>
	<updated>2008-09-15T17:39:07Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi Natalia,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I re-compile with the new build.xml file and try.&amp;nbsp; The error remain.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;From the catalina.log, even before the I go to the address book, the database has stopped:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;INFO: Pausing Coyote HTTP/1.1 on http-8080&lt;br&gt;Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop&lt;br&gt;INFO: Stopping service Catalina&lt;br&gt;&lt;/div&gt;
&lt;div&gt;The following are the difference between&amp;nbsp;the howto and my catalina.log.&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;howto/installation:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;INFO: Starting Coyote HTTP/1.1 on port 8080&lt;br&gt;Nov 21, 2002 1:42:24 PM org.apache.jk.common.ChannelSocket init&lt;br&gt;INFO: JK2: ajp13 listening on tcp port 8009&lt;br&gt;Nov 21, 2002 1:42:24 PM org.apache.jk.server.JkMain start&lt;br&gt;
INFO: Jk running ID=0 time=20/70&amp;nbsp; config=D:\jakarta-tomcat-4.1.12\conf\jk2.properties&lt;br&gt;&lt;/div&gt;
&lt;div&gt;my catalina.log:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;INFO: Starting Coyote HTTP/1.1 on http-8080&lt;br&gt;Sep 15, 2008 7:55:39 PM org.apache.jk.common.ChannelSocket init&lt;br&gt;INFO: JK: ajp13 listening on /&lt;a href=&quot;http://0.0.0.0:8009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;0.0.0.0:8009&lt;/a&gt;&lt;br&gt;Sep 15, 2008 7:55:39 PM org.apache.jk.server.JkMain start&lt;br&gt;
INFO: Jk running ID=0 time=0/15&amp;nbsp; config=null&lt;br&gt;Sep 15, 2008 7:55:39 PM org.apache.catalina.startup.Catalina start&lt;br&gt;INFO: Server startup in 3443 ms&lt;br&gt;Sep 15, 2008 7:55:47 PM org.apache.coyote.http11.Http11Protocol pause&lt;br&gt;
INFO: Pausing Coyote HTTP/1.1 on http-8080&lt;br&gt;Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop&lt;br&gt;INFO: Stopping service Catalina&lt;br&gt;Sep 15, 2008 7:55:48 PM org.springframework.context.support.AbstractApplicationContext doClose&lt;br&gt;
INFO: Closing &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.web.context.support.XmlWebApplicationContext@...&lt;/a&gt;: display name [WebApplicationContext for namespace &amp;#39;springapp-servlet&amp;#39;]; startup date [Mon Sep 15 19:55:39 EDT 2008]; parent: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.web.context.support.XmlWebApplicationContext@...&lt;/a&gt;&lt;br&gt;
Sep 15, 2008 7:55:48 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons&lt;br&gt;INFO: Destroying singletons in &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.beans.factory.support.DefaultListableBeanFactory@...&lt;/a&gt;: defining beans [messageSource,/hello.htm,/priceincrease.htm,/hotsraw.htm,viewResolver]; parent: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.beans.factory.support.DefaultListableBeanFactory@...&lt;/a&gt;&lt;br&gt;
Sep 15, 2008 7:55:48 PM org.springframework.context.support.AbstractApplicationContext doClose&lt;br&gt;INFO: Closing &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.web.context.support.XmlWebApplicationContext@...&lt;/a&gt;: display name [Root WebApplicationContext]; startup date [Mon Sep 15 19:55:38 EDT 2008]; root of context hierarchy&lt;br&gt;
Sep 15, 2008 7:55:48 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons&lt;br&gt;INFO: Destroying singletons in &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org.springframework.beans.factory.support.DefaultListableBeanFactory@...&lt;/a&gt;: defining beans [productManager,productDao,dataSource,propertyConfigurer,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice]; root of factory hierarchy&lt;br&gt;
Sep 15, 2008 7:55:49 PM org.apache.xindice.server.XindiceServlet destroy&lt;br&gt;INFO: Database &amp;#39;db&amp;#39; successfully closed&lt;br&gt;Sep 15, 2008 7:55:49 PM org.apache.coyote.http11.Http11Protocol destroy&lt;br&gt;INFO: Stopping Coyote HTTP/1.1 on http-8080&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 15, 2008 at 2:29 PM, Tak-po Li &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://takpo.li&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks, Natalia, I will try it.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;div&gt;Tak&lt;/div&gt;&lt;/font&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;Wj3C7c&quot;&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 15, 2008 at 7:53 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19503521&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div&gt;On Sat, Sep 13, 2008 at 11:42 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi,&lt;br&gt;&amp;gt; I am newbie with xindice.&lt;br&gt;
&amp;gt; 1. I rename xindice-1.2m1.war to xindice.war and move it into webapps. &amp;nbsp;I&lt;br&gt;&amp;gt; successfully got &amp;quot;xindice (zeen-de-chay)&amp;quot; screen with localhost:8080/xindice&lt;br&gt;&amp;gt; 2. I did the same to addressbook-1.2mi.war and got a good screen with&lt;br&gt;
&amp;gt; locathost:8080/addressbook.&lt;br&gt;&amp;gt; 3. add &amp;lt;context ..&amp;gt;&amp;lt;/context&amp;gt; into server.xml (below &amp;lt;host&amp;gt; level).&lt;br&gt;&amp;gt; 4. When I try to add my entered data into database I get the following&lt;br&gt;&amp;gt; message: &amp;nbsp;Could someone please help?&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;br&gt;&lt;/div&gt;It&amp;#39;s a known problem with examples in 1.2m1 - its build.xml file did&lt;br&gt;not include ws-commons-util library. You can get corrected version of&lt;br&gt;build.xml file here:&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;amp;content-type=text%2Fplain&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;amp;content-type=text%2Fplain&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Replacing xml-xindice/java/examples/build.xml file with the new&lt;br&gt;version and rebuilding examples should fix the issue.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Natalia&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19503521.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19498492</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-15T11:29:59Z</published>
	<updated>2008-09-15T11:29:59Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Thanks, Natalia, I will try it.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 15, 2008 at 7:53 AM, Natalia Shilenkova &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19498492&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nshilenkova@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Sat, Sep 13, 2008 at 11:42 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://takpo.li/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;takpo.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hi,&lt;br&gt;&amp;gt; I am newbie with xindice.&lt;br&gt;
&amp;gt; 1. I rename xindice-1.2m1.war to xindice.war and move it into webapps. &amp;nbsp;I&lt;br&gt;&amp;gt; successfully got &amp;quot;xindice (zeen-de-chay)&amp;quot; screen with localhost:8080/xindice&lt;br&gt;&amp;gt; 2. I did the same to addressbook-1.2mi.war and got a good screen with&lt;br&gt;
&amp;gt; locathost:8080/addressbook.&lt;br&gt;&amp;gt; 3. add &amp;lt;context ..&amp;gt;&amp;lt;/context&amp;gt; into server.xml (below &amp;lt;host&amp;gt; level).&lt;br&gt;&amp;gt; 4. When I try to add my entered data into database I get the following&lt;br&gt;&amp;gt; message: &amp;nbsp;Could someone please help?&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;&amp;gt; Tak&lt;br&gt;&lt;br&gt;&lt;/div&gt;It&amp;#39;s a known problem with examples in 1.2m1 - its build.xml file did&lt;br&gt;not include ws-commons-util library. You can get corrected version of&lt;br&gt;build.xml file here:&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;amp;content-type=text%2Fplain&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;amp;content-type=text%2Fplain&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Replacing xml-xindice/java/examples/build.xml file with the new&lt;br&gt;version and rebuilding examples should fix the issue.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Natalia&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19498492.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19491509</id>
	<title>Re: install xindice into tomcat6.0</title>
	<published>2008-09-15T04:53:13Z</published>
	<updated>2008-09-15T04:53:13Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Sat, Sep 13, 2008 at 11:42 PM, Tak-po Li &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19491509&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;takpo.li@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I am newbie with xindice.
&lt;br&gt;&amp;gt; 1. I rename xindice-1.2m1.war to xindice.war and move it into webapps. &amp;nbsp;I
&lt;br&gt;&amp;gt; successfully got &amp;quot;xindice (zeen-de-chay)&amp;quot; screen with localhost:8080/xindice
&lt;br&gt;&amp;gt; 2. I did the same to addressbook-1.2mi.war and got a good screen with
&lt;br&gt;&amp;gt; locathost:8080/addressbook.
&lt;br&gt;&amp;gt; 3. add &amp;lt;context ..&amp;gt;&amp;lt;/context&amp;gt; into server.xml (below &amp;lt;host&amp;gt; level).
&lt;br&gt;&amp;gt; 4. When I try to add my entered data into database I get the following
&lt;br&gt;&amp;gt; message: &amp;nbsp;Could someone please help?
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Tak
&lt;/div&gt;&lt;br&gt;It's a known problem with examples in 1.2m1 - its build.xml file did
&lt;br&gt;not include ws-commons-util library. You can get corrected version of
&lt;br&gt;build.xml file here:
&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;content-type=text%2Fplain&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&amp;content-type=text%2Fplain&lt;/a&gt;&lt;br&gt;&lt;br&gt;Replacing xml-xindice/java/examples/build.xml file with the new
&lt;br&gt;version and rebuilding examples should fix the issue.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19491509.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19477117</id>
	<title>re: install xindice into tomcat6.0</title>
	<published>2008-09-13T20:42:53Z</published>
	<updated>2008-09-13T20:42:53Z</updated>
	<author>
		<name>takpoli</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Hi,&lt;/div&gt;
&lt;div&gt;I am newbie with xindice.&lt;/div&gt;
&lt;div&gt;1. I rename xindice-1.2m1.war to xindice.war and move it into webapps.&amp;nbsp; I&lt;br&gt;successfully got &amp;quot;xindice (zeen-de-chay)&amp;quot; screen with localhost:8080/xindice&lt;/div&gt;
&lt;div&gt;2.&amp;nbsp;I did the same to addressbook-1.2mi.war and got a good screen with&lt;br&gt;locathost:8080/addressbook.&lt;/div&gt;
&lt;div&gt;3. add &amp;lt;context ..&amp;gt;&amp;lt;/context&amp;gt; into server.xml (below &amp;lt;host&amp;gt; level).&lt;/div&gt;
&lt;div&gt;4. When I try to add my entered data into database I get the following&lt;br&gt;message:&amp;nbsp; Could someone please help?&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;Tak&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;p.s. attached please find tomcat log files right after start.&amp;nbsp; It seems the xindice was started then stopped&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;HTTP Status 500 -&lt;br&gt;------------------------------&lt;/div&gt;
&lt;div&gt;*type* Exception report&lt;/div&gt;
&lt;div&gt;*message* **&lt;/div&gt;
&lt;div&gt;*description* *The server encountered an internal error () that prevented it&lt;br&gt;from fulfilling this request.*&lt;/div&gt;
&lt;div&gt;*exception*&lt;/div&gt;
&lt;div&gt;javax.servlet.ServletException: Servlet execution threw an exception&lt;/div&gt;
&lt;div&gt;&amp;nbsp;*root cause*&lt;/div&gt;
&lt;div&gt;java.lang.NoClassDefFoundError: org/apache/ws/commons/serialize/DOMSerializer&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.serializer.NodeSerializer.&amp;lt;clinit&amp;gt;(NodeSerializer.java:27)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.TypeFactoryImpl.&amp;lt;clinit&amp;gt;(TypeFactoryImpl.java:85)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.XmlRpcController.&amp;lt;init&amp;gt;(XmlRpcController.java:28)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.client.XmlRpcClient.&amp;lt;init&amp;gt;(XmlRpcClient.java:50)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.connect(DatabaseImpl.java:222)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.getCollection(DatabaseImpl.java:287)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:138)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.DBConnection.getCollectionInstance(DBConnection.java:56)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Action.getCollection(Action.java:51)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.AddContact.add(AddContact.java:42)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Task.doPost(Task.java:77)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;/div&gt;
&lt;div&gt;&amp;nbsp;*root cause*&lt;/div&gt;
&lt;div&gt;java.lang.ClassNotFoundException: org.apache.ws.commons.serialize.DOMSerializer&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.serializer.NodeSerializer.&amp;lt;clinit&amp;gt;(NodeSerializer.java:27)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.TypeFactoryImpl.&amp;lt;clinit&amp;gt;(TypeFactoryImpl.java:85)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.XmlRpcController.&amp;lt;init&amp;gt;(XmlRpcController.java:28)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.client.XmlRpcClient.&amp;lt;init&amp;gt;(XmlRpcClient.java:50)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.connect(DatabaseImpl.java:222)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.getCollection(DatabaseImpl.java:287)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:138)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.DBConnection.getCollectionInstance(DBConnection.java:56)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Action.getCollection(Action.java:51)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.AddContact.add(AddContact.java:42)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Task.doPost(Task.java:77)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;/div&gt;
&lt;div&gt;&amp;nbsp;*note* *The full stack trace of the root cause is available in the Apache&lt;br&gt;Tomcat/6.0.16 logs.*&lt;br&gt;------------------------------&lt;br&gt;Apache Tomcat/6.0.16&lt;/div&gt;
&lt;div&gt;------=_Part_9282_15842929.1221321652266&lt;br&gt;Content-Type: text/html; charset=ISO-8859-1&lt;br&gt;Content-Transfer-Encoding: 7bit&lt;br&gt;Content-Disposition: inline&lt;/div&gt;
&lt;div&gt;&amp;lt;div dir=&amp;quot;ltr&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;Hi,&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;I am newbie with xindice.&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;div&amp;gt;1. I rename xindice-1.2m1.war to xindice.war and move it into webapps.&amp;amp;nbsp; I successfully got &amp;amp;quot;xindice (zeen-de-chay)&amp;amp;quot; screen with localhost:8080/xindice&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;div&amp;gt;2. I did the same to addressbook-1.2mi.war and got a good screen with locathost:8080/addressbook.&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;3. When I trt to add my entered data into database I get the following message:&amp;amp;nbsp; Could someone please help?&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;Thanks,&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;Tak&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;div&amp;gt;&lt;br&gt;&amp;lt;h1&amp;gt;HTTP Status 500 - &amp;lt;/h1&amp;gt;&lt;br&gt;&amp;lt;hr noshade size=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Exception report&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The server encountered an internal error () that prevented it from fulfilling this request.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;exception&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;javax.servlet.ServletException: Servlet execution threw an exception&lt;br&gt;&amp;lt;/pre&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;root cause&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;java.lang.NoClassDefFoundError: org/apache/ws/commons/serialize/DOMSerializer&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.serializer.NodeSerializer.&amp;amp;lt;clinit&amp;amp;gt;(NodeSerializer.java:27)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.TypeFactoryImpl.&amp;amp;lt;clinit&amp;amp;gt;(TypeFactoryImpl.java:85)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.XmlRpcController.&amp;amp;lt;init&amp;amp;gt;(XmlRpcController.java:28)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.client.XmlRpcClient.&amp;amp;lt;init&amp;amp;gt;(XmlRpcClient.java:50)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.connect(DatabaseImpl.java:222)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.getCollection(DatabaseImpl.java:287)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:138)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.DBConnection.getCollectionInstance(DBConnection.java:56)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Action.getCollection(Action.java:51)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.AddContact.add(AddContact.java:42)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Task.doPost(Task.java:77)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;br&gt;&amp;lt;/pre&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;root cause&amp;lt;/b&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;java.lang.ClassNotFoundException: org.apache.ws.commons.serialize.DOMSerializer&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.serializer.NodeSerializer.&amp;amp;lt;clinit&amp;amp;gt;(NodeSerializer.java:27)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.TypeFactoryImpl.&amp;amp;lt;clinit&amp;amp;gt;(TypeFactoryImpl.java:85)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.common.XmlRpcController.&amp;amp;lt;init&amp;amp;gt;(XmlRpcController.java:28)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xmlrpc.client.XmlRpcClient.&amp;amp;lt;init&amp;amp;gt;(XmlRpcClient.java:50)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.connect(DatabaseImpl.java:222)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl.getCollection(DatabaseImpl.java:287)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:138)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.xmldb.api.DatabaseManager.getCollection(Unknown Source)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.DBConnection.getCollectionInstance(DBConnection.java:56)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Action.getCollection(Action.java:51)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.AddContact.add(AddContact.java:42)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addressbook.Task.doPost(Task.java:77)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;br&gt;&amp;lt;/pre&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;note&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;
&amp;lt;hr noshade size=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div&gt;&amp;lt;h3&amp;gt;Apache Tomcat/6.0.16&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;catalina.2008-09-13.log&lt;/strong&gt; (12K) &lt;a href=&quot;http://www.nabble.com/attachment/19477117/0/catalina.2008-09-13.log&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;localhost.2008-09-13.log&lt;/strong&gt; (1K) &lt;a href=&quot;http://www.nabble.com/attachment/19477117/1/localhost.2008-09-13.log&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/re%3A-install-xindice-into-tomcat6.0-tp19477117p19477117.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19360115</id>
	<title>Re: problems lock file</title>
	<published>2008-09-07T09:57:54Z</published>
	<updated>2008-09-07T09:57:54Z</updated>
	<author>
		<name>lunapolar</name>
	</author>
	<content type="html">The problem was that I tried to run my aplication when netbeans was running it. 
&lt;br&gt;&lt;br&gt;Afther that, maybe
&lt;br&gt;something went wrong with the memory, and every time y tried to run, it thought that was running on netbeans also, like that time.
&lt;br&gt;&lt;br&gt;Afther restart tomcat and the system a few times the error has dissapeared. Thank you very much
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Natalia Shilenkova wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Wed, Sep 3, 2008 at 3:08 PM, lunapolar &amp;lt;crismayagomez@hotmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a great problem.....!!!!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My application was runnig great.... buy today... I don't know how.... when
&lt;br&gt;&amp;gt; xindice is started it gaves me an
&lt;br&gt;&amp;gt; exception:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.xindice.util.XindiceException: Unable to open lock file
&lt;br&gt;&amp;gt; C:\Documents and
&lt;br&gt;&amp;gt; Settings\Administrador\.netbeans\6.0\apache-tomcat-6.0.16_base\webapps\xindice\WEB-INF\db\db.lock.
&lt;br&gt;&amp;gt; Make sure database is not open by another process. Exception:
&lt;br&gt;&amp;gt; java.io.IOException: Could not delete lock file.
&lt;br&gt;&lt;br&gt;Did you check if another Xindice process is running already? When
&lt;br&gt;Xindice starts, it creates file db.lock and holds a lock on that file.
&lt;br&gt;If file already exists and cannot be deleted Xindice shuts down
&lt;br&gt;immediately, assuming that the database is already opened by another
&lt;br&gt;process. You need to close the other instance of Xindice to resolve
&lt;br&gt;the situation.
&lt;br&gt;&lt;br&gt;Alternatively, you can check if some other application holds the file
&lt;br&gt;open (that is less likely).
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problems-lock-file-tp19295926p19360115.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19296336</id>
	<title>Re: problems lock file</title>
	<published>2008-09-03T12:30:15Z</published>
	<updated>2008-09-03T12:30:15Z</updated>
	<author>
		<name>Natalia Shilenkova</name>
	</author>
	<content type="html">On Wed, Sep 3, 2008 at 3:08 PM, lunapolar &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19296336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;crismayagomez@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a great problem.....!!!!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My application was runnig great.... buy today... I don't know how.... when
&lt;br&gt;&amp;gt; xindice is started it gaves me an
&lt;br&gt;&amp;gt; exception:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.xindice.util.XindiceException: Unable to open lock file
&lt;br&gt;&amp;gt; C:\Documents and
&lt;br&gt;&amp;gt; Settings\Administrador\.netbeans\6.0\apache-tomcat-6.0.16_base\webapps\xindice\WEB-INF\db\db.lock.
&lt;br&gt;&amp;gt; Make sure database is not open by another process. Exception:
&lt;br&gt;&amp;gt; java.io.IOException: Could not delete lock file.
&lt;/div&gt;&lt;br&gt;Did you check if another Xindice process is running already? When
&lt;br&gt;Xindice starts, it creates file db.lock and holds a lock on that file.
&lt;br&gt;If file already exists and cannot be deleted Xindice shuts down
&lt;br&gt;immediately, assuming that the database is already opened by another
&lt;br&gt;process. You need to close the other instance of Xindice to resolve
&lt;br&gt;the situation.
&lt;br&gt;&lt;br&gt;Alternatively, you can check if some other application holds the file
&lt;br&gt;open (that is less likely).
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Natalia
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problems-lock-file-tp19295926p19296336.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19295926</id>
	<title>problems lock file</title>
	<published>2008-09-03T12:08:07Z</published>
	<updated>2008-09-03T12:08:07Z</updated>
	<author>
		<name>lunapolar</name>
	</author>
	<content type="html">I have a great problem.....!!!!!
&lt;br&gt;&lt;br&gt;My application was runnig great.... buy today... I don't know how.... when xindice is started it gaves me an
&lt;br&gt;exception:
&lt;br&gt;&lt;br&gt;org.apache.xindice.util.XindiceException: Unable to open lock file
&lt;br&gt;C:\Documents and Settings\Administrador\.netbeans\6.0\apache-tomcat-6.0.16_base\webapps\xindice\WEB-INF\db\db.lock. Make sure database is not open by another process. Exception: java.io.IOException: Could not delete lock file.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pleasee Could anyone help me????&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problems-lock-file-tp19295926p19295926.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18674066</id>
	<title>Friends, recommend you a good site, you unless they. Must have your favorite products.</title>
	<published>2008-07-27T00:35:13Z</published>
	<updated>2008-07-27T00:35:13Z</updated>
	<author>
		<name>Laurent Yew</name>
	</author>
	<content type="html">&lt;table cellspacing='0' cellpadding='0' border='0'&gt;&lt;tr&gt;&lt;td valign='top' style='font: inherit;'&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp; 
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;font color=&quot;#f000f0&quot;&gt;&lt;font size=&quot;5&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;My dear friend 
:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please allow us to disturb your precious time!&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; We are the 
Chinese biggest foreign trade wholesaler.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have time, please visit 
our website, our price must be satisfactory for you. Please feel free to contact 
us if you have any problems.&lt;br&gt;&lt;font size=&quot;6&quot;&gt;&lt;strong&gt;Website: &lt;/strong&gt;&lt;/font&gt;&lt;a href=&quot;http://www.shops-hot.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;font size=&quot;6&quot;&gt;&lt;strong&gt;www.shops-hot.com&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font size=&quot;6&quot;&gt;&lt;strong&gt;MSN&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&lt;/strong&gt;&lt;/font&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18674066&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shopshot@...&lt;/a&gt;&lt;br&gt;&lt;font size=&quot;6&quot;&gt;&lt;strong&gt;E-mail : &lt;/strong&gt;&lt;/font&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18674066&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shopshot@...&lt;/a&gt;&lt;br&gt;&lt;font size=&quot;6&quot;&gt;&lt;strong&gt;TEL&amp;nbsp;&amp;nbsp;&amp;nbsp; 
:&amp;nbsp;&amp;nbsp;0086-010-87132875&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;

      &lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Xindice---Users-f278.html&quot; embed=&quot;fixTarget[278]&quot; target=&quot;_top&quot; &gt;Xindice - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Friends%2C-recommend-you-a-good-site%2C-you-unless-they.-Must-have-your-favorite-products.-tp18674066p18674066.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18023134</id>
	<title>[GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed</title>
	<published>2008-06-18T21:51:59Z</published>
	<updated>2008-06-18T21:51:59Z</updated>
	<author>
		<name>Sam Ruby</name>
	</author>
	<content type="html">To whom it may engage...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;This is an automated request, but not an unsolicited one. For 
&lt;br&gt;more information please visit &lt;a href=&quot;http://gump.apache.org/nagged.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gump.apache.org/nagged.html&lt;/a&gt;, 
&lt;br&gt;and/or contact the folk at &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18023134&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;general@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Project xml-xindice has an issue affecting its community integration.
&lt;br&gt;This issue affects 1 projects.
&lt;br&gt;The current state of this project is 'Failed', with reas