Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6289673A for ; Sun, 5 Jun 2011 18:41:10 +0000 (UTC) Received: (qmail 19357 invoked by uid 500); 5 Jun 2011 18:41:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19334 invoked by uid 500); 5 Jun 2011 18:41:10 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 19327 invoked by uid 99); 5 Jun 2011 18:41:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Jun 2011 18:41:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Jun 2011 18:41:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 916FB102ABB for ; Sun, 5 Jun 2011 18:40:47 +0000 (UTC) Date: Sun, 5 Jun 2011 18:40:47 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <1025379259.70056.1307299247592.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-3870) Concurrent Inserts of rows with XML data results in an exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-3870: -------------------------------------- Issue & fix info: [Known fix, Patch Available, Repro attached] (was: [Repro attached, Known fix]) > Concurrent Inserts of rows with XML data results in an exception > ---------------------------------------------------------------- > > Key: DERBY-3870 > URL: https://issues.apache.org/jira/browse/DERBY-3870 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.4.1.3, 10.4.2.1, 10.5.2.0, 10.6.1.0 > Environment: System: MS windows server 2003 standard edition service pack 2. Derby is run as a server on port 1527. > Reporter: Royi Ronen > Assignee: Knut Anders Hatlen > Labels: derby_triage10_5_2 > Fix For: 10.8.1.3, 10.9.0.0 > > Attachments: Copy of derby.log, DerbyMultiInsertXmlException.zip, d3870-1a.diff, d3870-1a.stat, d3870-2a.diff, d3870-3a.diff, d3870-3a.stat, d3870-junit.diff, upgrade-with-test.diff, upgrade.diff > > > We insert rows into a table using the following prepared statement (through JDBC): > INSERT INTO USER1.PSTORE values(?,?, XMLPARSE(document CAST (? AS CLOB) preserve whitespace)) > where each of the ?'s are replaced with a string. > One thread runs fine. Two or more result in the following exception: > org.apache.derby.client.am.SqlException: Java exception: 'FWK005 parse may not be called while parsing.: org.xml.sax.SAXException'. > at org.apache.derby.client.am.SqlException.(Unknown Source) > at org.apache.derby.client.am.SqlException.(Unknown Source) > We believe that this comes from the dBuilder.parse(InputSource) method. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira