Remove applicationcontext.xml, change session to forever