Greg Bowering created LOG4J2-162:
------------------------------------

             Summary: PluginManager breaks for Eclipse RCP applications using 
Eclipse versions older than 3.5.2
                 Key: LOG4J2-162
                 URL: https://issues.apache.org/jira/browse/LOG4J2-162
             Project: Log4j 2
          Issue Type: Bug
          Components: Configurators
    Affects Versions: 2.0-beta3
            Reporter: Greg Bowering
            Priority: Trivial


My app is running under Eclipse 3.4.3 and log4j works fine so long as you don't 
need to locate any custom Plugins at runtime (using the configuration packages 
attribute) in which case ResolverUtil produces a NoSuchMethodError (see 
attached) for 
[FrameworkUtil|http://www.osgi.org/javadoc/r4v42/org/osgi/framework/FrameworkUtil.html]#getBundle(Class)
 which apparently is only available since Eclipse 3.5.2 (OSGI 4.2).

As a workaround I was able to run PluginManager standalone to generate 
org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat as described 
under Plugin Preloading in the manual.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to