Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7CCD10592 for ; Tue, 17 Sep 2013 20:47:19 +0000 (UTC) Received: (qmail 89453 invoked by uid 500); 17 Sep 2013 20:46:01 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 89225 invoked by uid 500); 17 Sep 2013 20:45:57 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 88141 invoked by uid 99); 17 Sep 2013 20:44:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 20:44:41 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 20:44:34 +0000 Received: by mail-ob0-f175.google.com with SMTP id uz6so6320750obc.34 for ; Tue, 17 Sep 2013 13:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1gKl+JRaTJb7fa7NOVe/UkYtOWCGMLNWbTdJxiqeBg0=; b=AuJA9CNTNh6KJ7o+P666RzAl0jS3R951eOFGAY17pI+2nJBq6Y3HooiFJ/ZSEVaCRW EqJ+if6ec4+XPlcZcWno8iD4epVA1mKOL/JZcMw7lNTX3dBLbd2IAX2z0gEfgSsuIGSn qMrnN/t/1+AT4gbYBYSzbGfpMqm58T8EAV3x3Y31A/7lILePkCxi0I8sz5G4NNmOPf10 jKMV16swCcX6WtqAEiucFYdpG1bzNnPDhklKDf2lzFMJ+W++gQECafIOCGl5zLAlYxI1 NDdznbxtJ+zCEpznrxAsZszOAYlO/VVLdpDVLQIQL+6JJVHqoY+ENxL5KtosOAcxqChl 5mWw== MIME-Version: 1.0 X-Received: by 10.182.237.75 with SMTP id va11mr31991653obc.5.1379450653195; Tue, 17 Sep 2013 13:44:13 -0700 (PDT) Received: by 10.60.17.10 with HTTP; Tue, 17 Sep 2013 13:44:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Sep 2013 15:44:13 -0500 Message-ID: Subject: Re: org.apache.openjpa.persistence.PersistenceException: null From: Rick Curtis To: users Content-Type: multipart/alternative; boundary=e89a8ff1c99e2b90ce04e69a627d X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c99e2b90ce04e69a627d Content-Type: text/plain; charset=ISO-8859-1 What are the versions of JDK that you used on Windows / Linux... and what JDK did you use to build the application? On Tue, Sep 17, 2013 at 3:14 PM, Leonardo K. Shikida wrote: > Hi > > I have an tomee 1.5.2 + that runs perfectly on linux, but when I try to run > from windows, it gives me the following error message (see stacktrace) > > My doubts are > > - what does it mean :-) > - why only in windows > - is there any way to deal with this? > > My feeling it that it's somehow related to the OpenJPA enhancement process, > but I really don't have a clue here. > > TIA > > Leo > > Exception in thread "main" javax.ejb.EJBException: The bean encountered a > non-application exception; nested exception is: > > org.apache.openjpa.persistence.PersistenceException: null > at > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:363) > > at > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:283) > > at (...) at > (...) > Caused by: > org.apache.openjpa.persistence.PersistenceException: null > at > > org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:96) > > at > > org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176) > > at > > org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:314) > > at > > org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:238) > > at > > org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:212) > > at > > org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156) > > at > > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227) > > at > > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60) > > at > > org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:160) > > at > > org.apache.openejb.persistence.JtaEntityManagerRegistry.getEntityManager(JtaEntityManagerRegistry.java:115) > > at > > org.apache.openejb.persistence.JtaEntityManager.getEntityManager(JtaEntityManager.java:80) > > (...) > Caused by: java.lang.VerifyError > at sun.instrument.InstrumentationImpl.retransformClasses0(Native > Method) > at > > sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) > > ... 52 more > -- *Rick Curtis* --e89a8ff1c99e2b90ce04e69a627d--