Dear all,

I build a cluster to build my BigOWLIM repository (after which I transfer the 
files to my laptop to do actual query evaluation). The cluster uses NFS to 
mount the user home file system, and this is where I store the repository. I 
access BigOWLIM locally from code (i.e. OwlimSchemaRepository) and the code 
runs on one physical node only.

However, I am not able to use BigOWLIM versions since 3.2.3 (I assume the lock 
file was introduced in this version?). BigOWLIM 3.2.6 gives the exception as 
in attachment. I start with a repository without lock file, and the lock file 
is created by the process that crashes immediately thereafter. If I use 
BigOWLIM 3.2.2, my code runs perfectly.

Is there a way to disable or ignore the logfile in BigOWLIM 3.2.6?



Merry Christmas & a happy New Year,
Bert Verslyppe
u...@login:~$ rm /home/user/output/repositories/owlim-storage/lock
u...@login:~$ ./scripts/importext
OwlimSchemaRepository: 3.2.6
Build date:  11-05-2009 11:25
Tokenization regular expression: [\p{L}\d_]+
Repository fragments: 1
Inferencer threads: 1
ftsPolicy = never
Cache pages for tuples: 4193
Cache pages for predicates: 0
Cache pages for FTS: 0
storage folder: /home/user/output/repositories/owlim-storage/
java.lang.RuntimeException: Repository under 
/home/user/output/repositories/owlim-storage/ is currently in use (we failed to 
lock its lockfile: /home/user/output/repositories/owlim-storage/lock)
        at com.ontotext.trree.OwlimSchemaRepository.initialize(Unknown Source)
        at 
org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:84)
        at be.ugent.twing.owlim.tools.ImportExtData.main(ImportExtData.java:36)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:283)
        at java.lang.Thread.run(Thread.java:619)
_______________________________________________
OWLIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/owlim-discussion

Reply via email to