Hi Andrea

The patch in that boards post is applied to the latest devel archive already, 
and the sources would have changed since then so it is not surprising that it 
fails to apply. So it would appear your error is occurring for another reason 
or you are picking up and old version of the JDBC Driver, thus can you please 
confirm the driver version in use with the command:

        java  virtuoso.jdbc3.Driver

which should return something like:

$ java  virtuoso.jdbc3.Driver
OpenLink Virtuoso(TM) Driver for JDBC(TM) Version 3.x [Build 3.62]
$

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 23 Jan 2013, at 16:41, Andrea Bagnacani - altlabel <[email protected]> 
wrote:

> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to