kylin_異常_01_java.io.FileNotFoundException:/developer/apache-kylin-2.3.0-bin/tomcat/conf/.keystore
一、異常現象
kylin安裝完,啟動後,控制正常,kylin後臺也能正常訪問。但是去看kylin的日誌,卻發現報錯了:
SEVERE: Failed to load keystore type JKS with path conf/.keystore due to /developer/apache-kylin-2.3.0-bin/tomcat/conf/.keystore (No such file or directory) java.io.FileNotFoundException: /developer/apache-kylin-2.3.0-bin/tomcat/conf/.keystore (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1041) at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:100) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:470) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:381) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:634) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:574) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:519) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:255) at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:400) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:728) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:452) at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) at org.apache.catalina.connector.Connector.initInternal(Connector.java:978) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:560) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:840) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.startup.Catalina.load(Catalina.java:654) at org.apache.catalina.startup.Catalina.start(Catalina.java:693) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.main(RunJar.java:212) Mar 27, 2018 11:02:28 AM org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-7443"]
二、異常原因
因為沒有HTTPS的證照,所以導致異常
三、異常解決
去掉tomcat下的https
在kylin內建tomcat的server.xml中裡邊有個對https的支援沒啟用的話 註釋掉
四、參考資料
相關文章
- Tomcat常見異常及解決方案程式碼例項Tomcat
- 某客戶系統tomcat連線池連線異常Tomcat
- 一次訊號量引發的tomcat異常退出Tomcat
- maven外掛 tomcat7啟動報錯,異常如下MavenTomcat
- 異常和異常呼叫鏈
- 異常篇——異常記錄
- 異常篇——異常處理
- 異常-異常的注意事項
- Java 異常(二) 自定義異常Java
- 異常-編譯期異常和執行期異常的區別編譯
- 異常?
- 異常
- 異常-異常的概述和分類
- 異常-throws的方式處理異常
- hibernate異常之--count查詢異常
- 兩種異常(CPU異常、使用者模擬異常)的收集
- jmu-Java-06異常-01-常見異常Java
- Java 異常表與異常處理原理Java
- restframework 異常處理及自定義異常RESTFramework
- 【java】異常Java
- java 異常Java
- oracle 異常Oracle
- Java 異常Java
- 異常(Exception)Exception
- Java異常Java
- 異常JavaJava
- OutOfMemoryError異常Error
- 18異常
- myeclipse中tomcat部署程式出現:java.lang.OutOfMemoryError:PermGen space 異常解決方法EclipseTomcatJavaError
- Flutter 常見異常分析Flutter
- Java 異常(一) 異常概述及其架構Java架構
- python自定義異常,使用raise引發異常PythonAI
- MVC使用異常過濾器處理異常MVC過濾器
- Generate BKS File( Bouncy Castle KeyStore)AST
- C#自定義異常 統一異常處理C#
- 異常-try...catch的方式處理異常1
- 異常-try...catch的方式處理異常2
- 異常-自定義異常的實現和測試