启动server1异常,信息如下:

[root@cmiecmceprd02 bin]# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/app/websphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3011E: Server launched but failed initialization. startServer.log,
SystemOut.log(or job log in zOS) and other log files under
/app/websphere/AppServer/profiles/AppSrv01/logs/server1 should
contain failure information.

进入/app/websphere/AppServer/profiles/AppSrv01/logs/server1目录,SystemOut.log显示如下错误:

com.ibm.ws.exception.ConfigurationError: com.ibm.websphere.ssl.SSLException: com.ibm.websphere.ssl.SSLException: cmiecmceprd02: cmiecmceprd02
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: cmiecmceprd02: cmiecmceprd02
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: cmiecmceprd02: cmiecmceprd02
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: cmiecmceprd02: cmiecmceprd02
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

解决方案:

将机器名添加到 /etc/hosts里面

127.0.0.1 HOSTNAME

最新文章

  1. 点击短信中的url打开某个应用
  2. bash的一些小技巧
  3. C++设计新思维的traits和policy
  4. [原]Hrbust1328 相等的最小公倍数 (筛素数,素因子分解)
  5. LeetCode 42
  6. js数组反转
  7. 一篇文章让你彻底搞清楚Python中self的含义
  8. hdu 1520Anniversary party(简单树形dp)
  9. 如何安装Magento 2.0
  10. Lubuntu下安装Python3.6
  11. Mad Libs游戏
  12. JsonServer服务环境搭建
  13. win10忘记开机密码无法进入桌面
  14. 学习 JS滚轮事件(mousewheel/DOMMouseScroll)
  15. oa tomcat 代码处理跨域问题
  16. hive 的理解
  17. Jackson 处理复杂类型(List,map)两种方法
  18. php时间戳和日期转换,以及时间戳和星期转换
  19. OI字符串 简单学习笔记
  20. Spring boot项目集成Sharding Jdbc

热门文章

  1. javascript高级程序设计--笔记01
  2. IRunningObjectTable接口
  3. css3弹性盒子模型
  4. js jquery 扩展方法
  5. php解析json数组
  6. docker 安装
  7. poj 3264 Balanced Lineup (RMQ)
  8. Nginx 获取真实 IP 方案
  9. bootstrap的小图标
  10. NSCalenda日历类