-
1. Re: Seam in clustered environment.
samdoyle Nov 26, 2007 1:05 PM (in response to samdoyle)Is there some Seam documentation somewhere that discusses specifics dealing with a clustered deployment?
S.D. -
2. Re: Seam in clustered environment.
samdoyle Nov 26, 2007 7:57 PM (in response to samdoyle)Nothing?
-
-
4. Re: Seam in clustered environment.
reind Nov 27, 2007 2:03 PM (in response to samdoyle)Don't have any information for you, but I'm also going to be thinking of clustering shortly and would appreciate any insight.
-
5. Re: Seam in clustered environment.
svadu Nov 27, 2007 6:49 PM (in response to samdoyle)"samdoyle" wrote:
Is there some Seam documentation somewhere that discusses specifics dealing with a clustered deployment?
S.D.
All I've seen is recommendation to use session beans over pojo for clustered environment. There are number of references in the official reference (just do text search on 'cluster'):
http://docs.jboss.com/seam/latest/reference/en/html_single/
My guess is that if you have a specific issue (looks like you do) - you can create a JIRA issue. -
6. Re: Seam in clustered environment.
samdoyle Nov 27, 2007 7:32 PM (in response to samdoyle)I'm using EJB3 as is provided with GlassFish. I think the biggest factor was the Identity instance I'll go back to check if there are any others.
When you enable availability on an application for a GlassFish cluster you get in memory session data replication across the cluster. As a result what is stored for session data needs to be Serializable.
I noticed a Serializable exception being thrown pertaining to the Identity when it was attempted to replicate it although it does implement the Serializable interface. Perhaps there is some additional session state data that is not Serializable. All the ones that are outjected in our code are as far as I can tell.
S.D. -
7. Re: Seam in clustered environment.
pmuir Nov 28, 2007 6:16 AM (in response to samdoyle)Please post the exception.
-
8. Re: Seam in clustered environment.
samdoyle Nov 28, 2007 1:58 PM (in response to samdoyle)Alright will do once I can get back our demo environment for testing. It is the only place we have atm which has load balancing and clustering setup.
S.D. -
9. Re: Seam in clustered environment.
samdoyle Nov 30, 2007 8:05 PM (in response to samdoyle)So I just upgraded Seam and I didn't encounter this error but I am still required to login again after the active cluster instance becomes disabled.
My session data appears to be replicated yet Seam requires a new login after the failover.
Can someone, if anyone, provide some information on Seam in a clustered environment it is giving me headaches at the moment.
S.D. -
10. Re: Seam in clustered environment.
samdoyle Dec 1, 2007 11:04 AM (in response to samdoyle)I guess the only thing I can do is try to find out from Sun what they use to debug/verify session data replication since having this type of high availability is a requirement for what we are doing. If Seam is not cluster safe I don't think we will be able to use it. This would be unfortunate considering the amount of time we have put into trying to make things work with it.
-
11. Re: Seam in clustered environment.
przemjaskier Dec 1, 2007 12:27 PM (in response to samdoyle)Sam,
Please update this thread if you get with something on this subject. It's possible that I will have to deal with something similar in a few months perspective.
TIA -
12. Re: Seam in clustered environment.
samdoyle Dec 1, 2007 5:33 PM (in response to samdoyle)Will do. When I get back in the office on Monday I'm going to construct a very simple application to verify the clustering session replication. I know this functionality undergoes rigorous internal testing and has to be past a suite of testcases before each release. I don't suspect that this is an issue with the session replication in GlassFish.
S.D. -
13. Re: Seam in clustered environment.
samdoyle Dec 3, 2007 3:19 PM (in response to samdoyle)"pete.muir@jboss.org" wrote:
Please post the exception.
Ah, I had a configuration mistake but now with everything configured properly and I have verified HA is working properly I see the Identity exception being thrown when trying to replicate it. I'm using drools but not exactly sure what the relationship is between it and the Identity. This is definitely a show stopper for a high availability requirement.
Could someone from the Seam team please comment.#|2007-12-03T12:09:13.520-0500|INFO|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=22;_ThreadName=httpSSLWorkerThread-38080-1;|PWC2785: Cannot serialize session attribute org.jboss.seam.security.identity for session 0fba09ba81165626f5a35d7a2291 java.io.NotSerializableException: org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteAssertAction
-
14. Re: Seam in clustered environment.
samdoyle Dec 3, 2007 3:45 PM (in response to samdoyle)I have created a case for this.
http://jira.jboss.com/jira/browse/JBSEAM-2340
S.D>