kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Liu <billy...@apache.org>
Subject Re: cannot file ojdbc6.jar while kylin startup
Date Thu, 12 Oct 2017 09:45:00 GMT
You could ignore the boring message. That's tomcat tries to detect ODBC
libraries from environment. Not real Kylin error.

2017-10-12 17:19 GMT+08:00 liubo@fcyun.com <liubo@fcyun.com>:

>
> Hi, all
>
> Here my logs in kylin.out file.  why this error ocuurs?
>
>
> Another confusion, while I start kylin from /usr/local/apache-kylin-2.0.0-bin/lib/,
> then it complaint  "/usr/local/apache-kylin-2.0.0-bin/lib/ojdbc6.jar" not
> found.
>
> #cd /usr/local/apache-kylin-2.0.0-bin/lib/
> #../bin/kylin.sh start
>
>
> if I start kylin in other directory, for example /usr/local/apache-
> kylin-2.0.0-bin,then it complaint  "/usr/local/apache-kylin-2.0.0-bin/ojdbc6.jar"
> not found.
> #cd /usr/local/apache-kylin-2.0.0-bin/
> #bin/kylin.sh start
>
>
>
>
>
>
> usage: java org.apache.catalina.startup.Catalina [ -
> config {pathname} ] [ -nonaming ]  { -help | start | stop }
> Oct 12, 2017 3:40:07 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/hdp/2.5.3.0-37/
> hadoop/lib/native/Linux-amd64-64:/usr/hdp/2.5.3.0-37/hadoop/lib/native
> Oct 12, 2017 3:40:07 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-7070"]
> Oct 12, 2017 3:40:07 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-7443"]
> Oct 12, 2017 3:40:07 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-9009"]
> Oct 12, 2017 3:40:07 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1397 ms
> Oct 12, 2017 3:40:07 PM org.apache.catalina.core.
> StandardService startInternal
> INFO: Starting service Catalina
> Oct 12, 2017 3:40:07 PM org.apache.catalina.core.
> StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.69
> Oct 12, 2017 3:40:07 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive /usr/local/apache-kylin-2.0.0-bin/
> tomcat/webapps/kylin.war
> Oct 12, 2017 3:40:08 PM org.apache.tomcat.util.scan.
> StandardJarScanner scan
> WARNING: Failed to scan [file:/usr/local/apache-kylin-2.0.0-
> bin/lib/ojdbc6.jar] from classloader hierarchy
> java.io.FileNotFoundException: /usr/local/apache-kylin-2.0.
> 0-bin/lib/ojdbc6.jar (No such file or directory)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:219)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:103)
>         at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
>         at sun.net.www.protocol.jar.URLJarFile.
> getJarFile(URLJarFile.java:69)
>         at sun.net.www.protocol.jar.JarFileFactory.
> get(JarFileFactory.java:99)
>         at sun.net.www.protocol.jar.JarURLConnection.
> connect(JarURLConnection.java:122)
>         at sun.net.www.protocol.jar.JarURLConnection.
> getJarFile(JarURLConnection.java:89)
>         at org.apache.tomcat.util.scan.FileUrlJar.<init>(
> FileUrlJar.java:41)
>         at org.apache.tomcat.util.scan.JarFactory.
> newInstance(JarFactory.java:34)
>         at org.apache.catalina.startup.ContextConfig$
> FragmentJarScannerCallback.scan(ContextConfig.java:2679)
>         at org.apache.tomcat.util.scan.StandardJarScanner.
> process(StandardJarScanner.java:259)
> ...skipping...
>         at org.apache.catalina.startup.HostConfig$
> DeployWar.run(HostConfig.java:1984)
>         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:1142)
>         at java.util.concurrent.ThreadPoolExecutor$
> Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:748)
>
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.ContextConfig
> processResourceJARs
> SEVERE: Failed to process JAR found at URL [jar:file:/usr/
> local/apache-kylin-2.0.0-bin/lib/ojdbc6.jar!/] for static
> resources to be included in context with name [/kylin]
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TldConfig tldScanJar
> WARNING: Failed to process JAR [jar:file:/usr/local/
> apache-kylin-2.0.0-bin/lib/ojdbc6.jar!/] for TLD files
> java.io.FileNotFoundException: /usr/local/apache-kylin-2.0.
> 0-bin/lib/ojdbc6.jar (No such file or directory)
>         at java.util.zip.ZipFile.open(Native Method)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:219)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:103)
>         at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
>         at sun.net.www.protocol.jar.URLJarFile.
> getJarFile(URLJarFile.java:69)
>         at sun.net.www.protocol.jar.JarFileFactory.
> get(JarFileFactory.java:99)
>         at sun.net.www.protocol.jar.JarURLConnection.
> connect(JarURLConnection.java:122)
>         at sun.net.www.protocol.jar.JarURLConnection.
> getJarFile(JarURLConnection.java:89)
>         at org.apache.tomcat.util.scan.FileUrlJar.<init>(
> FileUrlJar.java:41)
>         at org.apache.tomcat.util.scan.JarFactory.
> newInstance(JarFactory.java:34)
>         at org.apache.catalina.startup.TldConfig.
> tldScanJar(TldConfig.java:502)
>         at org.apache.catalina.startup.TldConfig.
> access$200(TldConfig.java:61)
>         at org.apache.catalina.startup.TldConfig$
> TldJarScannerCallback.scan(TldConfig.java:300)
>         at org.apache.tomcat.util.scan.StandardJarScanner.
> process(StandardJarScanner.java:259)
>         at org.apache.tomcat.util.scan.StandardJarScanner.
> scan(StandardJarScanner.java:221)
>         at org.apache.catalina.startup.TldConfig.
> execute(TldConfig.java:271)
>         at org.apache.catalina.startup.TldConfig.
> lifecycleEvent(TldConfig.java:590)
> ...skipping...
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:117)
>         at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(
> LifecycleBase.java:90)
>         at org.apache.catalina.core.StandardContext.
> startInternal(StandardContext.java:5472)
>         at org.apache.catalina.util.LifecycleBase.
> start(LifecycleBase.java:147)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:899)
>         at org.apache.catalina.core.ContainerBase.
> addChild(ContainerBase.java:875)
>         at org.apache.catalina.core.StandardHost.
> addChild(StandardHost.java:652)
>         at org.apache.catalina.startup.HostConfig.
> deployWAR(HostConfig.java:1092)
>         at org.apache.catalina.startup.HostConfig$
> DeployWar.run(HostConfig.java:1984)
>         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:1142)
>         at java.util.concurrent.ThreadPoolExecutor$
> Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:748)
>
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: urn:com:sun:jersey:api:view is already defined
> Oct 12, 2017 3:40:38 PM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 12, 2017 3:40:39 PM org.apache.catalina.core.ApplicationContext log
> INFO: Set web app root system property: 'webapp.root' = [/
> usr/local/apache-kylin-2.0.0-bin/bin/../tomcat/webapps/kylin/]
> Oct 12, 2017 3:40:39 PM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing log4j from [classpath:kylin-server-log4j.properties]
> Oct 12, 2017 3:40:39 PM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring root WebApplicationContext
> Oct 12, 2017 3:41:09 PM org.apache.catalina.util.SessionIdGeneratorBase
> createSecureRandom
> INFO: Creation of SecureRandom instance for session ID generation using [
> SHA1PRNG] took [23,940] milliseconds.
> Oct 12, 2017 3:41:09 PM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'kylin'
> Oct 12, 2017 3:41:09 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deployment of web application archive /usr/
> local/apache-kylin-2.0.0-bin/tomcat/webapps/kylin.war has
> finished in 61,440 ms
> Oct 12, 2017 3:41:09 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-7070"]
> Oct 12, 2017 3:41:09 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-7443"]
> Oct 12, 2017 3:41:09 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-9009"]
> Oct 12, 2017 3:41:09 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 61533 ms
> ------------------------------
> liubo@fcyun.com
>

Mime
View raw message