You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ibrar Ahmed (Jira)" <ji...@apache.org> on 2023/03/24 11:48:00 UTC

[jira] [Commented] (KYLIN-5453) Issue with apache kylin 3.0.1 having Tomcat 7.0.91 on Amazon Linux 2

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

Ibrar Ahmed commented on KYLIN-5453:
------------------------------------

[~shaofengshi]   coping the whole KYLIN_HOME from the old to the new machine worked. thank you

> Issue with apache kylin 3.0.1 having Tomcat 7.0.91 on Amazon Linux 2
> --------------------------------------------------------------------
>
>                 Key: KYLIN-5453
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5453
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v3.0.1
>            Reporter: Ibrar Ahmed
>            Priority: Major
>         Attachments: kylin-tomcat stacktrace.rtf.txt
>
>
> We have a Apache Kylin (3.0.1) application that runs fine on an EC2 instance with
> {*}Output from{*}: /usr/local/kylin/apache-kylin-3.0.1-bin-hbase1x/tomcat/bin/version.sh
>  
> {code:java}
> amazon Linux 1 Server version: Apache Tomcat/7.0.91
> Server built: Sep 13 2018 19:52:12 UTC
> Server number: 7.0.91.0
> OS Name: Linux
> OS Version: 4.14.154-99.181.amzn1.x86_64
> Architecture: amd64
> JVM Version: 1.8.0_342-b07
> JVM Vendor: Red Hat, Inc.
> {code}
>  
> The *same application* is *giving errors on EC2 instance with amazon linux 2*
>  
> {code:java}
> Server version: Apache Tomcat/7.0.91
> Server built: Sep 13 2018 19:52:12 UTC
> Server number: 7.0.91.0
> OS Name: Linux
> OS Version: 4.14.294-220.533.amzn2.x86_64
> Architecture: amd64
> JVM Version: 1.8.0_342-b07
> JVM Vendor: Amazon.com Inc.
> {code}
>  
>  
> The only *differences* we *found* after thorough *debugging* of the services installed on this server are : {*}JVM vendor / OS version{*}. Please see attached stack trace
>  
> *Note:* kylin.log are not getting generated.
> *Stack trace from kylin.out :*
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.91\
> Feb 15, 2023 1:50:35 PM org.apache.catalina.startup.HostConfig deployWAR\
> INFO: Deploying web application archive /usr/local/kylin/apache-kylin-3.0.1-bin-hbase1x/tomcat/webapps/kylin.war\
> Feb 15, 2023 1:50:36 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.start(LifecycleBase.java:162)\
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)\
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)\
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)\
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)\
>         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2021)\
>         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:750)\
> 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:5669)\
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)\
>         ... 10 more\
> \
> Feb 15, 2023 1:50:36 PM org.apache.catalina.startup.HostConfig deployWAR\
> SEVERE: Error deploying web application archive /usr/local/kylin/apache-kylin-3.0.1-bin-hbase1x/tomcat/webapps/kylin.war\
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/kylin]]\
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1022)\
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)\
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)\
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)\
>         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2021)\
>         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:750)\
> } 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)