Do not use kodo.remote.PersistenceServerServlet in web.xml

This rule detects the presence of a servlet definition in the web.xml file, where the <servlet-class> element is set to kodo.remote.PersistenceServerServlet . The web.xml file must be inside a WEB-INF folder. The automated fix will delete the servlet entry and the associated servlet mapping entry.

The following table provides examples of web.xml elements that are detected and deleted:

web.xml in WEB-INF Folder

...
<servlet id="Servlet_123">
    <servlet-name>TheServletName</servlet-name>
    <servlet-class>kodo.remote.PersistenceServerServlet</servlet-class>
</servlet>

...

<servlet-mapping>
    <servlet-name>TheServletName</servlet-name>
    <url-pattern>/anyURIPath</url-pattern>
</servlet-mapping>

...