I've added FORM container authentication with Tomcat and everything works fine as long as users use the full URL to the app (URL in Tomcat's manager app).
However users want to use a different URL based on a virtual host, e.g. myapp.mycompany.com. It brings the users to the app no problem but then when they try to login Tomcat reports a 508 error, how do I solve this? The URL in the browser when this happens is myapp.mycompany.com/j_security_check -Dave