Hi tongxin,

Have you found the solution? This file should be packaged in
$KYLIN_HOME/conf, and will be added to classpath during the startup. Please
check: 1) whether this file exists in conf folder 2) whether the
bin/kylin.sh has been modified



2016-08-02 14:31 GMT+08:00 仇同心 <[email protected]>:

> 大家好:
> 升级到1.5.3版本后,启动kylin,登录时kylin.log文件没生成,在kylin.out文件里报错:
>
> INFO: Initializing log4j from [classpath:kylin-server-log4j.properties]
> Aug 02, 2016 2:26:53 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.apache.kylin.rest.util.Log4jConfig
> Listener
> java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation'
> parameter: class path resource [kylin-server-log4j.pro
> perties] cannot be resolved to URL because it does not exist
>         at org.springframework.web.util.Log4jWebConfigurer.initLogging(
> Log4jWebConfigurer.java:155)
>         at org.springframework.web.util.Log4jConfigListener.
> contextInitialized(Log4jConfigListener.java:45)
>         at org.apache.kylin.rest.util.Log4jConfigListener.
> contextInitialized(Log4jConfigListener.java:36)
>         at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:5068)
>         at org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5584)
>         at org.apache.catalina.util.LifecycleBase.start(
> LifecycleBase.java:147)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:899)
>         at org.apache.catalina.core.ContainerBase.addChild(
> ContainerBase.java:875)
>         at org.apache.catalina.core.StandardHost.addChild(
> StandardHost.java:652)
>         at org.apache.catalina.startup.HostConfig.deployWAR(
> HostConfig.java:1092)
>         at org.apache.catalina.startup.HostConfig$DeployWar.run(
> HostConfig.java:1984)
>         at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
>
> kylin-server-log4j.properties在conf目录下是存在的,这个错误有遇到的吗?
>
>
> 谢谢~
>



-- 
Best regards,

Shaofeng Shi

Reply via email to