11.3 Configuring the Web Integration Layer

Virgo Tomcat Server integrates an OSGi-enhanced version of the Tomcat Servlet Container in order to provide support for deploying Java EE WARs and OSGi Web Application Bundles. The Virgo Jetty Server does not provide support for Java EE WARs but does for Web Application Bundles. For Virgo Tomcat Server you configure the behaviour of the Web Integration Layer using the properties file called org.eclipse.virgo.web.properties. The org.eclipse.virgo.web.properties file is located in the $SERVER_HOME/config directory along with the other VTS configuration files, or $SERVER_HOME/jetty for Virgo Jetty Server.

The following table describes the properties.

Table 11.6. Web Integration Layer Properties

Property Description Default Value
WABHeaders

Specifies how Web Application Bundle manifest headers are processed. See "Web Application Manifest Processing" in the Programmer Guide for details.

A value of strict causes VTS to interpret certain headers in strict compliance with the OSGi Web Applications specification if they are not specified.

A value of defaulted causes VTS to set certain headers to default values if they are not specified. This was how VTS behaved prior to version 3. This value is provided as a migration aid and may not be supported in future releases. A warning event log message (WE0006W) is generated if this value is specified.

The Virgo Jetty Server will always operate in strict mode.

strict