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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.M5
    • Fix Version/s: 6.0.0.Final
    • Component/s: Logging
    • Labels:
      None
    • Environment:

      Windows XP

    • Steps to Reproduce:
      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

      Description

      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}

      ]}]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dmlloyd David Lloyd
                Reporter:
                marcokleijer Marco Kleijer
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: