Z/OS based WebSphere Application Server (WAS) instance fails to start after moving from APM Agent Autoprobe (-Xbootclasspath) to -javaagent instrumentation

Document ID : KB000019240
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When switching from Application Server Autoprobe to -javaagent switches some WAS instances fail to start. No APM Java Agent logs are produced. The following messages are being reported to either WAS console or error log:

Message: BBOO0220E: WSVR0009E: Error occurred during startup com.ibm.ws.exception.RuntimeError: Servlet Cache Service was not initialized successful.
Exception:,javax.servlet.http.HttpServlet
.at com.ibm.ws.cache.ServletCacheServiceImpl.start (ServletCacheServiceImpl.java:233)
...
...

Solution:

Amend trace options in toggles.pbd as follows:

TurnOn: HTTPServletTracing
#TurnOn: HTTPAppServerAutoProbeServletTracing

i.e. comment out HTTPAppServerAutoProbeServletTracing when using -javaagent switch