search cancel

Unable to access REST API heartbeat in Spectrum 10.4.3


Article ID: 212923


Updated On:


CA Spectrum


After upgrade to 10.4.3, when sending REST API heartbeat, the system response is a HTTP 403 error:


at Source)

The issue is that an error is generated when accessing http://<OneClick_hostname>:<port>/spectrum/restful/heartbeat . This responds with error code 500.


DX NetOps Spectrum 20.2..x


The following exceptions are being continuously generated whenever an attempted REST API call is made:

Mar 29, 2021 12:54:55 PM org.apache.catalina.core.ApplicationContext log

SEVERE: Servlet.init() for servlet [CXFServlet] threw exception

java.lang.NumberFormatException: null

        at java.lang.Integer.parseInt(

        at java.lang.Integer.parseInt(


        at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(

        at org.apache.catalina.core.StandardWrapper.initServlet(

        at org.apache.catalina.core.StandardWrapper.loadServlet(

        at org.apache.catalina.core.StandardWrapper.load(

        at org.apache.catalina.core.StandardContext.loadOnStartup(

        at org.apache.catalina.core.StandardContext.startInternal(

        at org.apache.catalina.util.LifecycleBase.start(

        at org.apache.catalina.core.ContainerBase.addChildInternal(

        at org.apache.catalina.core.ContainerBase.addChild(

        at org.apache.catalina.core.StandardHost.addChild(

        at org.apache.catalina.startup.HostConfig.deployDirectory(

        at org.apache.catalina.startup.HostConfig$

        at java.util.concurrent.Executors$


This is due to the ThreadPoolSize parameter being read in as null instead of some proper integer value and hence this exception is thrown.

The ThreadPoolSize value is read from:


In the section:





Check the value of ThreadPoolSize in the web.xml file. By default, its value should be 20 as shown above.

If its empty, then that is the root cause of this issue. If so, change it to 20 and then restart Spectrum Tomcat.

Additional Information

KB : REST API is no longer working after Spectrum upgrade