`

Session lost when app. is redeployed (Solved)

XML 
阅读更多

There is a workaround to this problem.  Create a META-INF/context.xml file in your webapp, with the following content:
<Context>
  <Manager pathname="${catalina.base}/sessions/example.ser"/>
</Context>

 

 

when the application stop or undeploy the file is created and disapper when resumed.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics