The Gemini Web container conforms to the OSGi Web Applications specification and does not apply default values to the headers of a Web Application Bundle. However, SpringSource dm Server 2.0.x applies default values to certain headers (see below) and so Virgo modifies the behaviour of Gemini Web so that it applies default values consistently with dm Server 2.0.x.
This restriction is intended to ease migration to Virgo 2.1.0 and may be removed in a later release.
The following defaults are applied to a Web Application Bundle:
Bundle-ManifestVersion
is set to 2
Bundle-SymbolicName
is generated from the path from which the bundle was installed
Bundle-ClassPath
is set to WEB-INF/classes
followed by the JARs in
WEB-INF/lib
in an unspecified order, followed by any transitive dependencies declared
by the JARs in WEB-INF/lib
Import-Package
is extended to import a fixed set of javax.servlet.*
packages, javax.el
, and packages which are exported by the system bundle but not
provided by the bundle (see Automatic Imports
for the Web Personality for details)