Return-Path: X-Original-To: apmail-db-jdo-dev-archive@www.apache.org Delivered-To: apmail-db-jdo-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 A124C9343 for ; Wed, 21 Mar 2012 06:20:12 +0000 (UTC) Received: (qmail 48737 invoked by uid 500); 21 Mar 2012 06:20:08 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 48685 invoked by uid 99); 21 Mar 2012 06:20:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 06:20:06 +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; Wed, 21 Mar 2012 06:20:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 44976CDA41 for ; Wed, 21 Mar 2012 06:19:43 +0000 (UTC) Date: Wed, 21 Mar 2012 06:19:43 +0000 (UTC) From: "Craig L Russell (Commented) (JIRA)" To: jdo-dev@db.apache.org Message-ID: <105480097.40530.1332310783290.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1000615660.13665.1330056109795.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JDO-706) No enhancer log output with maven 2 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/JDO-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234145#comment-13234145 ] Craig L Russell commented on JDO-706: ------------------------------------- Can you try creating a class loader that has the log4j.properties (nothing else) and set it as the context class loader? I don't think anything else in the enhancer depends on the context class loader. The exectck creates a class loader from which to load the enhancer implementation, and then exectck passes another class loader to the enhancer implementation that contains the classes and metadata to enhance. So replacing the context class loader should be innocuous in this context. > No enhancer log output with maven 2 > ----------------------------------- > > Key: JDO-706 > URL: https://issues.apache.org/jira/browse/JDO-706 > Project: JDO > Issue Type: Bug > Components: tck > Affects Versions: JDO 3 maintenance release 1 (3.1) > Reporter: Michelle Caisse > Assignee: Michelle Caisse > > No log output for enhancement is produced. The following warnings are issued: > [INFO] [jdo-exectck:enhance {execution: default-cli}] > log4j:WARN No appenders could be found for logger (DataNucleus.Enhancer). > log4j:WARN Please initialize the log4j system properly. > Enhancing classes for identity type datastoreidentity > The classpath available to the enhancer does not provide access to the log properties file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira