logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NehaG <neha.gup...@wipro.com>
Subject RE: [SPAM (Keyword Checking)] - JMS Appender Issue - log4j - Found word(s) list error in the Text body
Date Wed, 27 Aug 2008 05:38:25 GMT

The log4j.properties file is being read by my code. As other appenders are
working fine for me with the same configurations. But the JMS Appender is
giving the problem. The error may lie somewhere else.


Bender Heri wrote:
> 
> This error occurs normally if the config file could not have been found
> at all by log framework. It must be found in classpath.
> Heri
> 
>> -----Original Message-----
>> From: NehaG [mailto:neha.gupta5@wipro.com] 
>> Sent: Tuesday, August 26, 2008 7:06 AM
>> To: log4j-user@logging.apache.org
>> Subject: [SPAM (Keyword Checking)] - JMS Appender Issue - 
>> log4j - Found word(s) list error in the Text body
>> 
>> 
>> Hi All
>> I am trying to use JMS Appender of log4j in my application 
>> using log4j.properties file - but its not running.
>> I am using the jboss-4.2.2.GA Server. The error I am getting 
>> is as follows:
>> 
>> log4j:WARN No appenders could be found for 
>> logger(org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory).
>> log4j:WARN Please initialize the log4j system properly.
>> 
>> The code does not run ahead of this warning and it stucks there.
>> 
>> I searched a lot but am not able to find the solution.
>> The log4j.properties file configuration which I am using is 
>> as follows:
>> 
>> log4j.rootLogger=DEBUG, jmsapp
>> log4j.appender.jmsapp=org.apache.log4j.net.JMSAppender
>> log4j.appender.jmsapp.InitialContextFactoryName=org.jnp.interf
>> aces.NamingContextFactory
>> log4j.appender.jmsapp.ProviderURL=jnp://localhost:1099
>> log4j.appender.jmsapp.TopicBindingName=topic/testTopic
>> log4j.appender.jmsapp.TopicConnectionFactoryBindingName=Connec
>> tionFactory
>> 
>> If someone knows about the problem - please let me know. Any 
>> help is a welcome.
>> 
>> Thanks
>> Neha
>> --
>> View this message in context: 
>> http://www.nabble.com/JMS-Appender-Issue---log4j-tp19155840p19
>> 155840.html
>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A--SPAM-%28Keyword-Checking%29----JMS-Appender-Issue---log4j---Found-word%28s%29-list-error-in-the-Text-body-tp19157140p19174942.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


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


Mime
View raw message