Closed HiromuHota closed 5 years ago
Turn on debug by editing webapps/spoon/WEB-INF/classes/log4j.xml
at <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
log4j: reset attribute= "false".
log4j: Threshold ="null".
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.apache.hadoop.io.retry] additivity to [true].
log4j: Level value for org.apache.hadoop.io.retry is [INFO].
log4j: org.apache.hadoop.io.retry level set to INFO
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.pentaho.platform.osgi] additivity to [true].
log4j: Level value for org.pentaho.platform.osgi is [INFO].
log4j: org.pentaho.platform.osgi level set to INFO
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.pentaho.platform.engine.core.system.status] additivity to [true].
log4j: Level value for org.pentaho.platform.engine.core.system.status is [INFO].
log4j: org.pentaho.platform.engine.core.system.status level set to INFO
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.pentaho.di.trans.Trans] additivity to [false].
log4j: Level value for org.pentaho.di.trans.Trans is [INFO].
log4j: org.pentaho.di.trans.Trans level set to INFO
log4j: Class name: [org.apache.log4j.rolling.RollingFileAppender]
log4j: Setting property [activeFileName] to [logs/pdi.log].
log4j: Setting property [fileNamePattern] to [logs/pdi.%d{yyyy-MM-dd}.log].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p <%t> %m%n].
log4j: setFile called: logs/pdi.log, true
log4j: setFile ended
log4j: Adding appender named [pdi-execution-appender] to category [org.pentaho.di.trans.Trans].
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [org.pentaho.di.job.Job] additivity to [false].
log4j: Level value for org.pentaho.di.job.Job is [INFO].
log4j: org.pentaho.di.job.Job level set to INFO
log4j: Adding appender named [pdi-execution-appender] to category [org.pentaho.di.job.Job].
log4j: Level value for root is [INFO].
log4j: root level set to INFO
log4j: Class name: [org.apache.log4j.DailyRollingFileAppender]
log4j: Setting property [file] to [logs/spoon.log].
log4j: Setting property [append] to [false].
log4j: Setting property [datePattern] to ['.'yyyy-MM-dd].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d %-5p [%c] %m%n].
log4j: setFile called: logs/spoon.log, false
log4j: setFile ended
log4j: Appender [spoon] to be rolled at midnight.
log4j: Adding appender named [spoon] to category [root].
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:248)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1004)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:896)
at org.pentaho.di.core.logging.log4j.Log4jLogging.applyLog4jConfiguration(Log4jLogging.java:101)
at org.pentaho.di.core.logging.log4j.Log4jLogging.createLogger(Log4jLogging.java:109)
at org.pentaho.di.core.logging.log4j.Log4jLogging.init(Log4jLogging.java:71)
at org.pentaho.di.core.KettleClientEnvironment.initLogginPlugins(KettleClientEnvironment.java:176)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:120)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:80)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:133)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
at org.pentaho.di.ui.spoon.WebSpoonServletContextListener$1.call(WebSpoonServletContextListener.java:79)
at org.pentaho.di.ui.spoon.WebSpoonServletContextListener$1.call(WebSpoonServletContextListener.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:248)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:896)
at org.pentaho.di.core.logging.log4j.Log4jLogging.applyLog4jConfiguration(Log4jLogging.java:101)
at org.pentaho.di.core.logging.log4j.Log4jLogging.createLogger(Log4jLogging.java:109)
at org.pentaho.di.core.logging.log4j.Log4jLogging.init(Log4jLogging.java:71)
at org.pentaho.di.core.KettleClientEnvironment.initLogginPlugins(KettleClientEnvironment.java:176)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:120)
at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:80)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:133)
at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
at org.pentaho.di.ui.spoon.WebSpoonServletContextListener$1.call(WebSpoonServletContextListener.java:79)
at org.pentaho.di.ui.spoon.WebSpoonServletContextListener$1.call(WebSpoonServletContextListener.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
log4j: Finalizing appender named [null].
log4j: Finalizing appender named [null].
PDI-14754 might be related.
Just realized that this issue disappeared as of fd6accbbf94d0200891d4a687a3e03da79dbfca7. Probably this was resolved by 728c046c3e03680061543d9ae92ccdd585184fe2.
Expected Behavior
No error message.
Actual Behavior
Steps to Reproduce the Problem
docker run -d -p 8080:8080 -name webspoon hiromuhota/webspoon:nightly-full
docker logs -f webspoon
Specifications
Server