I tried to deploy a project on a Glassfish 188.8.131.52 Cluster for several weeks now, but have some replication issues.
I have a Glassfish cluster of 2 nodes with 2 instances each.
Now I want to deploy an Application, but apparently the Session is not handled the right way. Using a simple JSP Page just showing session information for testing session replication everything seems fine.
Using our JSF 2.0 / Primefaces GUI the session sometimes replicates the right way, sometimes the server creates a new Session. This even happens staying on the same cluster-instance…
Unfortunately this is not replicable..
The server-logs do not really help a lot..
I brought the problem down to a simple application containing the informations from the simple JSP page to see if the session is newly created, but using JSF 2.0 now.
The problem is still the same, although it seems to be more replicable. Staying an the same instance is keeping the session. Changing the instance sill keeps the session but the first action on the new instance creates a new session. Reason seems to be "session expired" although session timeout is configured to 30 min.