[
https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363128#comment-16363128
]
leor amikam commented on LOG4J2-2173:
-------------------------------------
Still have not been able to resolve this issue. all the logging libs are being
excluded in the jboss-deployment-structure.xml file as shown below.
Any other suggestions to try? We rely heavily on the JMS appender, and can't
have it error out in a production environment?
Thanks,
Leor
<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>
<sub-deployment name="HansenIntegrationFramework-ejb.jar">
<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>
</sub-deployment>
<sub-deployment name="HansenIntegrationFramework-web.war">
<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>
</sub-deployment>
</jboss-deployment-structure>
> 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)