I'm getting the following error when starting my app-server (4.0.2). It happens when calling java.util.logging.LogManager.exists("mylogger"); What's strange is that it only happens on Linux...on WinXP it starts fine. And after the error, everything works fine - my logging with log4j works fine.
19:37:01,002 INFO [TomcatDeployer] deploy, ctxPath=/Chat, warUrl=file:/opt/jboss-4.0.2/server/minimal/tmp/deploy/tmp53096Chat.war/ 19:37:01,813 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 19:37:01,814 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 19:37:01,815 INFO [STDOUT] log4j:ERROR [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: [EMAIL PROTECTED] ] whereas object of type 19:37:01,816 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] 19:37:01,854 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows. 19:37:01,855 INFO [STDOUT] java.lang.ClassCastException 19:37:01,857 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165) 19:37:01,858 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140) 19:37:01,859 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 19:37:01,860 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 19:37:01,860 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 19:37:01,861 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 19:37:01,862 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 19:37:01,862 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 19:37:01,863 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 19:37:01,864 INFO [STDOUT] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 19:37:01,865 INFO [STDOUT] at org.apache.log4j.LogManager.(LogManager.java:113) The stack trace is actually quite a bit longer, but the next line in the stack trace is where I'm calling LogManager.exists("mylogger"); Any ideas what's wrong? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881511#3881511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881511 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user