Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3872

Kylin web UI http 404 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • v2.6.1
    • v2.6.1
    • None
    • 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

    Description

      kylin server is started but the web cannot be access

      [root@server1 logs]# netstat -anp| grep 7070
      tcp 0 0 0.0.0.0:7070 0.0.0.0:* LISTEN 11487/java
      

      below is some of log records

      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
                                                                                                                              
      

      I up load the derbyLocale*.jar and error message changed

      2019-03-14 11:05:29,021 INFO [main] util.log:192 : Logging initialized @1091ms
      2019-03-14 11:05:29,542 WARN [main] http11.Http11Protocol:137 : The HTTP BIO connector has been removed in Tomcat 8.5.x onwards. The HTTP BIO connector configuration has been automatically switched to use the HTTP NIO connector instead.
      2019-03-14 11:05:29,616 INFO [main] core.AprLifecycleListener:119 : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/hadoop/lib/native:/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/hbase/lib/native/Linux-amd64-64]
      2019-03-14 11:05:30,185 INFO [main] http11.Http11NioProtocol:119 : Initializing ProtocolHandler ["http-nio-7070"]
      2019-03-14 11:05:30,206 INFO [main] net.NioSelectorPool:119 : Using a shared selector for servlet write/read
      2019-03-14 11:05:30,217 INFO [main] http11.Http11NioProtocol:119 : Initializing ProtocolHandler ["https-jsse-nio-7443"]
      2019-03-14 11:05:30,455 WARN [main] core.StandardService:164 : Failed to initialize connector [Connector[org.apache.coyote.http11.Http11Protocol-7443]]
      org.apache.catalina.LifecycleException: Failed to initialize component [Connector[org.apache.coyote.http11.Http11Protocol-7443]]
      at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
      at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
      at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
      at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
      at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:632)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:669)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.hadoop.util.RunJar.run(RunJar.java:313)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:227)
      Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
      at org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
      at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
      ... 18 more
      Caused by: java.lang.IllegalArgumentException: /opt/kylin/tomcat/conf/.keystore (No such file or directory)
      at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:115)
      at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:86)
      at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:244)
      at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1087)
      at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:265)
      at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
      at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:68)
      at org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
      ... 19 more
      Caused by: java.io.FileNotFoundException: /opt/kylin/tomcat/conf/.keystore (No such file or directory)
      at java.io.FileInputStream.open0(Native Method)
      at java.io.FileInputStream.open(FileInputStream.java:195)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at java.io.FileInputStream.<init>(FileInputStream.java:93)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
      at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:89)
      at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:140)
      at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertificate.java:204)
      at org.apache.tomcat.util.net.jsse.JSSEUtil.getKeyManagers(JSSEUtil.java:184)
      at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:113)
      ... 26 more
      2019-03-14 11:05:30,459 INFO [main] ajp.AjpNioProtocol:119 : Initializing ProtocolHandler ["ajp-nio-9009"]
      2019-03-14 11:05:30,465 INFO [main] net.NioSelectorPool:119 : Using a shared selector for servlet write/read
      2019-03-14 11:05:30,465 INFO [main] startup.Catalina:119 : Initialization processed in 1404 ms
      2019-03-14 11:05:30,503 INFO [main] core.StandardService:119 : Starting service [Catalina]
      2019-03-14 11:05:30,503 INFO [main] core.StandardEngine:119 : Starting Servlet Engine: Apache Tomcat/8.5.33
      2019-03-14 11:05:30,527 INFO [localhost-startStop-1] startup.HostConfig:119 : Deploying web application archive [/opt/kylin/tomcat/webapps/kylin.war]
      2019-03-14 11:05:30,560 WARN [localhost-startStop-1] digester.Digester:137 : [SetContextPropertiesRule]

      Unknown macro: {Context}

      Setting property 'allowLinking' to 'true' did not find a matching property.
      2019-03-14 11:06:16,133 INFO [localhost-startStop-1] servlet.TldScanner:119 : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-14 11:06:17,166 INFO [localhost-startStop-1] servlet.TldScanner:119 : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-14 11:06:17,190 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : No Spring WebApplicationInitializer types detected on classpath
      2019-03-14 11:06:17,232 INFO [localhost-startStop-1] common.KylinConfig:101 : Loading kylin-defaults.properties from file:/opt/kylin/tomcat/webapps/kylin/WEB-INF/lib/kylin-core-common-2.6.1.jar!/kylin-defaults.properties
      2019-03-14 11:06:17,249 DEBUG [localhost-startStop-1] common.KylinConfig:328 : KYLIN_CONF property was not set, will seek KYLIN_HOME env variable
      2019-03-14 11:06:17,250 INFO [localhost-startStop-1] common.KylinConfig:334 : Use KYLIN_HOME=/opt/kylin
      2019-03-14 11:06:17,251 INFO [localhost-startStop-1] common.KylinConfig:136 : Initialized a new KylinConfig from getInstanceFromEnv : 2053901767
      2019-03-14 11:06:17,278 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : Set web app root system property: 'webapp.root' = [/opt/kylin/tomcat/webapps/kylin/]
      2019-03-14 11:06:17,285 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : Initializing log4j from [classpath:kylin-server-log4j.properties]
      2019-03-14 11:06:17,293 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : Initializing Spring root WebApplicationContext
      2019-03-14 11:06:18,027 INFO [localhost-startStop-1] core.SpringSecurityCoreVersion:75 : You are running with Spring Security Core 4.2.3.RELEASE
      2019-03-14 11:06:18,032 INFO [localhost-startStop-1] config.SecurityNamespaceHandler:78 : Spring Security 'config' module version is 4.2.3.RELEASE
      2019-03-14 11:06:18,063 INFO [localhost-startStop-1] method.GlobalMethodSecurityBeanDefinitionParser:176 : Using bean 'expressionHandler' as method ExpressionHandler implementation
      2019-03-14 11:06:18,121 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/user/authentication*/**
      2019-03-14 11:06:18,121 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'hasRole('ROLE_ADMIN')' for /api/query/runningQueries
      2019-03-14 11:06:18,122 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'hasRole('ROLE_ADMIN')' for /api/query/*/stop
      2019-03-14 11:06:18,122 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/query*/**
      2019-03-14 11:06:18,122 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/metadata*/**
      2019-03-14 11:06:18,123 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/**/metrics
      2019-03-14 11:06:18,123 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/cache*/**
      2019-03-14 11:06:18,123 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'hasAnyRole('ROLE_ANALYST')' for /api/cubes/src/tables
      2019-03-14 11:06:18,123 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/cubes*/**
      2019-03-14 11:06:18,124 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/models*/**
      2019-03-14 11:06:18,124 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/streaming*/**
      2019-03-14 11:06:18,124 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/job*/**
      2019-03-14 11:06:18,124 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/admin/public_config
      2019-03-14 11:06:18,125 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/projects
      2019-03-14 11:06:18,125 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'hasRole('ROLE_ADMIN')' for /api/admin*/**
      2019-03-14 11:06:18,125 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'permitAll' for /api/tables/*/snapshotLocalCache/*
      2019-03-14 11:06:18,126 INFO [localhost-startStop-1] http.FilterInvocationSecurityMetadataSourceParser:194 : Creating access control expression attribute 'isAuthenticated()' for /api/**
      2019-03-14 11:06:18,156 INFO [localhost-startStop-1] http.HttpSecurityBeanDefinitionParser:306 : Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.header.HeaderWriterFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 500, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 800, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 1200, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.security.config.http.HttpConfigurationBuilder$SecurityContextHolderAwareRequestFilterBeanFactory#0; factoryMethodName=getBean; initMethodName=null; destroyMethodName=null, order = 1800, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2300, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2400]
      2019-03-14 11:06:20,667 DEBUG [localhost-startStop-1] security.PasswordPlaceholderConfigurer:174 : Loading properties file from InputStream resource [resource loaded through InputStream]
      2019-03-14 11:06:21,145 INFO [localhost-startStop-1] filter.AnnotationSizeOfFilter:53 : Using regular expression provided through VM argument net.sf.ehcache.pool.sizeof.ignore.pattern for IgnoreSizeOf annotation : ^.*cache\..*IgnoreSizeOf$
      2019-03-14 11:06:21,165 INFO [localhost-startStop-1] sizeof.JvmInformation:446 : Detected JVM data model settings of: 64-Bit HotSpot JVM with Compressed OOPs and Concurrent Mark-and-Sweep GC
      2019-03-14 11:06:21,411 INFO [localhost-startStop-1] sizeof.AgentLoader:198 : Extracted agent jar to temporary file /opt/kylin/bin/../tomcat/temp/ehcache-sizeof-agent6267541917291982554.jar
      2019-03-14 11:06:21,411 INFO [localhost-startStop-1] sizeof.AgentLoader:138 : Trying to load agent @ /opt/kylin/bin/../tomcat/temp/ehcache-sizeof-agent6267541917291982554.jar
      2019-03-14 11:06:21,420 INFO [localhost-startStop-1] impl.DefaultSizeOfEngine:111 : using Agent sizeof engine
      2019-03-14 11:06:22,294 INFO [localhost-startStop-1] metrics.MetricsManager:136 : Kylin metrics monitor is not enabled
      2019-03-14 11:06:22,445 WARN [localhost-startStop-1] support.XmlWebApplicationContext:551 : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
      2019-03-14 11:06:22,453 ERROR [localhost-startStop-1] context.ContextLoader:350 : Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      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-14 11:06:22,454 WARN [localhost-startStop-1] [localhost].[/kylin]:164 : Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      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-14 11:06:22,455 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-14 11:06:22,459 WARN [localhost-startStop-1] core.StandardContext:155 : Context [/kylin] startup failed due to previous errors
      2019-03-14 11:06:22,463 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : Closing Spring root WebApplicationContext
      2019-03-14 11:06:22,480 INFO [localhost-startStop-1] [localhost].[/kylin]:119 : Shutting down log4j

      Attachments

        Activity

          People

            Unassigned Unassigned
            mimimiracle mimimiracle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: