com.ibm.websphere.ssl.SSLException: Cannot get security object from WCCM报错

在重启服务器后,尝试启动WebSphere应用服务器时遇到错误。日志显示节点进程启动时,ContextManagerImpl类无法加载,导致SSL服务初始化失败。尝试清理缓存目录并重新同步节点,问题仍未解决。最终通过从其他集群同步程序代码到此服务器并成功启动,解决了启动问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 "控制台密码"

       第三步:

               启动程序,发现程序有报错,重新同步其他集群下面的程序代码到这个服务器,启动正常,解决问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值