spring - j_spring_security_check not invoked in tomcat -
i'm using tomcat 8.5.4 myfaces 2.2.10 , primefaces 5.3. local server works fine (tried run both standalone , eclipse) when open login screen , press login button following visible in logs:
...web.controller.logincontroller] - <validating login> ...antpathrequestmatcher] - <checking match of request : '/j_spring_security_check'; against '/external/**'>
after transaction started , user validated against database expected.
however when copied whole tomcat distribution remote server , deployed same application, j_spring_security_check not executed anymore:
[org.springframework.faces.support.requestloggingphaselistener] - <entering jsf phase: restore_view(1)> [org.springframework.faces.support.requestloggingphaselistener] - <entering jsf phase: render_response(6)> [...web.controller.logincontroller] - <no error messages during validation>
and after login screen reloaded.
can me why there difference in behavior of same servers , same applications? idea appreciated!
i'm pretty sure not have myfaces or primefaces versions , tried different versions behavior same...
for have same issue post solution.
of course there can millions of reasons cause behavior in case tomcat configuration... in connector config in server.xml i've set
maxpostsize="0"
by mistake tought means no limit, should have set
maxpostsize="-1"
this resulted in server cutting post payload request... , causing me lot of headache :)
Comments
Post a Comment