You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Chao Long (JIRA)" <ji...@apache.org> on 2019/01/02 05:53:00 UTC
[jira] [Commented] (KYLIN-3750) java.lang.NoSuchMethodError:
org.apache.tomcat.JarScanner.scan
[ https://issues.apache.org/jira/browse/KYLIN-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731775#comment-16731775 ]
Chao Long commented on KYLIN-3750:
----------------------------------
Hi, Do you use the binary package for Hadoop3(apache-kylin-2.5.2-bin-hadoop3.tar.gz)?
> java.lang.NoSuchMethodError: org.apache.tomcat.JarScanner.scan
> --------------------------------------------------------------
>
> Key: KYLIN-3750
> URL: https://issues.apache.org/jira/browse/KYLIN-3750
> Project: Kylin
> Issue Type: Bug
> Components: Environment
> Affects Versions: v2.5.2
> Environment: Oracle Linux , OpenJDK1.8
> Reporter: Darren Li
> Priority: Major
> Labels: beginner
> Attachments: catalina.2018-12-31.log
>
>
> Hi, here,
> Currently, I've freshly installed kylin-2.5.2 on Oracle-Linux, with
> # hadoop-3.1.1
> # hbase-1.4.9
> # zookeeper-3.4.13
> # hive-3.1.1
> above components up&running.
> When I start Kylin using "kylin.sh start" the output showing the kylin instance has been started no error message shown.
> But the application on [http://localhost:7070|http://localhost:7070/] is not running.
> Then I checked the tomcat logs and found below errors when deploying kylin.war
>
>
> -----------catalina.2018-12-31.log-------------------
> INFO: Deploying web application archive /oracle/kylin/kylin-2.5.2/tomcat/webapps/kylin.war
> Dec 31, 2018 12:37:32 AM 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:748)
> {color:#FF0000}Caused by: java.lang.NoSuchMethodError: org.apache.tomcat.JarScanner.scan(Lorg/apache/tomcat/JarScanType;Ljavax/servlet/ServletContext;Lorg/apache/tomcat/JarScannerCallback;)V{color}
> 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
> Dec 31, 2018 12:37:32 AM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive /oracle/kylin/kylin-2.5.2/tomcat/webapps/kylin.war
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/kylin]]
> lina.2018-12-31.logat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1022)
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)