DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31192>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31192

log4j should support delayed appender activation

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2004-09-13 23:01 -------
The attached project needs to have the log4j-1.2.8.jar, jbossall-client.jar and
junit-3.8.1.jars added to the lib directory to successfully compile.  As a
clarification there is no know problem with the jboss server, log4j and a jms
appender.  Instead from a client, the following stacktrace is produced:

log4j:ERROR Error while activating options for appender named [jms].
java.lang.NullPointerException
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1190)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:515)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.apache.log4j.net.JMSAppender.lookup(Unknown Source)
        at org.apache.log4j.net.JMSAppender.activateOptions(Unknown Source)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
        at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
        at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
        at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
        at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
        at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
        at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
        at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
        at org.jboss.logging.Logger.<init>(Logger.java:78)
        at org.jboss.logging.Logger.getLogger(Logger.java:291)
        at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:101)
        at
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at com.abc.logging.core.LoggingTest.setUp(LoggingTest.java:55)
        at junit.framework.TestCase.runBare(TestCase.java:125)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to