You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2011/07/09 09:05:16 UTC

[jira] [Commented] (JDO-681) RI enhancer is not finding log4j properties file

    [ https://issues.apache.org/jira/browse/JDO-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062337#comment-13062337 ] 

Andy Jefferson commented on JDO-681:
------------------------------------

DataNucleus does *not* look for any log4j.properties file anywhere. Log4J looks for log4j.properties, and it either expects it provided as a System property to the Java process, or at the root of the CLASSPATH. That is nothing to do with DataNucleus IMHO. Please clarify where you think DataNucleus is involved

> RI enhancer is not finding log4j properties file
> ------------------------------------------------
>
>                 Key: JDO-681
>                 URL: https://issues.apache.org/jira/browse/JDO-681
>             Project: JDO
>          Issue Type: Bug
>          Components: tck
>    Affects Versions: JDO 3 maintenance release 1
>            Reporter: Michelle Caisse
>            Assignee: Andy Jefferson
>
> While running the enhance goal of the TCK, on instantiation of the enhancer, warnings are produced about log4j initialization and appenders. The resources(log4j.properties) are on the classpath of the classloader used to instantiate the enhancer. To find the resources, the enhancer need to use that classloader, not the context classloader.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira