Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: Appenders
    • Labels:
      None

      Description

      Running on JBoss EAP 7.1.0.  Deployment giving error:

       

      DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.mom.JmsAppender].
      DEBUG JmsAppender$Builder(, name="HIFAuditAppender", factoryName="org.wildfly.naming.client.WildFlyInitialContextFactory", 
       providerUrl="http-remoting://127.0.0.1:11090", 
       urlPkgPrefixes="null", securityPrincipalName="null", securityCredentials="b171191c781032488bf78a87901a9aa6",
       factoryBindingName="jms/RemoteConnectionFactory", destinationBindingName="jms/queue/HIFAuditQueue",
       userName="hcmuser", password="b2cd9bd8595c3a598588a099c18bffe5", Layout=null, Filter=null, ,
       ignoreExceptions="null", immediateFail="null", )
      DEBUG Starting JmsManager HIFAuditAppender
      DEBUG Starting JndiManager org.apache.logging.log4j.core.net.JndiManager@764879088
      **ERROR No layout provided for JmsAppender
      DEBUG Building Plugin[name=Route, class=org.apache.logging.log4j.core.appender.routing.Route].
      DEBUG createRoute(ref="rollingFileAppender", key="HIF_LOG", Node=Route)
      DEBUG Building Plugin[name=Route, class=org.apache.logging.log4j.core.appender.routing.Route].
      DEBUG createRoute(ref="rollingFileAppender", key="null", Node=Route)
      DEBUG Building Plugin[name=Routes, class=org.apache.logging.log4j.core.appender.routing.Routes].
      DEBUG Routes$Builder(Configuration(HIFWSLogger), pattern="${marker:}", Script=null, ={Route(type=static Reference=rollingFileAppender key='HIF_LOG'), Route(type=static Reference=rollingFileAppender default)})
      DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.routing.RoutingAppender].
      DEBUG RoutingAppender$Builder(Script=null, Routes({Route(type=static Reference=rollingFileAppender key='HIF_LOG'),Route(type=static Reference=rollingFileAppender default)}), RewritePolicy=null, PurgePolicy=null, ignoreExceptions="null", Layout=null, name="routingAppender", Configuration(HIFWSLogger), Filter=null)
      DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
      **ERROR Null object returned for JMS in Appenders.

      config file attached. Any thoughts?  This was working on jboss eap 7.0.0. THanks

        Attachments

        1. log4j2.xml
          3 kB
          leor amikam

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                leor.amikam@hsntech.com leor amikam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: