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

Kylin Tomcat Server not starting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • v3.1.2
    • None
    • Environment
    • None

    Description

      I installed Kylin 3.1.2 using the  file /usr/local/kylin/apache-kylin-3.1.2-bin-hbase1x.

      When i try to start the tomcat server by running $KYLIN_HOME/bin/kylin.sh start, I get the following errors 

       

      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0

      SLF4J: Class path contains multiple SLF4J bindings.

      SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: Found binding in [jar:file:/usr/lib/spark/jars/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

      usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] 

      { -help | start | stop }

      Oct 26, 2021 9:18:48 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [:/usr/lib/hadoop-lzo/lib/native:/usr/lib/hadoop/lib/native]

      Oct 26, 2021 9:18:49 PM org.apache.coyote.AbstractProtocol init

      INFO: Initializing ProtocolHandler ["http-bio-7070"]

      Oct 26, 2021 9:18:49 PM org.apache.catalina.startup.Catalina load

      INFO: Initialization processed in 669 ms

      Oct 26, 2021 9:18:49 PM org.apache.catalina.core.StandardService startInternal

      INFO: Starting service [Catalina]

      Oct 26, 2021 9:18:49 PM org.apache.catalina.core.StandardEngine startInternal

      INFO: Starting Servlet Engine: Apache Tomcat/7.0.100

      Oct 26, 2021 9:18:49 PM org.apache.catalina.startup.HostConfig deployWAR

      INFO: Deploying web application archive [/usr/local/kylin/apache-kylin-3.1.1-bin-hbase1x/tomcat/webapps/kylin.war]

      Oct 26, 2021 9:18:50 PM org.apache.catalina.core.ContainerBase addChildInternal

      SEVERE: ContainerBase.addChild: start:

      org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/kylin]]

              at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1016)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:992)

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020)

              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.NoSuchMethodError: org.apache.tomcat.JarScanner.scan(Lorg/apache/tomcat/JarScanType;Ljavax/servlet/ServletContext;Lorg/apache/tomcat/JarScannerCallback;)V

              at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)

              at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:106)

              at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:103)

              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5709)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

              ... 10 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            swaza10 Sanjay Waza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: