[ https://issues.apache.org/jira/browse/LOG4J2-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021168#comment-14021168 ]
Abid commented on LOG4J2-461: ----------------------------- I have managed to reproduce the issue without log4j api and core jars. I created dummy ClassA (whose object I instantiate in custom security provider implementation class) and ClassB (object instantiated in ClassA) in jars A.jar and B.jar respectively, bundled these with the WLS custom security provider and modified the manifest file bundle-classpath - am getting same "NoClassDefFoundError" {code} <Jun 8, 2014 1:16:01 PM AST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: examples/pack1/A. weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: examples/pack1/A at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341) at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220) ... ... {code} Will check with Oracle Support on this. Thanks, Abid > ERROR StatusLogger Unable to locate a logging implementation, using > SimpleLogger > --------------------------------------------------------------------------------- > > Key: LOG4J2-461 > URL: https://issues.apache.org/jira/browse/LOG4J2-461 > Project: Log4j 2 > Issue Type: Bug > Components: log4j 1.2 emulation > Affects Versions: 2.0-beta9, 2.0-rc1 > Environment: Android > Reporter: Gaurav Kapoor > Priority: Blocker > Attachments: MANIFEST.MF > > > ERROR StatusLogger Unable to locate a logging implementation, using > SimpleLogger > Code: > Logger LOG = LogManager.getLogger(MainActivity.class); > LOG.error("Test Log4j2"); > {code} > <?xml version="1.0" encoding="UTF-8"?> > <Configuration> > <Appenders> > <Console name="STDOUT" target="SYSTEM_OUT"> > <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> > </Console> > </Appenders> > <Loggers> > <Logger name="hello" level="info"/> > <Root level="trace"> > <AppenderRef ref="STDOUT"/> > </Root> > </Loggers> > </Configuration> > {code} -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org