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:[EMAIL PROTECTED] >> 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]