views:

298

answers:

3

greetings all i am deploying an app using spring framework on the apache tomcat when running the application from the tomcat directly,there's no jsessionid appended to any url at all but after mapping the application to the domain,and trying to run it i got a jsessionid appended to each url in the application,i tried the spring security attribute disable-url-rewriting but it doesn't work,it removes the jsessionid from the url but the application doesn't work no more,the user cannot login. so i guess it's another problem,any ideas why this happens,how to solve it? thanks.

A: 

by any chance, cookies are disabled for the "domain"?

Vivek Athalye
A: 

If tomcat is behind a proxy, you have to make sure it runs on the same domain.

Kdeveloper
A: 

Fixed in Spring Security 3 https://jira.springsource.org/browse/SEC-1052

jpse

related questions