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

Gary Gregory edited comment on LOG4J2-2173 at 4/19/18 1:12 AM:
---------------------------------------------------------------

I have no easy way of testing _your_ configuration but this smells like a class 
loader issue.

Can you try:
 # Get our sources from the {{release-2.x}} branch
 # Apply the attached patch 
{{[logging-log4j2-2173-gg.patch|https://issues.apache.org/jira/secure/attachment/12919727/logging-log4j2-2173-gg.patch]}}
 # Build it quickly with '{{mvn clean install \-DskipTests}}'. If you want to 
run all the tests, omit '{{-DskipTests}}'.
 # Change your project dependency from whatever your Log4j version is to 
{{2.11.1-SNAPSHOT}}
 # Test


was (Author: garydgregory):
I have no easy way of testing _your_ configuration but this smells like a class 
loader issue.

Can you try:
 # Get our sources from the {{release-2.x}} branch
 # Apply the attached patch {{logging-log4j2-2173-gg.patch}}
 # Build it quickly with '{{mvn clean install \-DskipTests}}'. If you want to 
run all the tests, omit '{{-DskipTests}}'.
 # Change your project dependency from whatever your Log4j version is to 
{{2.11.1-SNAPSHOT}}
 # Test

> 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, logging-log4j2-2173-gg.patch, 
> mavenproject33.zip, 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