Closed bakedzebra closed 4 years ago
Sorry, could you please tell how is that related to Hazelcast?
I'm just trying to guess if it's related or not. I had some thoughts about the Hazelcast because I fixed a bug that was caused by non-serializable entity that has been set to a session in the JSP file as it's attribute. Then I've received a Hazelcast exception that was related to Spring's MapSession. My thougths - Hazelcast manages sessions and their attributes as well.
Could I also ask a question: Is it possible to use hazelcast-tomcat-sessionmanager for the Embedded Tomcat and Hazelcast Instances that are launched with Spring Boot?
Hazelcast doesn't manage session per se, but copy session data from one Tomcat instance to another, if they belong to the same cluster.
To make sure this is Hazelcast-related, please use a single node. If the problem is still there, it's completely unrelated.
This class shows how to use embedded Tomcat with Hazelcast via Spring Boot:
Thanks! I think I`ll close the issue.
Currently I`m facing an issue with JSP beans property management. Please follow the source code below:
Previously, all the JSPs were handled by Oracle Weblogic but now I had to migrate the project to Spring Boot with Embedded Tomcat and Hazelcast Session Management. So the issue occurs if we do smth like this:
After the redirect is made I`m trying to reach the username or list values but what I actually receive is:
Note: But there is a easy but not very effective solution for this issue:
I have a lot of JSP pages so I can`t cover all of this issues. Could you please help me with this one? Thanks!