[jira] Updated: (SM-816) useless include log framwork into jboss deployer
[ https://issues.apache.org/activemq/browse/SM-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégoire A. updated SM-816: --- Attachment: pom.diff > useless include log framwork into jboss deployer > > > Key: SM-816 > URL: https://issues.apache.org/activemq/browse/SM-816 > Project: ServiceMix > Issue Type: Bug >Affects Versions: incubation > Environment: linux, jdk5, jboss 4-0-5 GA >Reporter: Grégoire A. > Fix For: 3.1 > > Attachments: pom.diff > > Original Estimate: 15 minutes > Remaining Estimate: 15 minutes > > Exception raise when commons-logging and log4j jar are included into sar > jboss deployer > 00:51:07,136 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: > CVSTag=Branch_4_0 date=200610162339)] Started in 1m:58s:2ms > 00:51:22,446 ERROR [STDERR] log4j:ERROR A > "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a > "org.apache.log4j.spi.ErrorHandler" variable. > 00:51:22,447 ERROR [STDERR] log4j:ERROR The class > "org.apache.log4j.spi.ErrorHandler" was loaded by > 00:51:22,447 ERROR [STDERR] log4j:ERROR [EMAIL PROTECTED] > url=file:/home/keo/EclipseWorkspace/workspace_3.2.SMX.TEST/jboss-4.0.5.GA/server/default/tmp/deploy/tmp61318servicemix-jboss-deployer-3.1-SNAPSHOT.sar > ,addedOrder=40}] whereas object of type > 00:51:22,447 ERROR [STDERR] log4j:ERROR > "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] > 00:51:22,489 ERROR [STDERR] log4j:ERROR Could not create an Appender. > Reported error follows. > 00:51:22,489 ERROR [STDERR] java.lang.ClassCastException: > org.jboss.logging.appender.DailyRollingFileAppender > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.LogManager.(LogManager.java:122) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.Logger.getLogger(Logger.java:104) > 00:51:22,491 ERROR [STDERR] at > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283) > 00:51:22,491 ERROR [STDERR] at > org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > 00:51:22,492 ERROR [STDERR] at > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645) > 00:51:22,492 ERROR [STDERR] at > org.apache.servicemix.jbi.container.JBIContainer.(JBIContainer.java:95) > 00:51:22,492 ERROR [STDERR] at > org.servicemix.jboss.deployment.JBIService.(JBIService.java:45) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://w
[jira] Updated: (SM-816) useless include log framwork into jboss deployer
[ https://issues.apache.org/activemq/browse/SM-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégoire A. updated SM-816: --- Attachment: pom.diff.2 > useless include log framwork into jboss deployer > > > Key: SM-816 > URL: https://issues.apache.org/activemq/browse/SM-816 > Project: ServiceMix > Issue Type: Bug >Affects Versions: incubation > Environment: linux, jdk5, jboss 4-0-5 GA >Reporter: Grégoire A. > Assigned To: Guillaume Nodet > Fix For: 3.1 > > Attachments: pom.diff, pom.diff.2 > > Original Estimate: 15 minutes > Remaining Estimate: 15 minutes > > Exception raise when commons-logging and log4j jar are included into sar > jboss deployer > 00:51:07,136 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: > CVSTag=Branch_4_0 date=200610162339)] Started in 1m:58s:2ms > 00:51:22,446 ERROR [STDERR] log4j:ERROR A > "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a > "org.apache.log4j.spi.ErrorHandler" variable. > 00:51:22,447 ERROR [STDERR] log4j:ERROR The class > "org.apache.log4j.spi.ErrorHandler" was loaded by > 00:51:22,447 ERROR [STDERR] log4j:ERROR [EMAIL PROTECTED] > url=file:/home/keo/EclipseWorkspace/workspace_3.2.SMX.TEST/jboss-4.0.5.GA/server/default/tmp/deploy/tmp61318servicemix-jboss-deployer-3.1-SNAPSHOT.sar > ,addedOrder=40}] whereas object of type > 00:51:22,447 ERROR [STDERR] log4j:ERROR > "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] > 00:51:22,489 ERROR [STDERR] log4j:ERROR Could not create an Appender. > Reported error follows. > 00:51:22,489 ERROR [STDERR] java.lang.ClassCastException: > org.jboss.logging.appender.DailyRollingFileAppender > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) > 00:51:22,490 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.LogManager.(LogManager.java:122) > 00:51:22,491 ERROR [STDERR] at > org.apache.log4j.Logger.getLogger(Logger.java:104) > 00:51:22,491 ERROR [STDERR] at > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283) > 00:51:22,491 ERROR [STDERR] at > org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > 00:51:22,491 ERROR [STDERR] at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > 00:51:22,492 ERROR [STDERR] at > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307) > 00:51:22,492 ERROR [STDERR] at > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645) > 00:51:22,492 ERROR [STDERR] at > org.apache.servicemix.jbi.container.JBIContainer.(JBIContainer.java:95) > 00:51:22,492 ERROR [STDERR] at > org.servicemix.jboss.deployment.JBIService.(JBIService.java:45) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrato