tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Luehe <Jan.Lu...@Sun.COM>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup
Date Mon, 14 Feb 2005 23:22:11 GMT

Remy Maucherat wrote:
> wrote:
>>luehe       2005/02/14 11:27:41
>>  Modified:    catalina/src/share/org/apache/catalina/startup
>>  Log:
>>  Use configuration from alt-dd if specified.
>>  (Setter for alt-dd had been added to StandardContext, but this info
was never used.)
> What's the use of that ? I see it could be useful to deviate from the
> standard, but that's it ...

Yes, this is useful for when your web module is deployed as part of a
J2EE application inside a J2EE container. According to J2EE.8.3.1
("Assembling a J2EE Application"), step 3:

  The deployment descriptors for the J2EE modules must be edited to link
  internally satisfied dependencies and eliminate any redundant security
  role names. An optional element alt-dd [...] may be used when it is
  desirable to preserve the original deployment descriptor. The element
  alt-dd specifies an alternate deployment descriptor to use at
  deployment time.

> I suppose the field was lying around from TC 4.0, and not actually used,
> right ?

According to cvs, this StandardContext property was added in


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message