Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 11971 invoked from network); 16 Jul 2010 19:49:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 19:49:45 -0000 Received: (qmail 14473 invoked by uid 500); 16 Jul 2010 19:49:45 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 14070 invoked by uid 500); 16 Jul 2010 19:49:44 -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 14062 invoked by uid 99); 16 Jul 2010 19:49:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 19:49:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 19:49:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6GJfopB007582 for ; Fri, 16 Jul 2010 19:41:50 GMT Message-ID: <23045286.425141279309310538.JavaMail.jira@thor> Date: Fri, 16 Jul 2010 15:41:50 -0400 (EDT) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-640) ClassNotFoundException for InstrumentationFactory upon startup In-Reply-To: <1798808175.1214217764955.JavaMail.jira@brutus> 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/OPENJPA-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-640: -------------------------------- Fix Version/s: 2.0.0-beta3 > ClassNotFoundException for InstrumentationFactory upon startup > -------------------------------------------------------------- > > Key: OPENJPA-640 > URL: https://issues.apache.org/jira/browse/OPENJPA-640 > Project: OpenJPA > Issue Type: Bug > Components: kernel > Affects Versions: 1.0.2, 1.1.0, 1.2.0 > Environment: JDK6, 1.2.0-trunk > Reporter: Mingfai Ma > Assignee: Rick Curtis > Priority: Minor > Fix For: 2.0.0-beta3 > > > This problem exists for a long time and it affects more than other people as well. Refer to an old thread in the mail list. > http://mail-archives.apache.org/mod_mbox/openjpa-users/200801.mbox/%3C478963D8.209@gmail.com%3E > java.lang.ClassNotFoundException: org.apache.openjpa.enhance.InstrumentationFactory > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:280) > at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348) > Previously, I had an old trick to patch the org.apache.openjpa.enhance.InstrumentationFactory.jar to include the InstrumentationFactory but it doesn't work now. > Remarks: the problem is merely about displaying a piece of stacktrace but there is no actual impact to the OpenJPA function. (that's why I marked the priority as minor.) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.