Hi Leen,

It seems that KIM has been stopped abnormally and the Owlim index is corrupt.  
You can remove the "populated" content in KIM and make it regenerate its 
indexes. Do that by deleting  "KIM/context/default/populated" . Please note, 
that this will also remove everything you have added to the semantic repository 
and all the documents you have populated. When you start KIM again, it will 
generate the indexes based on the rdf files described in the imports section in 
 KIM/config/owlim.ttl  .

Hth
Philip Alexiev
Software Engineer, KIM platform

On 28 Feb 2011, at 3:46 AM, leen hashim wrote:

> here are the log
> 
> c:\KIM\bin>kim
> "KIM_MAX_JAVA_HEAP = 1g"
> "JAVA_HOME = C:\Program Files\Java\jdk1.6.0_24"
> "KIM_HOME = c:\KIM\bin\.."
> [INFO] : : : : : : : : KIM SERVER START : : : : : : : :
> [INFO] KIMService registered on port 1099
> [INFO] OwlimSchemaRepository: 3.3
> [INFO] Build date:  06-22-2010 11:57
> [INFO] Configured parameter 'imports' to 'kb/owl/owl.rdfs;
>                                  kb/owl/protons.owl;
>                                  kb/owl/protont.owl;
>                                  kb/owl/protonu.owl;
>                                  kb/owl/kimso.owl;
>                                  kb/owl/kimlo.owl;
>                                  kb/skos-owl1-dl.rdf;
>                                  kb/wkb.nt;
>                                  kb/wkbx.nt;'
> [INFO] Configured parameter 'defaultNS' to 'http://www.w3.org/2002/07/owl#;
>                                 
> http://proton.semanticweb.org/2006/05/protons#;
>                                 
> http://proton.semanticweb.org/2006/05/protont#;
>                                 
> http://proton.semanticweb.org/2006/05/protonu#;
>                                 http://www.ontotext.com/kim/2006/05/wkb#;
>                                 http://www.ontotext.com/kim/2006/05/wkb#;
>                                 http://www.ontotext.com/kim/2006/05/wkb#;
>                                 http://www.ontotext.com/kim/2006/05/wkb#;
> 
>                                 http://www.ontotext.com/kim/2006/05/wkb#;'
> [INFO] Configured parameter 'base-URL' to 
> 'http://www.ontotext.com/kim/2006/05/
> kb#'
> [INFO] Configured parameter 'ruleset' to 'kb/KIMRules.pie'
> [INFO] Configured parameter 'ftsLiteralsOnly' to 'true'
> [INFO] Configured parameter 'console-thread' to 'false'
> [INFO] Configured parameter 'useShutdownHooks' to 'false'
> [INFO] Configured parameter 'entity-index-size' to '400000'
> [INFO] Configured parameter 'ftsIndexPolicy' to 'onStartup'
> [INFO] Tokenization regular expression: [\p{L}\d_]+
> [INFO] Repository fragments: 1
> [INFO] Inferencer threads: 1
> [INFO] ftsPolicy = on-startup
> [INFO] fts: indexing literals only
> [INFO] Configured parameter 'tuple-index-memory' to '100M'
> [INFO] Configured parameter 'fts-memory' to '80M'
> [INFO] Cache pages for tuples: 5241
> [INFO] Cache pages for predicates: 0
> [INFO] Cache pages for FTS: 4193
> [INFO] Configured parameter 'storage-folder' to 'populated'
> [INFO] Configured parameter 'repository-type' to 'file-repository'
> [ERROR] Server Starter thread failed!
> java.rmi.RemoteException: Error creating repository; nested exception is:
>         java.lang.RuntimeException: Empty header page detected! The 
> c:\KIM\cont
> xt\default\.\populated/psois corrupted!
>         at 
> com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.recon
> ect(UnmanagedRepositoryFactory.java:44)
>         at 
> com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceI
> pl.java:228)
>         at 
> com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceI
> pl.java:198)
>         at 
> com.ontotext.kim.KIMServiceImpl$ServerComponentStarter.run(KIMServic
> Impl.java:82)
> Caused by: java.lang.RuntimeException: Empty header page detected! The 
> c:\KIM\c
> ntext\default\.\populated/psois corrupted!
>         at com.ontotext.trree.big.PageCache.<init>(PageCache.java:47)
>         at 
> com.ontotext.trree.big.SortedCollection.<init>(SortedCollection.java
> 30)
>         at com.ontotext.trree.big.AVLRepository.<init>(AVLRepository.java:92)
>         at 
> com.ontotext.trree.OwlimSchemaRepository.newRepository(OwlimSchemaRe
> ository.java:647)
>         at 
> com.ontotext.trree.OwlimSchemaRepository.initialize(OwlimSchemaRepos
> tory.java:468)
>         at 
> org.openrdf.repository.sail.SailRepository.initialize(SailRepository
> java:84)
>         at 
> com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.recon
> ect(UnmanagedRepositoryFactory.java:40)
>         ... 3 more
> [INFO] It is now safe to close the KIM Server.
> [INFO] KIMService unregistered from port 1099
> [INFO] It is now safe to close the KIM Server.
> 
> On Fri, Feb 25, 2011 at 4:04 PM, Philip Alexiev @ Ontotext 
> <philip.alex...@ontotext.com> wrote:
> Hi Leen
> 
> Could you provide the whole log. There is probably a problem somewhere 
> preventing KIM from starting. The log will point us to this problem.
> 
> Thank you,
> Philip
> 
> On 25 Feb 2011, at 4:14 AM, leen hashim wrote:
> 
>> hi 
>>   ..i've a problem in starting KIM server
>>    yesterday it works really fine ..right after installation
>>   but today it prompt following message
>> 
>> [INFO] It is now safe to close the HIM Server.
>> [INFo] KIMService unregistered fron port 1099
>> [INFO] It is now safe to close the KIM Server.
>> 
>>   even though i try to stop using kim stop command
>>   it cannot close the kim server
>> 
>> how do i fix this ..and start successfully the KIM server
>> ..p.s i'm not good in Java language
>> pls explain step by step action to be done ..
>> 
>> tq in advance
>> leen
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Kim-discussion mailing list
>> Kim-discussion@ontotext.com
>> http://ontotext.com/mailman/listinfo/kim-discussion
> 
> 
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion@ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion

_______________________________________________
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to