Azure / appcat-rulesets

Repository for maintaining Rulesets for Windup
Eclipse Public License 2.0
5 stars 7 forks source link

Create a rule to support Jetty config files #118

Closed agoncal closed 11 months ago

agoncal commented 12 months ago

jetty-env.xml is an optional Jetty file that configures JNDI resources for an individual webapp. The format of jetty-web.xml is the same as jetty.xml–it is an XML mapping of the Jetty API.

When Jetty deploys a web application, it automatically looks for a file called WEB-INF/jetty-env.xml within the web application (or WAR), and sets up the webapp naming environment so that naming references in the WEB-INF/web.xml file can be resolved from the information provided in the WEB-INF/jetty-env.xml and jetty.xml files. You define global naming resources on the server via jetty.xml.

https://wiki.eclipse.org/Jetty/Reference/jetty-env.xml

showpune commented 12 months ago

Hi @agoncal , I am interesting what will be the target platform is customer use WEB-INF/jetty-env.xml in a war