跳转到主内容

SCC服务崩溃、并显示Stacktrace NoClassDefFound

Views:
3
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用场景

适用于Linux上的SnapCenter Creator (SCC) 6.x插件

问题描述

从作业的SnapManagerWeb日志中、您会发现记录了以下行(为便于阅读、记录了相应行):

DEBUG SnapManagerWeb_<JOB_ID> PID=[5708] TID=[26] Basic: HTTPS URL :https://<LINUX_HOST>:8145/PluginService/EnablePlugin
DEBUG SnapManagerWeb_<JOB_ID> PID=[5708] TID=[26] Basic:
  Certificate Name: [CN=ukspps4hhdb01, OU=MPG, O=NetApp, L=Sunnyvale,S=California, C=US],
  Issuer: [CN=<LINUX_HOST>, OU=MPG, O=NetApp, L=Sunnyvale, S=California,C=US],
  Hash: [2470648D4000A1C069967A8C563B0BF7E45BADE1], Public friendly name:[],
  Public key size: [3072], Public key exchange algorithm: [RSA]

DEBUG SnapManagerWeb_1814PID=[5708] TID=[130] InvokeXML: Response Data: ****************************
 <?xml version="1.0" encoding="utf-16"standalone="yes"?><SmResponse><Result>
 <_message>Error in invoking SCC RestEndpointEnablePlugin : HTTP 500 Internal Server Error</_message>
 <_errorCode>-1</_errorCode>
 </Result><TotalCount>0</TotalCount><DisplayCount>0</DisplayCount></SmResponse>

 
检查SCC服务时、它无法继续运行:
# systemctl status scc
  • scc.service - SnapCenter Plugin Creator
Loaded: loaded (/etc/systemd/system/scc.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since <DATE><TIME>; N days ago
 
systemd[1]: scc.service: Service RestartSec=5min expired, scheduling restart.
systemd[1]: scc.service: Scheduled restart job, restart counter is at NN
systemd[1]: Stopped SnapCenter Plugin Creator.
systemd[1]: scc.service: Start request repeated too quickjly.
systemd[1]: scc.service: Failed with result 'exit-code'.
systemd[1]: Failed to start SnapCenter Plugin Creator.
 

 

/opt/NetApp/snapcenter/scc/logs/startup.log中可见的日志显示为在首次访问时崩溃:

org.eclipse.jetty.server.HttpChannel -/SMCoreHostManagementService/DiscoverPlugin
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.transport.http.Headers
    at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:405)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:250)
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.Server.handle(Server.java:516)
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
    at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
    at java.base/java.lang.Thread.run(Thread.java:829)

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.