Namespace values in ejb-jar.xml must be consistent with the descriptor version

Prior to Liberty 22.0.0.1, the Liberty server cannot load Enterprise JavaBeans (EJB) modules where the ejb-jar.xml deployment descriptor has a namespace value that does not match the defined version. EJB modules at version 2.1 must use the http://java.sun.com/xml/ns/j2ee namespace. EJB modules at version 3.0 or 3.1 must use the http://java.sun.com/xml/ns/javaee namespace. EJB modules at version 3.2 or later must use the http://xmlns.jcp.org/xml/ns/javaee namespace.

This requirement for the Liberty server was removed in Liberty 22.0.0.1. Namespace values in the web.xml do not need to match the defined versions in Liberty 22.0.0.1 and later versions.

This rule has an automated fix to update the namespace value. Copy the custom configuration to your application build file to enable it.