The Platform Web Services web application might fail to start with the message "More than one fragment with the name [spring_web] was found"


After you update Platform Web Services for SAS, the Platform Web Services for SAS application might fail to start. This failure to start prevents applications like the SAS® Grid Manager for Platform Module for SAS® Environment Manager and SAS Grid Manager for Platform Agent Plug-in for SAS Environment Manager from functioning.

In the server.log file for the SAS® Web Application Server where Platform Web Services for SAS is deployed (typically SASServer14_1), messages similar to the following might occur:

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext
[/PlatformWebServices]]
...
Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
...

or

[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/PlatformWebServices].[CXFServlet]] Servlet.service() for servlet [CXFServlet] in context with path [/PlatformWebServices] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchMethodError: org.apache.cxf.common.util.StringUtils.split
(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;


These messages are the result of deploying multiple versions of library files in the Platform Web Services for SAS application, which is typically the result of an update adding new libraries but leaving the old libraries present.

Workaround

To circumvent this issue, remove or rename the platformpws directory from the <SASConfig>/Levn/Web/Staging/exploded/ path​​​​​​. Then, rebuild and redeploy the Platform Web Services for SAS application as described in the following sections of the Middle Tier Administration Guide: