TeamcityDockerCloudPlugin icon indicating copy to clipboard operation
TeamcityDockerCloudPlugin copied to clipboard

packaged log4j

Open Vampire opened this issue 7 years ago • 0 comments

Found this in the TC server log. You are packaging log4j in your plugin, I guess this is not the best idea and the cause for this error.

log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
log4j:ERROR [PluginStandaloneClassLoader{plugin=docker-cloud parent=ParallelWebappClassLoader
  context: ROOT
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@65ab7765
}] whereas object of type
log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [ParallelWebappClassLoader
  context: ROOT
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@65ab7765
].
log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Vampire avatar Nov 19 '18 21:11 Vampire