Table of Contents
Support of GlassFish deployment descriptors
Payara Server supports specifying deployment configuration using GlassFish deployment descriptor files.
Payara deployment descriptors
Additionally from version 5.183, payara-web.xml
can be used instead of glassfish-web.xml
. The top level element for the payara-web.xml
file must be payara-web-app
and the schema can be refererenced by:
<!DOCTYPE payara-web-app PUBLIC "-//Payara.fish//DTD Payara Server 4 Servlet 3.0//EN" "{payaraWebDtd}">
See the schema reference for the list of deployment descriptor DTD files.
Allowed configuration elements
The following elements are supported in Payara Server on top of elements supported by GlassFish:
glassfish-application.xml
-
classloading-delegate
-
enable-implicit-cdi
-
default-role-mapping
(property) -
whitelist-package
-
scanning-exclude
-
scanning-include