user manual

32 BES Developers Guide
Borland web container implementation
Note All attributes listed for each element are required.
Table 4.2 Borland-specific new elements
Element
Require
d
Description Default Behavior DDEditor Pane
context-root no Specifies a user-
defined name for
the web
application. To
designate the
application as the
root web
application, type
"!ROOT!".
By default, the
WAR name
(without the .war
extension) is
used for the
application if
there is no
context-root at
the EAR level.
General
web-deploy-
path(service,
engine, host)
no Specifies exactly
where to deploy the
web application
(service, engine,
host). The Borland
web container
(based on Tomcat)
has a notion of a
host being part of
an engine which in
itself is a part of a
service. There can
be multiple hosts
under an engine
and there can be
multiple engines
under a given
service. A given
web application
can be deployed to
one or more of
these hosts. The
service, engine,
and host you
specify using this
element, override
the defaults.
However, this
element does
accept multiple
entries.
By default, the
web-deploy-path is
defined in the
following file:
<install_dir>\
var\domains\
<domain_name>\
configurations\
<configuration_na
me>\
<partition_manage
d-object_name>\
adm\tomcat\conf\
web-borland.xml
If no web-deploy-
path is defined in
this file, then the
default is:
service=HTTP
,
engine=HTTP,
and host=*
(deploy to
all hosts
available
under the
specified
engine)
Web Deploy
Paths