java - How to persist tomcat sessions across restarts while using IntelliJ idea -


it seems intellij clears tomcat related folders across redeploy/restart. means every time restart tomcat intellij, have re-login our app.

is there way persist tomcat sessions across restarts when using within intellij idea?

the intellij configuration local tomcat instance has checkbox "preserve sessions across restarts". check that, , sessions should preserved.

by way, i've seen number of developers waste lot of time on years messing around tomcat plugins in eclipse , intellij, trying figure out how them work in manner similar production.

the easiest answer far use regular tomcat instance, , forego ide integration. 1 easy thing replace this, if using maven (you using build tool, aren't you?) use maven tomcat plugin.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -