Hi Alvaro,
As far as i understand the situation is that you are trying
to do this while KIM is running. If so, then yes you couldnt do that.
Anyway even if you succeed in this KIM wont reload automatically upon such
an event.
... Shutting down KIM and removing the folder, be it automatically, is the
only way.
If we understood correctly, but our answers were satisfactory, maybe you
could suggest a better way for this ?
Cheers,
borislav
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alvaro Hernandez
Sent: Monday, November 19, 2007 7:26 PM
To: DanKo
Cc: [email protected]
Subject: Re: [KIM-discussion] Setting PersistanceId to 0
Thank you DanKo, but as I have said before:
"Then, I tried to deleted all files in the index directory, but I couldn't
because KIM is using them."
I tried to clearing the content of the <KIM_HOME>\context\default\populated
folder, but I want to do that automatically, by program, but I couldn't
because some of the files are being used by KIM.
So, is there a workaround ??
Thank you,
Alvaro
DanKo <[EMAIL PROTECTED]> wrote:
Hi Alvaro,
If I understand you right you want to remove all the populated documents
and their annotations and start over with and empty KIM repository
( as if just being installed ).
That you can achieve by clearing the content of the
<KIM_HOME>\context\default\populated
folder. This is described in our system documentation here:
HYPERLINK
"http://www.ontotext.com/kim/doc/sys-doc/kim-platform-administration/configu
re-kim-context-folder.html"http://www.ontotext.com/kim/doc/sys-doc/kim-platf
orm-administration/configure-kim-context-folder.html
If you use the COREDB repository - as additional step after clearing of the
"populated"
folder - you must start the KIM Server and after that the CORE DB Tool. This
will
clear the content of the RDB part of the Document Storage.
If something more specific is waht you need, please send some details.
Best regards,
DanKo
----- Original Message -----
From: HYPERLINK "mailto:[EMAIL PROTECTED]"Alvaro Hernandez
To: HYPERLINK
"mailto:[email protected]"[email protected]
Sent: Saturday, November 17, 2007 4:46 PM
Subject: [KIM-discussion] Setting PersistanceId to 0
Hi, everybody. I want to clean all the document annotations.
So, I deleted every document using the deleteDoc method, and I want to set
the Persistance Id to zero (0).
I tried this using the createIndex method, but due to the fact the index
directory is not empty, it didn't let me do that.
Then, I tried to deleted all files in the index directory, but I couldn't
because KIM is using them.
So, I don't have a solution so far.
My goal is to clean the repository, and set the Persistance Id to 0.
Could you please help me ??
Alvaro
_____
Never miss a thing. HYPERLINK
"http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs"Make Yahoo your
homepage.
_____
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of
this mailing list.
KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
__________ NOD32 2665 (20071117) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
_____
Get easy, one-click access to your favorites. HYPERLINK
"http://us.rd.yahoo.com/evt=51443/*http:/www.yahoo.com/r/hs"Make Yahoo! your
homepage.
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 18.11.2007
ã. 17:15 ÷.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 19.11.2007
ã. 19:05 ÷.
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this
mailing list.
KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com