tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Jserv -> Tomcat [Global Init Parameters]
Date Fri, 20 Oct 2000 22:21:58 GMT
Steven Rice wrote:

> Howdy,
> I have just switched from jserv to tomcat on the development servers. My
> setup uses LVS and a "farm" of servers.  To deal with this problem we
> used a 'Global Init Parameter' in jserv on each server:
> servlets.default.initArgs=egobrowse_base_url=
> Where do I put this global parameter in tomcat?  It looks like the
> correct place is in web.xml but we have a lot of servlets, many web
> apps, and many servers.  Sure a quick script can change the 100's of
> entries, but with this solution we could it in one place.

The ability to do this (specify a global parameter to all servlets) was a feature
specific to Apache JServ, and does not exist in Tomcat.  The closest you can come
is a servlet context parameter that is common to all apps.

> Thanks,
> Steven Rice

Craig McClanahan

See you at ApacheCon Europe <>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat

View raw message