Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 68683 invoked from network); 9 Dec 2007 02:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2007 02:39:08 -0000 Received: (qmail 39913 invoked by uid 500); 9 Dec 2007 02:38:56 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 39878 invoked by uid 500); 9 Dec 2007 02:38:56 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 39866 invoked by uid 99); 9 Dec 2007 02:38:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2007 18:38:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Dec 2007 02:39:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D11C714233 for ; Sat, 8 Dec 2007 18:38:43 -0800 (PST) Message-ID: <7486726.1197167923086.JavaMail.jira@brutus> Date: Sat, 8 Dec 2007 18:38:43 -0800 (PST) From: "Ate Douma (JIRA)" To: jetspeed-dev@portals.apache.org Subject: [jira] Updated: (JS2-666) Clustered Environment: constraint violation if clones are started at the same time In-Reply-To: <16347532.1174506632209.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JS2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ate Douma updated JS2-666: -------------------------- Attachment: jetspeed-JS2-666-patch2.diff As I had to apply the provided patch by hand to be able to review it, I made a new one. Note: I haven't yet reviewed the patch yet, but plan to do so later this weekend / early next week. > Clustered Environment: constraint violation if clones are started at the same time > ---------------------------------------------------------------------------------- > > Key: JS2-666 > URL: https://issues.apache.org/jira/browse/JS2-666 > Project: Jetspeed 2 > Issue Type: Bug > Components: Portlet Registry > Affects Versions: 2.1 > Environment: Websphere Application Server 6.0 > Database DB2 8.2 > Reporter: Frank Stalherm > Assignee: David Sean Taylor > Fix For: 2.2 > > Attachments: jetspeed-JS2-666-patch.diff, jetspeed-JS2-666-patch2.diff > > > Clustered Environment: constraint violation if clones are started at the same time. > Exception thrown: > com.ibm.websphere.ce.cm.DuplicateKeyException: [IBM][CLI Driver][DB2/6000] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "2" constrains table "PORTLET_APPLICATION" from having duplicate rows for those columns. SQLSTATE=23505 > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java(Compiled Code)) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code)) > at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code)) > at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:502) > at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:545) > at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:902) > at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:555) > at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:216) > at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1754) > at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:813) > at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:726) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org