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

leor amikam commented on LOG4J2-2173:
-------------------------------------

I am still running into this issue with jboss deployment.  Note that in 
jboss-deployment-structure.xml, we are excluding

all the default jboss logger class loading in order to use the log4j2 jars.  Is 
there any new dependency for 2.10.0 that

I may be missing from exclusion?

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
 
 <deployment>

<exclusions>
 <module name="org.apache.log4j" />
 <module name="org.apache.commons.logging"/>
 <module name="org.apache.commons.logging" />
 <module name="org.jboss.logging" />
 <module name="org.jboss.logging.jul-to-slf4j-stub" />
 <module name="org.jboss.logmanager" />
 <module name="org.jboss.logmanager.log4j" />
 <module name="org.slf4j" />
 <module name="org.slf4j.impl" /> 
 </exclusions>
 </deployment>

> 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
>            Priority: Major
>         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
(v7.6.3#76005)

Reply via email to