[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16454451#comment-16454451 ] leor amikam commented on LOG4J2-2173: - OK thanks! > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16454450#comment-16454450 ] Gary Gregory commented on LOG4J2-2173: -- Please post back here with your progress but first make sure to use {{2.11.1-SNAPSHOT}} or {{3.0.0-SNAPSHOT}}. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16454421#comment-16454421 ] Gary Gregory commented on LOG4J2-2173: -- I created LOG4J2-2173 to track the fix for {{java.util.ServiceConfigurationError: org.apache.logging.log4j.util.PropertySource: Provider org.apache.logging.log4j.util.EnvironmentPropertySource not a subtype}} > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452873#comment-16452873 ] leor amikam commented on LOG4J2-2173: - [~garydgregory] Hi, I tried you test with the patch, and the deployment worked, but getting some other JMS errors I need to look at. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452379#comment-16452379 ] leor amikam commented on LOG4J2-2173: - I got it built with 9 now. Thanks > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452375#comment-16452375 ] Ralph Goers commented on LOG4J2-2173: - I am not aware that we have tested with Java 10 but there should be no problem - at least until September when Java 10 is no longer available or supported. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452258#comment-16452258 ] leor amikam commented on LOG4J2-2173: - Looks like JDK 9 is no longer available/supported. Can I use jdk 10? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452225#comment-16452225 ] leor amikam commented on LOG4J2-2173: - HI Sorry for my ignorance, but how is this patch file applied? What tool? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16450477#comment-16450477 ] leor amikam commented on LOG4J2-2173: - Will try your suggestion. Thanks > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16443411#comment-16443411 ] Gary Gregory commented on LOG4J2-2173: -- 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 # 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16439696#comment-16439696 ] leor amikam commented on LOG4J2-2173: - [~garydgregory] - Hi. Just tried version 2.11.0 Still getting this error: ** {code:java} Caused by: java.util.ServiceConfigurationError: org.apache.logging.log4j.util.PropertySource: Provider org.apache.logging.log4j.util.EnvironmentPropertySource not a subtype{code} > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16406729#comment-16406729 ] Gary Gregory commented on LOG4J2-2173: -- Log4j 2.x requires Java 7 at runtime. Version 2.11.0 was just released, please test that. Log4j 3.x will require Java 8 at runtime. If you are using Java 9, Log4j will take advantage of some special code we have for Java 9. > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16406703#comment-16406703 ] leor amikam commented on LOG4J2-2173: - Hello. Any updates to my questions from 21/Feb/18 ? Thank you. Leor > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371528#comment-16371528 ] leor amikam commented on LOG4J2-2173: - I see this was reported previously - https://issues.apache.org/jira/browse/LOG4J2-1934 Issue says it was fixed in vesion 2.9.0. Does that version require the java 9 compilation? Where can I obtain version 2.9.0? > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371335#comment-16371335 ] leor amikam commented on LOG4J2-2173: - OK. Any plans on backporting the JMS re-connect logic to 2.7? Is there any workaround for the jms connection issue? WE use the JMS appender heavily, and cannot have this happen in a production environment. Thanks, Leor > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16370872#comment-16370872 ] Gary Gregory commented on LOG4J2-2173: -- Based on "Could not index class module-info.class", it sounds like you've unfortunately run afoul of our attempt to integrate with Java 9's module system. I wish we'd done that in a completely separate jar or not at all. This seems to break every tool chain on the planet. I've had to fix our build at work with a similar issue. It breaks Android tools as well. > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16370687#comment-16370687 ] leor amikam commented on LOG4J2-2173: - Anyone? > 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, 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328814#comment-16328814 ] leor amikam commented on LOG4J2-2173: - Reading this - [https://stackoverflow.com/questions/2225142/removing-version-number-from-file-name-with-maven] and will implement to see if changes the problem. Thanks > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328799#comment-16328799 ] leor amikam commented on LOG4J2-2173: - Hmm. that is a great question. Just standard maven pom entry where log4j.version property is set to 2.10.0 org.apache.logging.log4j log4j-slf4j-impl ${log4j.version} org.apache.logging.log4j log4j-api ${log4j.version} org.apache.logging.log4j log4j-core ${log4j.version} > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328797#comment-16328797 ] Gary Gregory commented on LOG4J2-2173: -- The names of your jar files are odd. Normal Log4j JAR file names include the version. For example: * log4j-api-2.10.0.jar * log4j-core-2.10.0.jar Do you know why? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328789#comment-16328789 ] leor amikam commented on LOG4J2-2173: - Anyone, anyone? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327107#comment-16327107 ] leor amikam commented on LOG4J2-2173: - Hello, Any suggestions? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16326473#comment-16326473 ] leor amikam commented on LOG4J2-2173: - Here are the files in my lib folder for logging. Is anything new missing? lib/log4j-api.jar lib/log4j-core.jar lib/log4j-slf4j-impl.jar lib/log4j-web.jar lib/slf4j-api.jar lib/slf4j-ext.jar > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16318445#comment-16318445 ] leor amikam commented on LOG4J2-2173: - Does log4j version 2.10.0 require a specific version of slf4j ? We are using slf4j and log4j together. Thanks > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16311550#comment-16311550 ] leor amikam commented on LOG4J2-2173: - Yeah, I was trying to compile it. Was able to do that now once I installed JDK9. Thanks! > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16311548#comment-16311548 ] Remko Popma commented on LOG4J2-2173: - It needs Java 9 to compile though (in case that's what you're trying to do). Log4j2 does use some Java 9 features, but we've arranged things so that at runtime, the Java 9 features are ignored unless the app is running on the Java 9 runtime. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16311531#comment-16311531 ] Ralph Goers commented on LOG4J2-2173: - No. Log4j 2.10.0 requires Java 7 or greater. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16311509#comment-16311509 ] leor amikam commented on LOG4J2-2173: - ALready had webapp configured. Does version 2.10.0 require JDK 9 to run? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310614#comment-16310614 ] leor amikam commented on LOG4J2-2173: - Thanks,. will review. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310215#comment-16310215 ] Gary Gregory commented on LOG4J2-2173: -- Ok, so with 2.7, there was NO reconnect behavior, so the original exception makes sense. See my previous comment for web server issues. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310213#comment-16310213 ] leor amikam commented on LOG4J2-2173: - Yeah, was using 2.7. > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310211#comment-16310211 ] Gary Gregory commented on LOG4J2-2173: -- Do you mean you updated to 2.10.0? Which version where you using before? > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309958#comment-16309958 ] leor amikam commented on LOG4J2-2173: - Thanks! I will upgrade and 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 > 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)
[jira] [Commented] (LOG4J2-2173) JMS Appender is not re-connecting on JBoss
[ https://issues.apache.org/jira/browse/LOG4J2-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309830#comment-16309830 ] Gary Gregory commented on LOG4J2-2173: -- Hi [~leor.ami...@hsntech.com], Can you provide the full stack trace and your Log4j configuration file please? Thank you, 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 > > 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)