You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brandon Metcalf <br...@logicmonitor.com> on 2014/07/31 17:55:16 UTC

overriding all other context.xml settings in conf/context.xml

I know that the load order of context settings is

$CATALINA_BASE/conf/context.xml
$CATALINA_BASE/conf/[enginename]/[hostname]/[app].xml


-- 
Brandon Metcalf | Technical Operations
brandon.metcalf@logicmonitor.com
M: 1-512-917-8198

<http://www.logicmonitor.com>
*Cloud-based performance monitoring*


* <https://www.facebook.com/LogicMonitor?ID=70140000000mSeh>
<https://twitter.com/logicmonitor?ID=70140000000mSem>
<https://www.linkedin.com/company/1165219?ID=70140000000mSer>*

Re: overriding all other context.xml settings in conf/context.xml

Posted by Brandon Metcalf <br...@logicmonitor.com>.
No doubt we are woefully behind, but hoping there is a solution to my
question with the current version.


On Thu, Jul 31, 2014 at 12:26 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Brandon,
>
> On 7/31/14, 11:57 AM, Brandon Metcalf wrote:
> > Sorry, I hit send a little too soon
> >
> > I'm trying to figure out a way where
> > $CATALINA_BASE/conf/context.xml takes precedence over any other
> > context settings.  I thought the override option would do this, but
> > it doesn't seem to behave the way I think it should. I'm using
> > tomcat 5.5.28.
>
> Any chance for an upgrade? That version is quite old and has several
> "Important" security issues that have been fixed in the intervening
> years. Also, the current stable version of Tomcat is 8.0.9. The oldest
> supported version of Tomcat is 6.0.41.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJT2nwqAAoJEBzwKT+lPKRYSBYQAJYsA/D3wl1979p5OHpVsZMq
> uBcmJb6KykOoXbtRyl+tDbCPuDZRSBzLdQ9lMj6W3zhXW2UKmPosfDKd5+6Xduej
> gW3CPZjLUmcXfL/vbvYNr4lbPW8bj54ADH6RNk8B7rGsqOfrsNPGkib0/jA7B6cn
> LvZNC/Hxo+gJoNgxfxw6lQuIlfwyZchJ2ecJ91W6PHk6ryGpHrMI7fJcV5OWRonE
> pM0ZAfOJR5E+62EiQ2YMInqdSqAiooFGL/jPTKUU5HrmvyeFiodINE0Yv1XcU5UG
> uvNGT6FwtFt1MycIostD6DMHbNNoqjNPvnzA2fiR44Hpkho2G5VgKPddCwR/fxQL
> tVt38/GB7nXdk5t5XRVtQy+eu5Y38DTCRDOdCtV8sUiPNsBbBDri0RCRa+dpPVa0
> /rhfsCorszIQVhMH6GpqACM6HskIHvUNjYsOFKhf7IGona1eB2dU/PnsbrPaIQpj
> zHgGuq4lAdp7tvKCTALQETbkvQXGbD7s3SBI4r/Oq1gAOYMj1DUx9QUPIeAqZPLS
> gxBbSEd5Z3+l+Blk1kG2rf5EX5FOLsBNa9aYzXOV6ueZU6OtsQihW+vdiL2+QIG9
> 9DBRiIyO+M4K618wrdDPNUkNBHydQRCBdqQmZwfrltI5qnG74MF5jw9gwNu6JWSx
> D052ZyHCRwa/UnrjPmXN
> =vzJ6
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: overriding all other context.xml settings in conf/context.xml

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Brandon,

On 7/31/14, 11:57 AM, Brandon Metcalf wrote:
> Sorry, I hit send a little too soon
> 
> I'm trying to figure out a way where
> $CATALINA_BASE/conf/context.xml takes precedence over any other
> context settings.  I thought the override option would do this, but
> it doesn't seem to behave the way I think it should. I'm using
> tomcat 5.5.28.

Any chance for an upgrade? That version is quite old and has several
"Important" security issues that have been fixed in the intervening
years. Also, the current stable version of Tomcat is 8.0.9. The oldest
supported version of Tomcat is 6.0.41.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJT2nwqAAoJEBzwKT+lPKRYSBYQAJYsA/D3wl1979p5OHpVsZMq
uBcmJb6KykOoXbtRyl+tDbCPuDZRSBzLdQ9lMj6W3zhXW2UKmPosfDKd5+6Xduej
gW3CPZjLUmcXfL/vbvYNr4lbPW8bj54ADH6RNk8B7rGsqOfrsNPGkib0/jA7B6cn
LvZNC/Hxo+gJoNgxfxw6lQuIlfwyZchJ2ecJ91W6PHk6ryGpHrMI7fJcV5OWRonE
pM0ZAfOJR5E+62EiQ2YMInqdSqAiooFGL/jPTKUU5HrmvyeFiodINE0Yv1XcU5UG
uvNGT6FwtFt1MycIostD6DMHbNNoqjNPvnzA2fiR44Hpkho2G5VgKPddCwR/fxQL
tVt38/GB7nXdk5t5XRVtQy+eu5Y38DTCRDOdCtV8sUiPNsBbBDri0RCRa+dpPVa0
/rhfsCorszIQVhMH6GpqACM6HskIHvUNjYsOFKhf7IGona1eB2dU/PnsbrPaIQpj
zHgGuq4lAdp7tvKCTALQETbkvQXGbD7s3SBI4r/Oq1gAOYMj1DUx9QUPIeAqZPLS
gxBbSEd5Z3+l+Blk1kG2rf5EX5FOLsBNa9aYzXOV6ueZU6OtsQihW+vdiL2+QIG9
9DBRiIyO+M4K618wrdDPNUkNBHydQRCBdqQmZwfrltI5qnG74MF5jw9gwNu6JWSx
D052ZyHCRwa/UnrjPmXN
=vzJ6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: overriding all other context.xml settings in conf/context.xml

Posted by Brandon Metcalf <br...@logicmonitor.com>.
Sorry, I hit send a little too soon

I'm trying to figure out a way where $CATALINA_BASE/conf/context.xml takes
precedence over any other context settings.  I thought the override option
would do this, but it doesn't seem to behave the way I think it should.
 I'm using tomcat 5.5.28.

Thanks.


On Thu, Jul 31, 2014 at 10:55 AM, Brandon Metcalf <
brandon.metcalf@logicmonitor.com> wrote:

> I know that the load order of context settings is
>
> $CATALINA_BASE/conf/context.xml
> $CATALINA_BASE/conf/[enginename]/[hostname]/[app].xml
>
>
> --
> Brandon Metcalf | Technical Operations
> brandon.metcalf@logicmonitor.com
> M: 1-512-917-8198
>
> <http://www.logicmonitor.com>
> *Cloud-based performance monitoring*
>
>
> * <https://www.facebook.com/LogicMonitor?ID=70140000000mSeh>
> <https://twitter.com/logicmonitor?ID=70140000000mSem>
> <https://www.linkedin.com/company/1165219?ID=70140000000mSer> *
>



-- 
Brandon Metcalf | Technical Operations
brandon.metcalf@logicmonitor.com
M: 1-512-917-8198

<http://www.logicmonitor.com>
*Cloud-based performance monitoring*


* <https://www.facebook.com/LogicMonitor?ID=70140000000mSeh>
<https://twitter.com/logicmonitor?ID=70140000000mSem>
<https://www.linkedin.com/company/1165219?ID=70140000000mSer>*