kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ji, Hao Wei Jeffery" <Jeffery...@dnvgl.com>
Subject kylin startup question
Date Fri, 30 Oct 2015 05:16:30 GMT
软件环境:
CentOS 6.7
Linux kernel: 3.10.0-229.14.1.el7.x86_64

Java:
CentOS预装的openjdk 1.7.0, 还有安装Ambari时安装的Oracle JDK 1.8.0_40. 安装位置:
There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*  1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64/jre/bin/java
+ 2           /usr/jdk64/jdk1.8.0_40

/usr/share/java目录下有如下文件, 其中ojdbc6.jar 是从oracle网站上单独下载的,因为报错需要这个文件,但是我看java的目录下都没有。

[bicc@biccNode lib]$ cd /usr/share/java/
[bicc@biccNode java]$ ll
total 13092
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 aether
lrwxrwxrwx. 1 root root      23 Oct 23 10:39 annotation.jar -> geronimo-annotation.jar
drwxr-xr-x. 2 root root      67 Oct 23 10:39 ant
lrwxrwxrwx. 1 root root      21 Oct 23 10:39 ant-bootstrap.jar -> ant/ant-bootstrap.jar
lrwxrwxrwx. 1 root root      11 Oct 23 10:39 ant.jar -> ant/ant.jar
lrwxrwxrwx. 1 root root      20 Oct 23 10:39 ant-launcher.jar -> ant/ant-launcher.jar
-rw-r--r--. 1 root root   11157 Jun 10  2014 aopalliance.jar
lrwxrwxrwx. 1 root root      15 Oct 23 10:39 apache-commons-cli.jar -> commons-cli.jar
-rw-r--r--. 1 root root  263897 Jun 10  2014 apache-commons-codec.jar
lrwxrwxrwx. 1 root root      14 Oct 23 10:39 apache-commons-io.jar -> commons-io.jar
-rw-r--r--. 1 root root  284068 Jun 10  2014 apache-commons-lang.jar
-rw-r--r--. 1 root root   26344 Jun 10  2014 apache-commons-logging-adapters.jar
-rw-r--r--. 1 root root   53123 Jun 10  2014 apache-commons-logging-api.jar
lrwxrwxrwx. 1 root root      19 Oct 23 09:34 apache-commons-logging.jar -> commons-logging.jar
lrwxrwxrwx. 1 root root      15 Oct 23 10:39 apache-commons-net.jar -> commons-net.jar
-rw-r--r--. 1 root root    3523 Jun 10  2014 atinject.jar
-rw-r--r--. 1 root root   32962 Jun 10  2014 avalon-framework-api.jar
-rw-r--r--. 1 root root   61965 Jun 10  2014 avalon-framework-impl.jar
lrwxrwxrwx. 1 root root      41 Oct 23 09:34 avalon-framework.jar -> /usr/share/java/avalon-framework-impl.jar
-rw-r--r--. 1 root root   86162 Jun 10  2014 avalon-logkit.jar
-rw-r--r--. 1 root root  521695 Jun 10  2014 bcel.jar
drwxr-xr-x. 2 root root      27 Oct 23 09:34 cal10n
-rw-r--r--. 1 root root   47388 Jun 10  2014 cdi-api.jar
-rw-r--r--. 1 root root  279289 Jun 10  2014 cglib.jar
-rw-r--r--. 1 root root   40849 Jun  9  2014 commons-cli.jar
lrwxrwxrwx. 1 root root      24 Oct 23 10:38 commons-codec.jar -> apache-commons-codec.jar
lrwxrwxrwx. 1 root root      30 Oct 23 10:39 commons-httpclient3.jar -> jakarta-commons-httpclient.jar
lrwxrwxrwx. 1 root root      30 Oct 23 10:39 commons-httpclient.jar -> jakarta-commons-httpclient.jar
-rw-r--r--. 1 root root  184977 Jun 10  2014 commons-io.jar
lrwxrwxrwx. 1 root root      23 Oct 23 09:34 commons-lang.jar -> apache-commons-lang.jar
lrwxrwxrwx. 1 root root      35 Oct 23 09:34 commons-logging-adapters.jar -> apache-commons-logging-adapters.jar
lrwxrwxrwx. 1 root root      30 Oct 23 09:34 commons-logging-api.jar -> apache-commons-logging-api.jar
-rw-r--r--. 1 root root   60997 Jun 10  2014 commons-logging.jar
-rw-r--r--. 1 root root  275412 Jun 10  2014 commons-net.jar
-rw-r--r--. 1 root root   90619 Jun 10  2014 easymock2-2.4.jar
lrwxrwxrwx. 1 root root      17 Oct 23 10:39 easymock2-2.5.2.jar -> easymock2-2.4.jar
drwxr-xr-x. 2 root root      43 Oct 23 10:39 felix
-rw-r--r--. 1 root root   16282 Jun 10  2014 geronimo-annotation.jar
lrwxrwxrwx. 1 root root      16 Oct 23 09:34 geronimo-jms_1.1_spec.jar -> geronimo-jms.jar
-rw-r--r--. 1 root root   27932 Jun 10  2014 geronimo-jms.jar
lrwxrwxrwx. 1 root root      16 Oct 23 09:34 geronimo-jta_1.1_spec.jar -> geronimo-jta.jar
-rw-r--r--. 1 root root   11686 Jun 10  2014 geronimo-jta.jar
lrwxrwxrwx. 1 root root      22 Oct 23 10:39 google-guice.jar -> guice/google-guice.jar
lrwxrwxrwx. 1 root root      29 Oct 23 10:39 google-guice-no_aop.jar -> guice/google-guice-no_aop.jar
-rw-r--r--. 1 root root 1888558 Jun 10  2014 guava.jar
drwxr-xr-x. 2 root root      59 Oct 23 10:39 guice
drwxr-xr-x. 2 root root      95 Oct 23 10:39 hamcrest
drwxr-xr-x. 2 root root      88 Oct 23 10:38 httpcomponents
-rw-r--r--. 1 root root  239674 Sep  8  2014 jakarta-commons-httpclient.jar
drwxr-xr-x. 2 root root    4096 Oct 23 09:34 javamail
-rw-r--r--. 1 root root  658194 Jun 10  2014 javassist.jar
lrwxrwxrwx. 1 root root      20 Oct 23 09:34 jaxp13.jar -> xml-commons-apis.jar
lrwxrwxrwx. 1 root root      20 Oct 23 09:34 jaxp.jar -> xml-commons-apis.jar
lrwxrwxrwx. 1 root root      34 Oct 23 09:34 jaxp_parser_impl.jar -> /etc/alternatives/jaxp_parser_impl
lrwxrwxrwx. 1 root root      37 Oct 23 09:34 jaxp_transform_impl.jar -> /etc/alternatives/jaxp_transform_impl
-rw-r--r--. 1 root root   50851 Jun  9  2014 jboss-ejb-3.1-api.jar
-rw-r--r--. 1 root root   34732 Jun 10  2014 jboss-el-2.2-api.jar
-rw-r--r--. 1 root root   15175 Jun 10  2014 jboss-interceptors-1.1-api.jar
-rw-r--r--. 1 root root   39161 Jun 10  2014 jboss-jaxrpc-1.1-api.jar
-rw-r--r--. 1 root root   81124 Jun 10  2014 jboss-servlet-3.0-api.jar
-rw-r--r--. 1 root root   25085 Jun 10  2014 jboss-transaction-1.1-api.jar
-rw-r--r--. 1 root root   62891 Jun 10  2014 jline.jar
lrwxrwxrwx. 1 root root      16 Oct 23 09:34 jms.jar -> geronimo-jms.jar
-rw-r--r--. 1 root root  249704 Jun  9  2014 jsch.jar
-rw-r--r--. 1 root root 1070523 Mar  6  2015 js.jar
-rw-r--r--. 1 root root  282608 Jun 10  2014 jsoup.jar
lrwxrwxrwx. 1 root root      16 Oct 23 09:34 jta.jar -> geronimo-jta.jar
lrwxrwxrwx. 1 root root      25 Oct 23 10:39 junit4.jar -> /usr/share/java/junit.jar
-rw-r--r--. 1 root root  290000 Jun 10  2014 junit.jar
-rw-r--r--. 1 root root   69344 Jun 10  2014 jzlib.jar
-rw-r--r--. 1 root root  474354 Jun 10  2014 log4j.jar
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 maven
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 maven-wagon
-rw-r--r--. 1 root root  883898 Jun 10  2014 mysql-connector-java.jar
-rw-r--r--. 1 root root  122949 Jun  9  2014 nekohtml.jar
-rw-r--r--. 1 root root    4374 Jun  9  2014 nekohtml-xni.jar
drwxr-xr-x. 2 root root    4096 Oct 23 10:38 objectweb-asm
-rw-r--r--. 1 root root    5307 Mar 20  2012 ojdbc6.jar
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 plexus
drwxr-xr-x. 2 root root      37 Oct 23 10:39 plexus-component-api
drwxr-xr-x. 2 root root      80 Oct 23 10:39 plexus-containers
-rw-r--r--. 1 root root  179456 Jun 10  2014 qdox.jar
-rw-r--r--. 1 root root   35782 Jun 10  2014 regexp.jar
-rw-r--r--. 1 root root   18386 Mar  6  2015 rhino-examples.jar
lrwxrwxrwx. 1 root root       6 Oct 23 10:29 rhino.jar -> js.jar
lrwxrwxrwx. 1 root root      25 Oct 23 09:34 servlet.jar -> /etc/alternatives/servlet
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 sisu
drwxr-xr-x. 2 root root    4096 Oct 23 09:34 slf4j
-rw-r--r--. 1 root root   92284 Mar  6  2015 tagsoup.jar
-rw-r--r--. 1 root root  197643 May 12 22:08 tomcat-servlet-3.0-api.jar
lrwxrwxrwx. 1 root root      26 Oct 23 09:34 tomcat-servlet-api.jar -> tomcat-servlet-3.0-api.jar
-rw-r--r--. 1 root root 1790027 Jun 10  2014 xalan-j2.jar
-rw-r--r--. 1 root root  284026 Jun 10  2014 xalan-j2-serializer.jar
drwxr-xr-x. 2 root root    4096 Oct 23 10:39 xbean
-rw-r--r--. 1 root root 1350192 Sep 30  2014 xerces-j2.jar
-rw-r--r--. 1 root root   85983 Jun 10  2014 xml-commons-apis-ext.jar
-rw-r--r--. 1 root root  219555 Jun 10  2014 xml-commons-apis.jar
lrwxrwxrwx. 1 root root      20 Oct 23 09:34 xml-commons-jaxp-1.3-apis.jar -> xml-commons-apis.jar
-rw-r--r--. 1 root root   86801 Jun 10  2014 xml-commons-resolver.jar

