Clustering Tomcat Mod_jk Orbeon

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clustering Tomcat Mod_jk Orbeon

Youssef Medaghri-Alaoui

Hi,

 

We worked on an Insurance Project Based on Orbeon and things worked fine.

First there were 2000 people working simultaneously on this Intranet and we only needed one good server to do the job.

 

Progressively there are going to be 5000 then 8000 people working simultaneously so we decided to make a tomcat cluster with a load balancing with mod_jk.

 

Actually things worked fine but I have just one question to be sure I’m not going to encounter a problem with the session objects :

 

1) Are all the attributes of a session serializable ?

 

Thanks,

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Clustering Tomcat Mod_jk Orbeon

Erik Bruchez
Administrator
Youssef,

Nice to hear from you!

> We worked on an Insurance Project Based on Orbeon and things worked fine.
>
> First there were 2000 people working simultaneously on this Intranet and
> we only needed one good server to do the job.
>
> Progressively there are going to be 5000 then 8000 people working
> simultaneously so we decided to make a tomcat cluster with a load
> balancing with mod_jk.
>
> Actually things worked fine but I have just one question to be sure I’m
> not going to encounter a problem with the session objects :
>
> 1) Are all the attributes of a session serializable ?
With the version you are using, I don't think OPS (well, Orbeon Forms)
stores anything by default into the session (the latest versions of
Orbeon Forms have an XForms cache in the session if you use session
state handling).

But if you use the Scope processors, for example, then some SAXStore
objects maybe stored into the session. The best way to proceed would be
for you to write some Java code to inspect the session and check the
types of objects that you have in the session, and then to take it from
here and check if they are serializable. Or to just give session
serialization a try and see if Tomcat complains.

Best,

-Erik

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws