GeeCON Prague 2014*
The moose likes Websphere and the fly likes Websphere 7.0 , LOG4J JMSAppender problem, session closed after couple of messages written to Topic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere 7.0 , LOG4J JMSAppender problem, session closed after couple of messages written to Topic" Watch "Websphere 7.0 , LOG4J JMSAppender problem, session closed after couple of messages written to Topic" New topic
Author

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

Vk Reddy
Greenhorn

Joined: May 20, 2009
Posts: 1
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.
VK
 
GeeCON Prague 2014
 
subject: Websphere 7.0 , LOG4J JMSAppender problem, session closed after couple of messages written to Topic