现在启动后报错,请教会是什么问题?

WARNING: Failed to scan [file:/usr/share/java/ojdbc6.jar] from classloader hierarchy
java.util.zip.ZipException: error in opening zip file
                at java.util.zip.ZipFile.open(Native Method)
                at java.util.zip.ZipFile.<init>(ZipFile.java:220)
                at java.util.zip.ZipFile.<init>(ZipFile.java:150)
                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:2647)
                at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:258)
                at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:220)
                at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1902)
                at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1272)
                at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
                at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
                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:5412)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
                at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
                at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
                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:745)

Best regards
for Det Norske Veritas (China) Company Limited

Hao Wei Jeffery Ji
Head of Section - BICC Shanghai
DNV GL, Global Shared Services – IT

E-mail jeffery.ji@dnvgl.com<mailto:jeffery.ji@dnvgl.com>
Mobile +86 18621522996  |  Direct +86 21 3208 4518
www.dnvgl.com<http://www.dnvgl.com/>  |  LinkedIn<http://www.linkedin.com/company/dnvgl>

Do you know about our fleet performance solution ECO Insight?
https://www.youtube.com/watch?v=IOFnWLw_jlE

[DNV GL]<http://www.dnvgl.com/>
DNV and GL have merged to form DNV GL - Read more here: www.dnvgl.com/merger<http://www.dnvgl.com/merger>
[Legal requirements go here]


**************************************************************************************
This e-mail and any attachments thereto may contain confidential information and/or information
protected by intellectual property rights for the exclusive attention of the intended addressees
named above. If you have received this transmission in error, please immediately notify the
sender by return e-mail and delete this message and its attachments. Unauthorized use, copying
or further full or partial distribution of this e-mail or its contents is prohibited.
**************************************************************************************
Mime
View raw message