OpenCms sites with tomcat session replication, can it work at all?

View: New views
3 Messages — Rating Filter:   Alert me  

OpenCms sites with tomcat session replication, can it work at all?

by Bugzilla from yg@mind.lu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

referring to this thread [1] which ended without a clear end :) I wonder if
tomcat session replication can work at all for OpenCms-based sites...?

As far as I understand the problem is the workplace, which wants to save some non-serializable objects
to the session, and all the session replication mechanisms (in-memory or jdbc-based) require the objects to be serializable to be able to replicate them.

Could it be that I just have to run the workplace on a different server which does not make part of the replication-tomcat-cluster and it will work?

Best regards,
Yves


[1] http://mail.opencms.org/pipermail/opencms-dev/2009q2/032284.html
another good read: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms sites with tomcat session replication, can it work at all?

by Bugzilla from yg@mind.lu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Someone got an idea on this? I need a solution soon... :-)

2009/9/18 Yves Glodt <yg@...>
Hello,

referring to this thread [1] which ended without a clear end :) I wonder if
tomcat session replication can work at all for OpenCms-based sites...?

As far as I understand the problem is the workplace, which wants to save some non-serializable objects
to the session, and all the session replication mechanisms (in-memory or jdbc-based) require the objects to be serializable to be able to replicate them.

Could it be that I just have to run the workplace on a different server which does not make part of the replication-tomcat-cluster and it will work?

Best regards,
Yves


[1] http://mail.opencms.org/pipermail/opencms-dev/2009q2/032284.html
another good read: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html




_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms sites with tomcat session replication, can it work at all?

by Gregor Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, we all need something every now & then :)

Having read the thread your makred as [1] on top - if it's only that class:

Why don't you build OpenCMS yourself, and just add

"implements java.io.Serializable"

to said class?

I guess it should be worth a try (if it's really only the class
CmsWorkplaceSettings as what Achim wrote).

Will you let us know about the outcome?

If it works, I strongly suggest Alacon will come up with a patch on that issue.

OTOH, I can't believe that OpenCMS doesn't run in a loadbalanced /
clustered szenario - that really would be a showstopper, but would
save me some evaluation-time ;)

Cheers

Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev