1、报错
was node进程启动报错,查看SystemOut.log日志报错如下:
4/24/22 16:50:20:782 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info.
[4/24/22 16:50:20:948 CST] 00000000 ManagerAdmin I TRAS0111I: The message IDs that are in use are deprecated
[4/24/22 16:50:20:998 CST] 00000000 ModelMgr I WSVR0800I: Initializing core configuration models
[4/24/22 16:50:21:279 CST] 00000000 ComponentMeta I WSVR0179I: The runtime provisioning feature is disabled. All components will be started.
[4/24/22 16:50:21:341 CST] 00000000 ProviderTrack I com.ibm.ffdc.osgi.ProviderTracker AddingService FFDC1007I: FFDC Provider Installed: com.ibm.ffdc.EmptyProvider(silent)
[4/24/22 16:50:21:366 CST] 00000000 ProviderTrack I com.ibm.ffdc.osgi.ProviderTracker AddingService FFDC1007I: FFDC Provider Installed: com.ibm.ws.ffdc.impl.FfdcProvider@7e5b7e5b
[4/24/22 16:50:21:448 CST] 00000000 AdminInitiali A ADMN0015I: The administration service is initialized.
[4/24/22 16:50:21:465 CST] 00000000 AlarmThreadPo I UTLS0015I: Hung thread detection for alarm thread pools is enabled with a 40000 millisecond threshold.
[4/24/22 16:50:21:530 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:563 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:589 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:592 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:632 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:634 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:640 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:643 CST] 00000000 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:652 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:675 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:686 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:702 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:712 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:718 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:737 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:741 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:749 CST] 00000000 PluginConfigS I PLGC0057I: The plug-in configuration service started successfully.
[4/24/22 16:50:21:775 CST] 00000001 ContextManage E createInstance Could not load class: com.ibm.ws.security.auth.ContextManagerImpl
[4/24/22 16:50:21:793 CST] 00000000 SSLComponentI I CWPKI0001I: SSL service is initializing the configuration
[4/24/22 16:50:21:830 CST] 00000000 SSLComponentI A CWPKI0007I: SSL service failed to start successfully
[4/24/22 16:50:21:831 CST] 00000000 WsServerImpl E WSVR0100W: An error occurred initializing, nodeagent [class com.ibm.ws.runtime.component.ServerImpl]
com.ibm.ws.exception.ConfigurationError: com.ibm.websphere.ssl.SSLException: Cannot get security object from WCCM.
at com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl.java:208)
at com.ibm.ws.runtime.component.ContainerHelper.initWsComponent(ContainerHelper.java:1191)
at com.ibm.ws.runtime.component.ContainerHelper.initializeComponent(ContainerHelper.java:1098)
at com.ibm.ws.runtime.component.ContainerHelper.initializeComponents(ContainerHelper.java:900)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:776)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:750)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:349)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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:341)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:111)
Caused by: com.ibm.websphere.ssl.SSLException: Cannot get security object from WCCM.
at com.ibm.ws.ssl.config.SSLConfigManager.initializeServerSSL(SSLConfigManager.java:232)
at com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl.java:145)
... 31 more
2、起因
服务器断电,启动服务器后启动was进程,不知道是不是丢失了什么
3、解决办法
尝试的解决方式
第一步:
删掉缓存目录路径:
/home/was/AppServer/profiles/reswebApp1/temp
/home/was/AppServer/profiles/reswebApp1/wstemp
/home/was/AppServer/profiles/reswebApp1/config/temp
第二步:
重新同步node
/was/WebSphere/AppServer/profiles/reswebApp1/bin/syncNode.sh "控制台IP" 8879 -user "控制账号" -password "控制台密码"
第三步:
启动程序,发现程序有报错,重新同步其他集群下面的程序代码到这个服务器,启动正常,解决问题