Re: WELCOME to [email protected]

Natalia Shilenkova <[email protected]> Thu, 4 Aug 2011 14:05:52 -0400
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
--Apple-Mail-5--833496537
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Aug 3, 2011, at 4:12 PM, pkp413 @gmail.com wrote:

> Thank you, Natalia. I was able to install and reconfigure the DB files =
for use with Xindice 1.1
>=20
> I am having a couple of issues now:
>=20
> #1. Do I need Tomcat to deploy/run Xindice 1.1 server? Can be it run =
without Tomcat using the xindiced start command instead? what are the =
trade-offs between using Tomcat or Jetty?

You don't need Tomcat. Any application server will do, including Jetty. =
There is not much difference, except the case where you already use =
Tomcat and would like to avoid having another server.=20

> #2. Our current scripts read and write to DB collections using =
commands like
> xindice rd -c //<DBSERVER>:4080/db/database -n TOC.xml
>=20
> The new xindice command-line does not like the fully qualified server =
name/port in front of the /db. These command would need to change to =
something like...
> xindice rd -d //<DBSERVER>:4080 -c /db/database -n TOC.xml

"-d" argument should point to DB configuration file and only applies =
when local database is used, but here the command-line tool will connect =
to the Xindice server over the network, so -d //<DBSERVER>:4080 will be =
ignored.

A non-standard port/host name for command-line tool can be set by =
specifying "-c" argument as full Xindice DB URL, such as:
bin/xindice lc -c xmldb:xindice://localhost:8888/db

> Which means all scripts that use xindice command-line will need to be =
updated...any workaround for that?

Unfortunately, I cannot think of any workaround for that.=20

Regards,
Natalia

> Thanks,
> =3DPat=3D
>=20


--Apple-Mail-5--833496537
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 3, 2011, at 4:12 PM, pkp413 @gmail.com wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thank you, Natalia. I was able to install and reconfigure the DB files for use with Xindice 1.1<div><br></div><div>I am having a couple of issues now:</div><div><br></div><div>#1. Do I need Tomcat to deploy/run Xindice 1.1 server? Can be it run without Tomcat using the <b>xindiced start</b> command instead? what are the trade-offs between using Tomcat or Jetty?</div></blockquote><div><br></div><div>You don't need Tomcat. Any application server will do, including Jetty. There is not much difference, except the case where you already use To
 mcat and would like to avoid having another server.&nbsp;</div><div><br></div><blockquote type="cite">
<div>#2. Our current scripts read and write to DB collections using commands like</div><div>xindice rd -c //&lt;DBSERVER&gt;:4080/db/database -n TOC.xml</div><div><br></div><div>The new xindice command-line does not like the fully qualified server name/port in front of the /db. These command would need to change to something like...</div>
<div>xindice rd -d //&lt;DBSERVER&gt;:4080 -c /db/database -n TOC.xml</div></blockquote><div><br></div>"-d" argument should point to DB configuration file and only applies when local database is used, but here the command-line tool will connect to the Xindice server over the network, so&nbsp;-d //&lt;DBSERVER&gt;:4080 will be ignored.</div><div><br></div><div><div>A non-standard port/host name for command-line tool can be set by specifying "-c" argument as full Xindice DB URL, such as:</div><div>bin/xindice lc -c xmldb:xindice://localhost:8888/db</div></div><div><br><blockquote type="cite"><div>Which means all scripts that use xindice command-line will need to be updated...any workaround for that?</div></blockquote><div><br></div><div>Unfortunately, I cannot think of any workaround for tha
 t.&nbsp;</div><div><br></div><div>Regards,</div><div>Natalia</div><div><br></div><blockquote type="cite"><div>
Thanks,</div><div>=Pat=</div><div><br></div></blockquote></div><br></body></html>
--Apple-Mail-5--833496537--