[ 
https://issues.apache.org/jira/browse/KYLIN-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16791664#comment-16791664
 ] 

Chao Long edited comment on KYLIN-3872 at 3/13/19 12:50 PM:
------------------------------------------------------------

Hi [~mimimiracle], did you use kylin binary package for cdh6?


was (Author: wayne0101):
Hi [~mimimiracle], did you use the binary package for cdh6?

> Kylin web UI  http 404 error
> ----------------------------
>
>                 Key: KYLIN-3872
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3872
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.6.1
>         Environment: CDH6.1
> Hadoop        3.0.0+cdh6.1.0
> HDFS  3.0.0+cdh6.1.0
> YARN  3.0.0+cdh6.1.0
> HBase 2.1.0+cdh6.1.0
> Hive         2.1.1+cdh6.1.0
> spark 2.4.0+cdh6.1.0
> ZooKeeper     3.4.5+cdh6.1.0
>            Reporter: mimimiracle
>            Priority: Blocker
>              Labels: Kylin, tomcat
>
> kylin server is started but the web cannot be access
> {code:java}
> [root@server1 logs]# netstat -anp| grep 7070
> tcp 0 0 0.0.0.0:7070 0.0.0.0:* LISTEN 11487/java
> {code}
> below is some of  log records
> {code:java}
> 2019-03-13 18:28:18,697 WARN  [localhost-startStop-1] 
> scan.StandardJarScanner:146 : Failed to scan 
> [file:/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/jars/derbyLocale_ja_JP.jar]
>  from classloader hierarchy
> java.io.FileNotFoundException: 
> /opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/jars/derbyLocale_ja_JP.jar
>  (No such file or directory)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:225)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:155)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:130)
>         at 
> org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:196)
>         at 
> org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65)
>         at 
> org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229)
>         at 
> org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1888)
>         at 
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1116)
>         at 
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:765)
>         at 
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
>         at 
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
>         at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
>         at 
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>         at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
> java.io.FileNotFoundException: 
> /opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/jars/derbyLocale_pt_BR.jar
>  (No such file or directory)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:225)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:155)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:130)
>         at 
> org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:196)
>         at 
> org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65)
>         at 
> org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309)
>         at 
> org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
>         at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
>         at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
>         at 
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
>         at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
>         at 
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
>         at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
>         at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>         at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)
>         at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
>         at 
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>         at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
>         at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
>         at 
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
>         at 
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
>         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)
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/commons/configuration/ConfigurationException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>         at java.lang.Class.getDeclaredMethods(Class.java:1975)
>         at 
> org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:613)
>         at 
> org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)
>         at 
> org.springframework.core.MethodIntrospector.selectMethods(MethodIntrospector.java:68)
>         at 
> org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:230)
>         at 
> org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:214)
>         at 
> org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:184)
>         at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:127)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
>         ... 25 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.commons.configuration.ConfigurationException
>         at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
>         at 
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137)
>         ... 37 more
> 2019-03-13 18:47:43,458 WARN  [localhost-startStop-1] 
> core.StandardContext:155 : One or more listeners failed to start. Full 
> details will be found in the appropriate container log file
> 2019-03-13 18:47:43,462 WARN  [localhost-startStop-1] 
> core.StandardContext:155 : Context [/kylin] startup failed due to previous 
> errors
> 2019-03-13 18:47:43,466 INFO  [localhost-startStop-1] 
> [localhost].[/kylin]:119 : Closing Spring root WebApplicationContext
> 2019-03-13 18:47:43,483 INFO  [localhost-startStop-1] 
> [localhost].[/kylin]:119 : Shutting down log4j
>                                                                               
>                                           
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to