Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem migrating Spring Web App from tomcat 5.5 to tomcat 6.0
    primarykey
    data
    text
    <p>I have a spring web application which has been working fine on tomcat 5.5. I've attempted to deploy the same web app to a tomcat 6 container and come up against some issues.</p> <p>The main two problems I've had are relating to configuring the container for jstl and getting the spring security login to work properly.</p> <p>I believe I've solved the jstl configuration issue by including the jstl-1.2.jar lib from <a href="https://maven-repository.dev.java.net/repository/jstl/jars/" rel="nofollow noreferrer">here</a> in the $CATALINA_HOME/lib directory (although it really does appear to be strange that it is so difficult to find out how to get this working).</p> <p>The main problem now is that when I attempt to log in using form based authentication, I get an HTTP 404 error when the login form is submitted to "j_spring_security_check".</p> <p>I have set up the filter in the web.xml file as per the spring security documentation but it appears that tomcat isn't invoking this as expected.</p> <p>I hope someone can share their experience here as I'm certainly missing something fundamental in my configuration.</p> <p>Thanks.</p> <p><strong>Update:</strong> While trouble-shooting based on responses here, one of the things I ended up doing was downloading a fresh copy of tomcat 6.0.18 and ensured that I had the jstl-1.2.jar file in the WEB-INF/lib dir. Funnily enough, now the app seems to be working fine.</p> <p>I'm a little stumped but I'll now try to track down the difference in the two tomcat installs that was causing the error and post a further update here.</p> <p>Thanks for the responses to this guys.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload