RedHat 6.4 安装WAS 7.0 启动失败com.ibm.websphere.ssl.SSLException
2015-05-07 11:35
495 查看
问题描述
RedHat 6.4 安装 WAS 7.0,安装完成之后启动WAS失败,异常信息如下:
解决办法
修改/ect/hosts文件,示例修改如下:
修改完之后,重新启动Linux再试就可以了
参考资料
http://m.blog.csdn.net/blog/yuyunliu/9380799
http://www.cnblogs.com/hanxianlong/p/3379699.html
RedHat 6.4 安装 WAS 7.0,安装完成之后启动WAS失败,异常信息如下:
[5/7/15 9:59:55:185 CST] 00000000 WsServerImpl E WSVR0100W: An error occurred initializing, server1 [class com.ibm.ws.runtime.component.ServerImpl] com.ibm.ws.exception.ConfigurationError: com.ibm.websphere.ssl.SSLException: com.ibm.websphere.ssl.SSLException: SPJYXZXKSDXT-APP-01: SPJYXZXKSDXT-APP-01 at com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl.java:208) at com.ibm.ws.runtime.component.ContainerHelper.initWsComponent(ContainerHelper.java:1166) at com.ibm.ws.runtime.component.ContainerHelper.initializeComponent(ContainerHelper.java:1073) at com.ibm.ws.runtime.component.ContainerHelper.initializeComponents(ContainerHelper.java:874) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:780) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:754) at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:350) at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:280) at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214) at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666) at com.ibm.ws.runtime.WsServer.main(WsServer.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213) at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93) at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:981) at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:330) at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:108) Caused by: com.ibm.websphere.ssl.SSLException: com.ibm.websphere.ssl.SSLException: SPJYXZXKSDXT-APP-01: SPJYXZXKSDXT-APP-01 at com.ibm.ws.ssl.config.SSLConfigManager.initializeServerSSL(SSLConfigManager.java:322) at com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl.java:145) ... 31 more Caused by: com.ibm.websphere.ssl.SSLException: SPJYXZXKSDXT-APP-01: SPJYXZXKSDXT-APP-01 at com.ibm.ws.ssl.config.KeyStoreManager.checkIfKeyStoreExistsAndCreateIfNot(KeyStoreManager.java:1592) at com.ibm.ws.ssl.config.SSLConfigManager.parseSecureSocketLayer1(SSLConfigManager.java:1131) at com.ibm.ws.ssl.config.SSLConfigManager.parseSSLConfig(SSLConfigManager.java:667) at com.ibm.ws.ssl.config.SSLConfigManager.initializeServerSSL(SSLConfigManager.java:234) ... 32 more Caused by: java.net.UnknownHostException: SPJYXZXKSDXT-APP-01: SPJYXZXKSDXT-APP-01 at java.net.InetAddress.getLocalHost(InetAddress.java:1380) at com.ibm.ws.ssl.config.CertificateManager.chainedCertificateCreate(CertificateManager.java:341) at com.ibm.ws.ssl.config.KeyStoreManager.checkIfKeyStoreExistsAndCreateIfNot(KeyStoreManager.java:1580) ... 35 more
解决办法
修改/ect/hosts文件,示例修改如下:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 SPJYXZXKSDXT-APP-01.site SPJYXZXKSDXT-APP-01 10.100.12.11 localhost localhost.localdomain localhost6 localhost6.localdomain6 SPJYXZXKSDXT-APP-01 SPJYXZXKSDXT-APP-01
修改完之后,重新启动Linux再试就可以了
参考资料
http://m.blog.csdn.net/blog/yuyunliu/9380799
http://www.cnblogs.com/hanxianlong/p/3379699.html
相关文章推荐
- RedHat 6.4 安装WAS 7.0 启动失败com.ibm.websphere.ssl.SSLException
- java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory的解决办法
- 在端口 9081 的主机 CHQWEB 上启动传输失败。很可能是因为端口已被使用。请确保没有其它应用程序使用此端口,并重新启动服务器。com.ibm.ws.webcontainer.exception.TransportException: Failed
- Websphere(WAS)安装war包后项目无法启动或删除,同时Websphere(WAS)无法关闭或启动的解决办法
- linux系统安装IBM WebSphere Application Server(简称WAS)报错:JVM terminated. Exit code=1 ....
- com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException
- was(websphere)启动服务java.sql.SQLRecoverableException
- server启动故障:com.ibm.ws.exception.RuntimeError
- 解决:webSphere(was7.0)无法启动
- Linux RedHat6.4安装免费版Websphere8.5报错
- RedHat 7.0 下 FTP 服务的安装,启动,配置,以及虚拟用户的建立
- websphere 7.0 控制台中的企业服务启动失败 ( 尝试处理服务器 server1 时发生异常 )
- WSVR0009E: 启动期间发生错误 com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL:
- 备忘:javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found
- J2CA0056I: 连接管理器接收到来自资源 jdbc/gywork 的资源适配器的致命连接错误。接收到的异常为 com.ibm.websphere.ce.cm.StaleConnectionException: JZ006: 捕获到 IO 例外:com
- server启动故障处理 com.ibm.ws.exception.RuntimeError
- 程序在tomcat运行正常,但部署到websphere会启动失败(org.hibernate.InvalidMappingException: Could not parse mapping doc)
- ADMU3007E: 异常 com.ibm.websphere.management.exception.NoServerDefinedExceptio
- MyEclipse8.5集成Tomcat7时的启动错误:Exception in thread “main” java.lang.NoClassDefFoundError org/apache/com
- redhat 9.0下简单安装并启动SSH服务器