Lucee- 5.above jars are giving error for lucee.commons.io.log.log4j.Log4jUtil.getAppender


#1

Hi Team,

We are using lucee jars inside tomcat8. Till 4.5.006 it is starting & working but after 5.0 and above it is giving error while starting tomcat and error are below. it looks like 5 & above jar bundle are not compiled with log4j and utils.

Error given below:

SEVERE: Servlet [CFMLServlet] in web application [] threw load() exception
javax.servlet.ServletException
        at lucee.commons.io.log.log4j.Log4jUtil.getAppender(Log4jUtil.java:185)
        at lucee.commons.io.log.LoggerAndSourceData.getLog(LoggerAndSourceData.java:132)
        at lucee.runtime.config.ConfigImpl.getLog(ConfigImpl.java:3491)
        at lucee.runtime.config.XMLConfigWebFactory.loadLoggers(XMLConfigWebFactory.java:1826)
        at lucee.runtime.config.XMLConfigWebFactory.load(XMLConfigWebFactory.java:436)
        at lucee.runtime.config.XMLConfigWebFactory.newInstance(XMLConfigWebFactory.java:287)
        at lucee.runtime.engine.CFMLEngineImpl.loadJSPFactory(CFMLEngineImpl.java:809)
        at lucee.runtime.engine.CFMLEngineImpl.addServletConfig(CFMLEngineImpl.java:686)
        at lucee.loader.engine.CFMLEngineWrapper.addServletConfig(CFMLEngineWrapper.java:88)
        at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:176)
        at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:213)
        at lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:42)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4931)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1842)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        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)

thanks in advance.