Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 53562 invoked from network); 3 Aug 2007 04:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2007 04:33:18 -0000 Received: (qmail 56199 invoked by uid 500); 3 Aug 2007 04:33:17 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 56175 invoked by uid 500); 3 Aug 2007 04:33:17 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 55893 invoked by uid 99); 3 Aug 2007 04:33:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 21:33:16 -0700 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; Fri, 03 Aug 2007 04:32:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72B5E7141F6 for ; Thu, 2 Aug 2007 21:32:53 -0700 (PDT) Message-ID: <3043395.1186115573464.JavaMail.jira@brutus> Date: Thu, 2 Aug 2007 21:32:53 -0700 (PDT) From: "Craig Russell (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-295) ArrayIndexOutofBoundsException when under load and within a managed Transaction In-Reply-To: <8873582.1185380191072.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/OPENJPA-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Russell updated OPENJPA-295: ---------------------------------- Attachment: openjpa-295.patch Sorry, forgot to svn add the new abstract class before svn diff. The new patch includes the new class. I still have not put the findBroker method into the ManagedRuntime pending a bit more discussion. > ArrayIndexOutofBoundsException when under load and within a managed Transaction > ------------------------------------------------------------------------------- > > Key: OPENJPA-295 > URL: https://issues.apache.org/jira/browse/OPENJPA-295 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Affects Versions: 1.0.0 > Environment: openjpa running under WebSphere development builds, as well as Geronimo development builds > Reporter: Rob Wisniewski > Priority: Blocker > Attachments: openjpa-295.patch, OPENJPA295.patch > > > Recent development builds of our WAS products as well as the Geronimo project are seeing exceptions when running under load. An example of the exception is below: > Caused by: > java.lang.ArrayIndexOutOfBoundsException > at java.util.ArrayList.add(ArrayList.java:378) > at org.apache.openjpa.kernel.AbstractBrokerFactory.syncWithManagedTransaction(AbstractBrokerFactory.java:684) > ... 39 more > This is the deepest trace I can get with the actual exception, but the wrappering exception shows this stack trace for geronimo: > <1.0.0-SNAPSHOT-SNAPSHOT nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null > at org.apache.openjpa.kernel.AbstractBrokerFactory.syncWithManagedTransaction(AbstractBrokerFactory.java:690) > at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:304) > at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:182) > at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142) > at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:190) > at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:55) > at org.apache.geronimo.persistence.CMPEntityManagerTxScoped.createEntityManager(CMPEntityManagerTxScoped.java:74) > at org.apache.geronimo.persistence.CMPEntityManagerTxScoped.getEntityManager(CMPEntityManagerTxScoped.java:55) > at org.apache.geronimo.persistence.CMPEntityManagerTxScoped.createNamedQuery(CMPEntityManagerTxScoped.java:259) > at org.apache.geronimo.samples.daytrader.ejb3.TradeSLSBBean.getClosedOrders(TradeSLSBBean.java:335) > This is happening in two separate products with two different JTA implementations, and also both of these products were working at one point. > Any ideas? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.