Joel wrote:

Well, you know what I'm going to do, I'm going to drop that
addressbook.war into TC. My, that was fast. And I try to look at the
list of contacts on http://localhost and xindice wants to read from port
8888. And I've left xindice on port 8080 because I'm lazy. Arrgghhh.



You can set environment variable to let Xindice know which port to use. See wiki.



Haven't found this environment variable yet. I have been using the


   xindice <cmd> -c xmldb:xindice://localhost:8080/db

for a while, and it works just fine for command-line queries.

However, I just tried duplicating the main Connector declaration in
tomcat's server.xml, but removing the redirectPort attribute:

<Connector port="8888"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100"
debug="0" connectionTimeout="20000" disableUploadTimeout="true" />


Restarted Tomcat, and now the addressbook example app works just peachy.


Nice.

After quick look into addressbook I found that it always look for xindice in default location: on the localhost, port 8888. This demo needs to be modified to add collection url configuration parameter.

Vadim



Reply via email to