[jboss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError

alchemista do-not-reply at jboss.com
Mon Dec 4 08:35:36 EST 2006


I use my JMS client as an appender for log4j.  In log4j, since append is called very frequently, it's not recommended to close the sender/session/connection each time.

Apache's log4j JMS Appender does not close the publisher/session/connection with each log send.  The doAppend method is synchronized luckily :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990981#3990981

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990981



More information about the jboss-user mailing list