[ https://issues.apache.org/jira/browse/LOG4J2-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439963#comment-16439963 ]
Gary Gregory commented on LOG4J2-2319: -------------------------------------- I am sure you can imagine that it is hard to help you if you do not post your configuration... > JMS appender config does not load with log4j2 2.9.0 > --------------------------------------------------- > > Key: LOG4J2-2319 > URL: https://issues.apache.org/jira/browse/LOG4J2-2319 > Project: Log4j 2 > Issue Type: Bug > Components: Appenders > Affects Versions: 2.9.0 > Environment: Jboss EAP 7.0 > Log4j2 2.9.0 > Reporter: leor amikam > Priority: Major > Attachments: log4j2.xml > > > Running on Jboss EAP 7.0. Application deployed with log4j2 version 2.7.0 - > JMS appender config loads and runs properly. Rebuilt application with > version 2.9.0. On startup, get the following error, no no JMS messages get > sent. > {code:java} > 2018-04-16 15:03:45,457 INFO [stdout] (MSC service thread 1-7) 2018-04-16 > 15:03:45,457 MSC service thread 1-7 DEBUG Building Plugin[name=appender, > class=org.apache.logging.log4j.core.appender.mom.JmsAppender]. > 2018-04-16 15:03:45,461 INFO [stdout] (MSC service thread 1-7) 2018-04-16 > 15:03:45,461 MSC service thread 1-7 DEBUG JmsAppender$Builder(, > name="HIFAuditAppender", > factoryName="org.jboss.naming.remote.client.InitialContextFactory", > providerUrl="http-remoting://127.0.0.1:8080", urlPkgPrefixes="null", > securityPrincipalName="null", > securityCredentials="b171191c781032488bf78a87901a9aa6", > factoryBindingName="jms/RemoteConnectionFactory", > destinationBindingName="jms/queue/HIFAuditQueue", userName="hcmuser", > password="0fc879139a59edfe166ae18970fa6206", Layout=null, Filter=null, , > ignoreExceptions="null", immediateFail="null", ) > 2018-04-16 15:03:45,464 INFO [stdout] (MSC service thread 1-7) 2018-04-16 > 15:03:45,463 MSC service thread 1-7 DEBUG Starting JmsManager HIFAuditAppender > 2018-04-16 15:03:45,840 INFO [stdout] (MSC service thread 1-7) 2018-04-16 > 15:03:45,840 MSC service thread 1-7 DEBUG Starting JndiManager > org.apache.logging.log4j.core.net.JndiManager@525450372 > 2018-04-16 15:03:46,609 INFO [stdout] (MSC service thread 1-7) 2018-04-16 > 15:03:46,609 MSC service thread 1-7 ERROR No layout provided for > JmsAppender{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)