How to change Cookie Processor to LegacyCookieProcessor in tomcat 8 : <p>My code is working on tomcat 8 version 8.0.33 but on 8.5.4 i get :
An invalid domain [.mydomain] was specified for this cookie.</p>

<p>I have found that Rfc6265CookieProcessor is introduced in tomcat 8 latest versions.</p>

<p>It says on official doc that this can be reverted to LegacyCookieProcessor in context.xml but i don't know how.</p>

<p>Please let me know how to do this.</p>

<p>Thanks</p>
