David Kensche wrote:
Upayavira wrote:
...
Have you tried it without the webapp running? Just to test whether we are talking about the same problem?
Regards, Upayavira
You were right.
As I said there are two contexts running on tomcat - xindice-1.1b3-dev and xindice. The tools and my applications
always access the xindice context.
David,
Please take a look at: http://xml.apache.org/xindice/dev/guide-developer.html http://xml.apache.org/xindice/dev/guide-administrator.html
Search for "context" word. If something is not complete or not clear, please don't mind writing one or two paragraphs which you think should be included into the documentation.
When I stop xindice-1.1b3-dev before making any changes to the database, the
changes persist. Why are there two contexts at all?
I guess because you have deployed two web applications. Web application can be deployed either:
(a) By copying war file or webapp directory under the webapp folder
(b) By placing *.xml file under the webapp folder, and this xml should refer to war file or webapp directory
And why one, which is not accessed by the tools?
Answer on this is in the docs: all tools default to "/xindice" context. It can be overridden by system property.
And how can
the xindice-1.1b3-dev context be running if it is is not accessed by any application?
Because you have started it. You can find more information about web applications on Tomcat forums and in Sun's documentation.
Vadim