Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8648

log4j-appender SMTPAppender results in JoinpointException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Final
    • 6.0.0.M5
    • Logging
    • None
    • Windows XP

    • Hide

      1. Uncomment the SMTPAppender in jboss-logging.xml

      2. Add the appender to a logger eg:
      <logger category="org.jboss">
      <level name="INFO"/>
      <handlers>
      <handler-ref name="SMTP"/>
      </handlers>
      </logger>

      3. Start the JBoss server

      Show
      1. Uncomment the SMTPAppender in jboss-logging.xml 2. Add the appender to a logger eg: <logger category="org.jboss"> <level name="INFO"/> <handlers> <handler-ref name="SMTP"/> </handlers> </logger> 3. Start the JBoss server

      When using the SMTPAppender as log4j-appender the deployment of the loggingframework will fail with the following error:

      Constructor not found org.jboss.logmanager.log4j.handlers.Log4jAppenderHandler[] in [ReflectConstructorInfoImpl@9349f3{[ReflectClassInfoImpl@1dbfb12

      {name=org.apache.log4j.Appender}

      ]}]

              dlloyd@redhat.com David Lloyd
              marcokleijer Marco Kleijer (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: