Re: [Owlim-discussion] Unable to find custom Lucene Scorer

2013-02-11 Thread damyan

hi Marek,

Both Scorer and ScorerFactory were moved into 
com.ontotext.trree.plugin.lucene package but that was not reflected 
within the obfuscation script and those end up obfuscated. I've already 
changed the online documentation and the next maintenance release of 5.3 
will expose those interfaces properly.


Sorry for the inconvenience

Damyan Ognyanov,
Ontotext AD

On 2/11/2013 11:45 PM, Marek Šurek wrote:

Hi,
I would like to ask where can I find interface ScorerFactory and 
Scorer. According to documentation 
(http://owlim.ontotext.com/display/OWLIMv53/OWLIM-SE+Full-text+Search) 
it should be here : com.ontotext.trree.plugin.ScorerFactory and also 
com.ontotext.trree.plugin.Scorer. But I'm not able to find it. Could 
you guide me where to search?

OWLIM SE 5.3 b5777

Best regards,
Marek


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


[Owlim-discussion] Unable to find custom Lucene Scorer

2013-02-11 Thread Marek Šurek
Hi,
I would like to ask where can I find interface ScorerFactory and Scorer. 
According to documentation 
(http://owlim.ontotext.com/display/OWLIMv53/OWLIM-SE+Full-text+Search) it 
should be here : com.ontotext.trree.plugin.ScorerFactory and also 
com.ontotext.trree.plugin.Scorer. But I'm not able to find it. Could you guide 
me where to search?
OWLIM SE 5.3 b5777

Best regards,
Marek
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion


[Owlim-discussion] OWLIM SE - File too large exception - on Glassfish

2013-02-11 Thread Ing. Marek Smid

Hello,

does anybody have an idea what could be causing the File too large 
exception?
We are running a Sesame 2.6.10 with OWLIM-SE 5.3.5689 on our Glassfish 
3.1.2 server. However, when we try to work with the OWLIM repositories 
on the Sesame, it gives this strange exception. On the client it logs this:


WARNING: Server reports problem: 
org.openrdf.repository.RepositoryException: 
org.openrdf.sail.SailException: java.lang.RuntimeException: 
java.io.IOException: File too large
org.openrdf.repository.RepositoryException: Transaction failed: 
org.openrdf.repository.RepositoryException: 
org.openrdf.sail.SailException: java.lang.RuntimeException: 
java.io.IOException: File too large (500)

at 
org.openrdf.http.client.HTTPClient.sendTransaction(HTTPClient.java:738)
	at 
org.openrdf.repository.http.HTTPRepositoryConnection.commit(HTTPRepositoryConnection.java:277)
	at 
cz.cvut.kbss.ontomind.editor.onto.impl.JenaOwlimOntologyBackendImpl.closeModel(JenaOwlimOntologyBackendImpl.java:86)

at
...

And on the server, the log is:


java.lang.RuntimeException: java.io.IOException: File too large
at com.ontotext.trree.io.ReadWriteFile.write(Unknown Source)
at com.ontotext.trree.big.collections.a.f.a(Unknown Source)
at com.ontotext.trree.big.collections.a.m.do(Unknown Source)
at com.ontotext.trree.big.collections.a.b.a(Unknown Source)
at com.ontotext.trree.util.j.a(Unknown Source)
at com.ontotext.trree.big.collections.a.b.a(Unknown Source)
at com.ontotext.trree.big.collections.Collection$b.if(Unknown 
Source)

at com.ontotext.trree.transactions.h.if(Unknown Source)
at com.ontotext.trree.transactions.f.if(Unknown Source)
at com.ontotext.trree.transactions.f.if(Unknown Source)
at com.ontotext.trree.transactions.g.commit(Unknown Source)
at com.ontotext.trree.SailConnectionImpl.commit(Unknown Source)
at 
org.openrdf.repository.sail.SailRepositoryConnection.commit(SailRepositoryConnection.java:86)
at 
org.openrdf.repository.base.RepositoryConnectionBase.setAutoCommit(RepositoryConnectionBase.java:192)
at 
org.openrdf.http.server.repository.statements.StatementsController.getTransactionResultResult(StatementsController.java:349)
at 
org.openrdf.http.server.repository.statements.StatementsController.handleRequestInternal(StatementsController.java:108)

at
...
Caused by: java.io.IOException: File too large
at sun.nio.ch.FileDispatcher.pwrite0(Native Method)
at sun.nio.ch.FileDispatcher.pwrite(FileDispatcher.java:45)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:68)
at sun.nio.ch.IOUtil.write(IOUtil.java:43)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:638)


It is probably some problem with Sesame-Glassfish compatibility, since 
on Tomcat it works fine.


Another weird thing seen in Glassfish log is this:

[#|2013-02-11T12:49:22.171+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=63;_ThreadName=Thread-2;|Page.refCount 
dropped below zero: -1|#]


It always accompanies the File too large exceptions.


Looking forward for any information.


Regards,
Marek Smid


--
Ing. Marek Smid
Katedra kybernetiky
CVUT FEL
Tel: +420 22435 7410
E-mail: smidm...@fel.cvut.cz
___
Owlim-discussion mailing list
Owlim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion