logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44649] New: JMS Hangs when a Root Appender
Date Thu, 20 Mar 2008 21:19:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44649

           Summary: JMS Hangs when a Root Appender
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: mikef@raytheon.com


Trying the JMS example from log4j commercial book, I found that it got this far
and just hung:

log4j: Threshold ="null".
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [chapter3.Foo] additivity to [true].
log4j: Level value for chapter3.Foo is  [debug].
log4j: chapter3.Foo level set to DEBUG
log4j: Class name: [org.apache.log4j.net.JMSAppender]
howdy
log4j: Setting property [initialContextFactoryName] to
[org.jnp.interfaces.NamingContextFactory].
log4j: Setting property [providerURL] to [jnp://localhost:1099].
log4j: Setting property [URLPkgPrefixes] to
[org.jboss.naming:org.jnp.interfaces].
log4j: Setting property [topicConnectionFactoryBindingName] to
[ConnectionFactory].
log4j: Setting property [topicBindingName] to [topic/statusLog].
log4j: Setting property [locationInfo] to [true].
log4j: Getting initial context.
log4j: Looking up [ConnectionFactory]
log4j:WARN No appenders could be found for logger
(org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory).
log4j:WARN Please initialize the log4j system properly.
log4j: About to create TopicConnection.

I solved this problem by getting the JMS logger out of the
"SpyConnectionFactoryObjectFactory" logger tree. Basically, the log was kicking
off JMS, which then tried to log something to JMS and deadlock insues. Very
frustrating.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message