Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere 7.0 , LOG4J JMSAppender problem, session closed after couple of messages written to Topic  RSS feed

Vk Reddy
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,

We are trying to use the Log4J JMSAppender to write the log messages to a MQ Topic and subsequently process them.

I have successfully tested out the JMSAppender using Websphere 7.0 server environment and MQ Series with JNDI file store holding the administered objects
the log4j appender configuration i gave is

but I am getting strange behavior when I set the MQTopic /Topic Connection Factory as JMS Administered objects on the Web sphere Server environment through Admin Console.

The log messages are written for one servlet request and subsequent requests are coming as JMS Session closed

Here is the error I am getting:

Log4J configuration for JNDI on Websphere console is:

I am getting an incident dump when this happens.

Please let me know if any of you have gone through this.

Thanks for your time.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!