Hello Sedna support and Charles Foster,

 

I've faced a bug that led to Sedna database files corruption. As a result, I
had to restore the database from a backup. Luckily, it was on test
environment.

 

The bug occurs when you try to upload an xml with empty contents and then
try to upload anything else within the same connection.

Results:

-          Empty document is correctly uploaded into XML DB;

-          XML DB immediately goes down right after the second upload;

-          No errors in event.log;

-          org.xmldb.api.base.XMLDBException: IOException occoured
(Connection reset).

 

Please find the Java code that reproduces the bug attached together with
java.log and event.log. I reproduced the bug both on Windows and Linux Sedna
builds 3.5.161.

 

I consider it's a bug in both Sedna XML DB itself and Sedna Java XML:DP API
implementation by Charles Foster. I'd never expect XML DB to go down
immediately, even without any error messages in event.log. Also it seems
something inappropriate happens in Java API implementation.

 

Charles,

I understand that you stopped working on the Java API implementation but I
hope you'll consider fixing this bug as it's quite critical.

 

Best regards,

Ivan Lagunov

 

Attachment: java.log
Description: Binary data

Attachment: TestEmptyXmlBug.java
Description: Binary data

Attachment: event.log
Description: Binary data

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to