This rule flags resource-ref elements found in the WEB-INF/web.xml file that are missing the res-sharing-scope element. Apache Tomcat server defaults the resource sharing scope to Shareable . The resource sharing scope is defined as an optional attribute in Java EE. An automated fix will be provided in order to get the same sharable scope in WebSphere traditional and Liberty as you had in Tomcat.
The automated fix will add the res-sharing-scope element if it is not already set and defines the connection as Shareable .
This is an example of a resource reference that would be flagged:For more information on sharing resource connections in WebSphere Application Server, see Unshareable and shareable connections.