Open padcom opened 10 years ago
From MALfunct...@gmail.com on July 03, 2012 08:17:05
Is your JBoss configured to log using log4j?
Status: NeedInfo
Labels: Server-JBoss-4.0 Component-Logging
From mas...@gmail.com on July 03, 2012 22:53:45
Yes. I am using the stock default JBoss-4.0.3-SP1 which comes with log4j.
I also tried to remove log4j-x.jar and commons-logging-x.jar from the probe.war and was not successful.
From MALfunct...@gmail.com on July 12, 2012 16:16:30
Did you get the same error when removing those .jar files from probe.war?
Can you provide your log4j.xml file?
From mas...@gmail.com on July 03, 2012 11:04:58
Installing psi-probe-2.3.1.zip in JBoss-4.0.3-SP1 produces
2012-07-03 14:02:22,603 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/probe, warUrl=.../tmp/deploy/tmp7526712840690541340probe.war/ 2012-07-03 14:02:22,666 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 2012-07-03 14:02:22,666 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 2012-07-03 14:02:22,667 INFO [STDOUT] log4j:ERROR [WebappClassLoader^M delegate: false^M repositories:^M /WEB-INF/classes/^M ----------> Parent Classloader:^M java.net.FactoryURLClassLoader@5679bca4^M ] whereas object of type 2012-07-03 14:02:22,667 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@5cac6a45]. 2012-07-03 14:02:22,684 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows. 2012-07-03 14:02:22,684 INFO [STDOUT] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender cannot be cast to org.apache.log4j.Appender 2012-07-03 14:02:22,684 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175) ...... ...... 2012-07-03 14:02:22,685 INFO [STDOUT] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) 2012-07-03 14:27:14,775 INFO [STDOUT] log4j:ERROR Could not parse url [file:/usr/local/jboss/server/default/conf/log4j.xml]. 2012-07-03 14:27:14,775 INFO [STDOUT] java.lang.NullPointerException 2012-07-03 14:27:14,775 INFO [STDOUT] at java.util.Hashtable.put(Hashtable.java:394) 2012-07-03 14:27:14,782 INFO [STDOUT] at org.jboss.Main.boot(Main.java:187) 2012-07-03 14:27:14,782 INFO [STDOUT] at org.jboss.Main$1.run(Main.java:438) 2012-07-03 14:27:14,782 INFO [STDOUT] at java.lang.Thread.run(Thread.java:662) ...... What steps will reproduce the problem? 1. Copy the probe.war as describe in the installation manaul
Original issue: http://code.google.com/p/psi-probe/issues/detail?id=298