You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by bu...@apache.org on 2004/10/10 23:04:39 UTC
DO NOT REPLY [Bug 31622] New: -
collections which has no documents in it are not found if apache server with xindice dployment is shut down and restarted
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31622
collections which has no documents in it are not found if apache server with xindice dployment is shut down and restarted
Summary: collections which has no documents in it are not found
if apache server with xindice dployment is shut down and
restarted
Product: Xindice
Version: cvs head (1.1)
Platform: PC
URL: http://http://http://
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: DB Engine
AssignedTo: xindice-dev@xml.apache.org
ReportedBy: phex100@aon.at
I created the following sequence of collections on
xmldb:xindice://localhost:8080/db using apache tomcat 5.5:
gridminer
gridminer/001projectname
gridminer/001projectname/001workflowname
gridminer/001projectname/001workflowname/dt
then i added a document to the collection
gridminer/001projectname/001workflowname/dt and it worked fine. the document was
in the collection and i could query it. the rootcollections of dt like
gridminer, 001projectname and 001workflowname had no documents in it. then i
shut down the tomcat server and restarted it. after querying xindice i realized
that now only the gridminer collection was there. all other subcollections like
"001projectname" I could not query because they were not found! then i created
the above collections again and added in each collection a document, shut down
the server, restarted tomcat and all collections could be found.
it seems that I need to add a document in each collection to make it´s
subcollections persistent eles i loose the documents of the subcollection if one
root collection has no documents in it. and this only if the server is shut down
and restarted! if the server is never shut down or never crachs, there is no
problem with that. but it can be a nasty thing if it happens. :(