[jboss-jira] [JBoss JIRA] Updated: (JBAS-9441) Log4j File Appenders do not work in jboss 6.1.0-Final

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Aug 18 12:23:17 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan updated JBAS-9441:
---------------------------------

    Attachment: jboss-logging.xml


I've tried to reproduce the problem using the attached jboss-logging.xml.  I run into a CNFE as shown below.  Can you attach your boot.log showing the issue with DEBUG enabled (e.g., ./run.sh -Djboss.server.log.threshold=DEBUG).

Caused by: java.lang.ClassNotFoundException: com.vue.logging.LogRollingFileAppender from BaseClassLoader at 60aab59f{vfs:///NotBackedUp/610Final-DIST/jboss-6.1.0.Final/server/default/deploy/jboss-logging.xml}
        at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.1.GA]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_21]


> Log4j File Appenders do not work in jboss 6.1.0-Final
> -----------------------------------------------------
>
>                 Key: JBAS-9441
>                 URL: https://issues.jboss.org/browse/JBAS-9441
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>    Affects Versions: 6.1.0
>         Environment: Probably all OS's.
>            Reporter: Joe Mihalich
>            Assignee: David Lloyd
>         Attachments: jboss-logging.xml
>
>
> In 6.1.0, using a log4j RollingFileAppender (we actually subclass it, but I'm sure it's an issue with at least all FileAppenders), I get this error when it tries to switch from the bootstrap logger to the jboss-logging.xml loggers: 
>  
> org.jboss.logging.service : Removing bootstrap log handlers
> [STDERR] log4j:ERROR No output stream or file set for the appender named [null].
> I have a forum thread going here for this.  http://community.jboss.org/thread/171093.  My jboss-logging.xml file is attached in the forum thread.
> Reapplying the 6.0 Final patch from here, fixes the problem: https://issues.jboss.org/browse/JBAS-8791

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list