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