noHandlerFound No mapping found for HTTP request with URI [/testApp/j_spring_security_switch_user] in DispatcherServlet with name 'testApp'
Koen Aerts wrote:At least now you know where to start looking. Are the exact same credentials used for authentication from IDE vs jar (i.e. domain name, username, password, ...)? Is the same LDAP server used each time?
Koen Aerts wrote:What if you insert log statements in some strategic places in your code, make sure to include the timestamps, and write to a file. Then compare the IDE and jar logs and see where the time differences start to increase.
Koen Aerts wrote:Do they use the exact same JVM? Also, you mentioned there is some DB stuff going on. In your IDE do you retrieve approximately the same dataset (number of rows) as the one from the command line (jar)? Do you access the same DB both in IDE and jar?