-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Felipe,

On 9/15/15 4:15 PM, Felipe Jaekel wrote:
> I don't replace the war file, only copy a new version to webapps
> folder.
> 
> I restart tomcat everyday at dawn to reset PermGen space. (Tried to
> profile the webapps sometimes but didn't figured out the
> problem...)
> 
> I edited conf/context.xml to disable session persistence.
> 
> My idea was making tomcat read the new configuration value after it
> was restarted.

Sorry, you can't have it both ways: both auto-detect config changes
and ignore config changes.

If you want that kind of semantics, you *can* do it, but it's not a
configuration setting: you actually have to do work:

1. Set autoDeploy="false"
2. Use the manager web application to deploy new versions of your
application

- -chris

> 2015-09-15 16:52 GMT-03:00 Christopher Schultz
> <ch...@christopherschultz.net
>> :
> 
> Felipe,
> 
> On 9/15/15 2:11 PM, Felipe Jaekel wrote:
>>>> I use parallel deployment, so I set *autoDeploy=true* to
>>>> enable newer versions of webapps as as soon as they are
>>>> deployed
> 
> Deployed... how? If you replace webapp.war with a new copy, Tomcat 
> will re-start *that* context, and not just add a new versioned
> context with a new version number.
> 
>>>> but if I edit *conf/context.xml*, I'd like that Tomcat 7.0.62
>>>> did not restart automatically.
> 
> Why would you edit conf/context.xml in the first place?
> 
> -chris
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJV+ZAWAAoJEBzwKT+lPKRYQ6MP/0WXkZ4/BPQaFbhVn6g45+ua
GTUWKNhoHwUBSrhpuk6wfXpLBJOfE/ieD3q7IEsH998zEouHqOZvczez5OMdMZdU
z/fhU8C7L+m5mkMK3x4NrfxG/JLVZSsKr1QdiFNOUvBp7l1syWoW1/4z4eEPl33L
LSsLcLsqF2JT961l6cauOO7IX+GzZldgUQbgm/dg95djnAHh6G94HO0dZABcqzf8
tCO4T0iFRH5SUU2b5onnuswigsAlnp1B/Uoq070JbUFmmqzCM3peFr8cnps5HLoh
/boO4x3zzQZ7cE+Ud6VFel53NI7PtvIoy3p7DZHGJg/Y+8efMfMyCxXFc/06CZOH
I6ffJr6rQjxuXrykez+JMMvjunBXYfYtMv0y9ujPIXI3urKrOTIYSefQGVOBW4iu
BLn+WQBnpzOMsjV83AhOuyeSH5mds9b5A8TKASSQr5mFk5mvlB5ZK8Tic5IeLb7Z
PoC+srDmdy6q3pFsgKCjZBvUrH++iZBvy4MLnJ7lYp67G98zoWlL/JOeMNd6BS+S
/YQZ5qY5q8vYzl4xt1L1ePJEiFKLjb43Mx6kmfQffJLlz/pOQuAj13Rt5yib+9Xp
xhkwB4Bl+dy18EZRfUeUpAW4Rv0qqnzPX48e5FL8dYMiekwwn6l4ia6rijfXUASm
XETqUawOO4QGGE23Rq8P
=HQVQ
-----END PGP SIGNATURE-----

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

Reply via email to