Dear Carol, Paul,
Wondering if you have already received a response from the forum, and
your customer was able to proceed further ? If not, then I would be
happy to help.
Firstly I would like to recommend him to go through the preso
GlassFish-V2-Clustering-Simplified.pdf.
He may be able to find his answer or a clarification to his doubts
there itself.
Regarding the issue specified there could be two possible causes :-
- Session objects are not serializable and/or application is not
distributable
- Client-Server is initiating a new session
For the first one, you can verify in the instance log file under
nodeagent ? If possible you can also share it with me for investigation.
For the second one, you can try printing the SESSIONID for every
request to verify if the session is maintained.
Once you provide me the above information we can delve further based on
the cause.
Thank you
--Satya
Paul Sterk wrote:
Forward to user list.
Paul
-------- Original Message --------
Subject: Session lost in glassfish cluster
Date: Fri, 12 Dec 2008 19:25:40 +0800
From: Carol Zhang <Carol.Zhang@Sun.COM>
To: glassfish-interest@sun.com
Hi All,
Ask for your kind help on a glassfish cluster issue.
I have a customer who is trying to deploy his application in glassfish
cluster, meet the weired issue:
1. the environment support full multicast
2. clusterjsp sample application can be successfully running in the
cluster env. metioned in 5
3. The customer's application can be running on a single instance
4. to deploy in the cluster environment, they add "distributable" in the
application's web.xml
5. The application is deployed on a cluster env, which consists of two
instances on a physical machine. To simply the testing, we bypass
loadbalancer, access one of the instances directly.
6. If without checking "availability" option in the deploy time, the
application runs fine, but withouth session replication.
7, if check the "availability" option (using memory replication by
default), after login to the application, the server will response to
the first several requests, and then in the subsequential request, it
seems that session is lost and re-login is required.
8. re-deploy or re-start cluster + redeploy doesn't work.
I found a post
(http://forums.java.net/jive/message.jspa?messageID=258183)on the forum,
who describes a very similiar issue but withouth resolution.
Can anyone give some suggestion on it? Thanks in advance!
Best Regards,
Carol
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI (Project Manager)
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~