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的支援沒啟用的話 註釋掉
四、參考資料
相關文章
- 解析Oracle developer 異常處理機制OracleDeveloper
- tomcat埠被佔用異常Tomcat
- Tomcat常見異常及解決方案程式碼例項Tomcat
- 解決tomcat啟動時無法找到GroovyObject 異常TomcatObject
- 異常篇——異常處理
- 異常和異常呼叫鏈
- maven外掛 tomcat7啟動報錯,異常如下MavenTomcat
- 某客戶系統tomcat連線池連線異常Tomcat
- 測試 web程式,tomcat出現java.lang.OutOfMemoryError異常。WebTomcatJavaError
- Java 異常(二) 自定義異常Java
- Java checked異常和unchecked異常。Java
- Tomcat啟動時無法找到配置檔案異常(eclipse)TomcatEclipse
- eclipse異常關閉 導致tomcat 6.0 無法重啟EclipseTomcat
- 異常-編譯期異常和執行期異常的區別編譯
- 異常-throws的方式處理異常
- 異常處理與異常函式函式
- jmu-Java-06異常-01-常見異常Java
- hibernate異常之--count查詢異常
- Java 異常表與異常處理原理Java
- restframework 異常處理及自定義異常RESTFramework
- oracle 異常Oracle
- OutOfMemoryError異常Error
- Java異常Java
- 異常(Exception)Exception
- Java 異常Java
- 異常JavaJava
- 【java】異常Java
- java 異常Java
- Flutter 常見異常分析Flutter
- tomcat連線池不夠-java.sql.SQLException: Io 異常: Connection resetTomcatJavaSQLException
- Java 異常(一) 異常概述及其架構Java架構
- MVC使用異常過濾器處理異常MVC過濾器
- 儲存過程——異常捕獲&列印異常資訊儲存過程
- C#規範整理·異常與自定義異常C#
- 異常-try...catch的方式處理異常1
- 異常-try...catch的方式處理異常2
- 異常-自定義異常的實現和測試
- python自定義異常,使用raise引發異常PythonAI