Hello everybody,
I'm using VOS Version 6.1.7-dev.3127-pthreads as of Jan 23 2013
downloaded from git repository on GitHub.
I've installed it, and used through the jena provider (virtjdbc3) to
write some triples in a named graph I created using the dba user.
Everything works (I'm able to insert triples and query the underlying
graph) until I try to insert triple number 9999, then I get this
exception:
Exception in thread "main" com.hp.hpl.jena.shared.JenaException:
Couldn't create transaction:com.hp.hpl.jena.shared.JenaException:
virtuoso.jdbc3.VirtuosoException: SR491: Too many open statements

I looked around for "virtuoso.jdbc3.VirtuosoException: SR491: Too many
open statements", and found this page:
http://boards.openlinksw.com/phpBB3/viewtopic.php?f=12&t=2244 where it
seems other people had my same problem, and could be able to solve it
by patching the sources with the second patch found in the thread.
So I tried patching, but it fails with:
$ patch --dry-run -p0 < ../../patches/virtuosoPreparedStatement.patch
patching file virtuoso/jdbc2/VirtuosoPreparedStatement.java
Hunk #1 FAILED at 340.
1 out of 1 hunk FAILED -- saving rejects to file
virtuoso/jdbc2/VirtuosoPreparedStatement.java.rej

What can I do to solve this "Too many open statements" exception?

The same problem occurs when using VOS version 6.1.6 downloaded from
SourceForge.

Thank you
  Andrea

-- 
Andrea Bagnacani - altlabel
web: bagnacan.web.cs.unibo.it
twitter: @altlabel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to