Hello Ivan,

I have everything working now. I was just making a comment (I don't want to
concern you at all).  

It maybe a little more involved than just doing a close().

In the JDBC world there a numerous little behavioral nuances, example read
connections can be shared.  Hence a single read connection can be setup for
multiple threads.  

Secondly, many of the modern connection managers handle the close, and
everything is magic.  I never worried about the close() when I was testing
and developing with eXist-db.  (maybe I should have, but I never did)
 
I really don't know the behavior of the Sedna Java code.  The code looks and
behaves more C/C++.  A more Java like wrapper would be nice.  

Thanks for your time,
Malcolm

-----Original Message-----
From: Ivan Shcheklein [mailto:shchekl...@gmail.com] 
Sent: Sunday, November 21, 2010 7:41 AM
To: Malcolm Davis
Cc: sedna-discussion
Subject: Re: [Sedna-discussion] Java connection management & SE3007

Hi Malcolm,




        From the FAQ section of Sedna website on Windows issues: "SE3007:
Failed to receive a message" is blamed on Winsock2 issues.  

        I was able to recreate the SE3007 problem using Sedna's Java
ConnectionManager in a multi thread application. 

        I was able to resolve the SE3007 by writing my own connection
wrapper around the ConnectionManager.

        I most have spent time investigating project/code at www.cfoster.net
<http://www.cfoster.net/>  rather than writing my own.



It this error still issue for you?
Most likely, you should just properly close connection in a finally { }
block.

Ivan Shcheklein,
Sedna Team




------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to