[Kim-discussion] Error during KIM installation
Marin Nozhchev
mnozchev at sirma.bg
Fri Jul 2 08:55:03 EDT 2010
Hello Nabonita,
KIM 3 requires a Sun / Oracle JDK as stated in the documentation. You
cannot use a Java runtime Environment (JRE) or any JDK bundled with your
Linux distribution (OpenJDK, GNU JRE). I attached a more detailed
annotation guide. Please follow it and tell me if you have any other
problems.
Best regards,
Marin Nozhchev
On 02.07.2010 15:36 ?., Nabonita Guha wrote:
> Hi,
>
> I would like to request the developers/forum members to help me in
> resolving an error I'm encountering during KIM 3 installation in
> ubuntu linux with Java 6. Today I have downloaded KIM 3 from ontotext
> site. Following is the error I'm getting after issuing the command
> *./kim start*
>
> *nabonita at nabonita-laptop:~/kim-platform-3.0-RC3/bin$ ./kim start
> KIM_HOME=/home/nabonita/kim-platform-3.0-RC3
> KIM_CONTEXT=/home/nabonita/kim-platform-3.0-RC3/context/default
> KIM_MAX_JAVA_HEAP=1g
> KIM_LOG_FOLDER=/home/nabonita/kim-platform-3.0-RC3/log
> ls: cannot access /home/nabonita/kim-platform-3.0-RC3/lib/owlim/*.jar:
> No such file or directory
> [INFO] : : : : : : : : KIM SERVER START : : : : : : : :
> [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/wkb#'
> [INFO] Configured parameter 'ruleset' to 'kb/KIMRules.pie'
> [INFO] Configured parameter 'ftsLiteralsOnly' to 'true'
> [INFO] Configured parameter 'console-thread' 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] KIMService registered on port 1099
> [INFO] Configured parameter 'repository-type' to 'file-repository'
> Compiled:
> '/home/nabonita/kim-platform-3.0-RC3/context/default/kb/KIMRules.pie'
> [ERROR] Server Starter thread failed!
> java.rmi.RemoteException: Error creating repository; nested exception is:
> java.lang.RuntimeException: Java compiler not found!
> at
> com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.reconnect(UnmanagedRepositoryFactory.java:44)
> at
> com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceImpl.java:228)
> at
> com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceImpl.java:198)
> at
> com.ontotext.kim.KIMServiceImpl$ServerComponentStarter.run(KIMServiceImpl.java:82)
> Caused by: java.lang.RuntimeException: Java compiler not found!
> at
> com.ontotext.trree.rules.RuntimeInferencerCompiler.compileInferencer(RuntimeInferencerCompiler.java:97)
> at
> com.ontotext.trree.OwlimSchemaRepository.initialize(OwlimSchemaRepository.java:501)
> at
> org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:84)
> at
> com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.reconnect(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.
>
> *At present all files in KIM3 folder are executable, hoping that will
> resolve this error, but no success :(
>
> Looking forward for your help.
>
> With best regards
>
> Nabonita
>
> --
> Nabonita
> JNCASR, Bangalore - 560064
> Karnataka, INDIA
> Email: nabonitaguha at gmail.com <mailto:nabonitaguha at gmail.com>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ontotext.com/pipermail/kim-discussion/attachments/20100702/7b211e96/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Installation.pdf
Type: application/pdf
Size: 306806 bytes
Desc: not available
URL: <http://ontotext.com/pipermail/kim-discussion/attachments/20100702/7b211e96/attachment-0001.pdf>
More information about the Kim-discussion
mailing list