[ 
https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309945#comment-16309945
 ] 

Gary Gregory commented on LOG4J2-2173:
--------------------------------------

Hi Leor,

The stack trace points to code that does not match the 2.10.0 release 
(specifically 
{{org.apache.logging.log4j.core.appender.mom.JmsAppender.append(JmsAppender.java:69)}}
 cannot throw an exception). Please make sure you are indeed using 2.10.0. 
Starting with 2.9, the JMS Appender will try to reconnect every 5 seconds. See 
https://logging.apache.org/log4j/2.x/manual/appenders.html#JMSAppender and 
{{reconnectIntervalMillis}}.

Gary

> JMS Appender is not re-connecting on JBoss
> ------------------------------------------
>
>                 Key: LOG4J2-2173
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2173
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Appenders
>    Affects Versions: 2.10.0
>         Environment: Jboss EAP 7.0
>            Reporter: leor amikam
>         Attachments: log4j2.xml, stack_trace.log
>
>
> We are using a JMS appender to write to JBoss EAP7 ActiveMQ.   If there is no 
> logging activity for a period of time ( not sure of duration at this point - 
> several hours at least), then get this error:
> occurred processing Appender HIFAuditAppender 
> org.apache.logging.log4j.core.appender.AppenderLoggingException: 
> javax.jms.IllegalStateException: Session is closed
> Any thoughts on how to debug?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to