Discussion:
[Exist-open] session replication
محمد جواد حسنی
2017-06-11 07:46:49 UTC
Permalink
Dear all,

I replicated two exist-db instance. I want to replicate sessions between
them.
Are a configuration for this?

Thanks.
Dannes Wessels
2017-06-11 12:40:40 UTC
Permalink
I assume you mean HTTP sessions? So if one logs into server one, the complete state is transferred to another instance?

No that is not present.

Regards

Dannes

--
www.exist-db.org
I replicated two exist-db instance. I want to replicate sessions between them.
Are a configuration for this?
محمد جواد حسنی
2017-06-11 13:00:23 UTC
Permalink
yes, Of course.
Can i use session replication in jetty configuration such as
http://wiki.eclipse.org/Jetty/Feature/Session_Clustering_Using_a_Database ?
Post by Dannes Wessels
I assume you mean HTTP sessions? So if one logs into server one, the
complete state is transferred to another instance?
No that is not present.
Regards
Dannes
--
www.exist-db.org
Post by محمد جواد حسنی
I replicated two exist-db instance. I want to replicate sessions between
them.
Post by محمد جواد حسنی
Are a configuration for this?
Dannes Wessels
2017-06-11 13:21:52 UTC
Permalink
Post by محمد جواد حسنی
yes, Of course.
Well your mail was pretty short and had little context.... so I needed to read between the lines a bit, which is not efficient for responders.
Post by محمد جواد حسنی
Can i use session replication in jetty configuration such as http://wiki.eclipse.org/Jetty/Feature/Session_Clustering_Using_a_Database ?
Sure that is a std function of many servlet containers. But what is the goal of your question ? What is it you want to reach? Do you e.g. Have database content replication in place?

We have no documentation on this subject.... the jetty documentation is indeed te place to be.

Cheers

Dannes
محمد جواد حسنی
2017-06-12 06:51:30 UTC
Permalink
Dear Dannes,
My question is about jetty configuration for custom session manager.
We can active custom session manager in jetty by adding jbc parameter to
jetty start file, start.jar.
But in exist-db, we use startup.sh for start exist-db and jetty.
Considering to exist-db configuration for jetty, can i configure jetty for
custom session manager?

Thanks
Post by محمد جواد حسنی
yes, Of course.
Well your mail was pretty short and had little context.... so I needed to
read between the lines a bit, which is not efficient for responders.
Can i use session replication in jetty configuration such as
http://wiki.eclipse.org/Jetty/Feature/Session_Clustering_Using_a_Database ?
Sure that is a std function of many servlet containers. But what is the
goal of your question ? What is it you want to reach? Do you e.g. Have
database content replication in place?
We have no documentation on this subject.... the jetty documentation is
indeed te place to be.
Cheers
Dannes
Adam Retter
2017-06-11 15:34:36 UTC
Permalink
I should imagine that would work. Maybe give it a try and let us know...
Post by محمد جواد حسنی
yes, Of course.
Can i use session replication in jetty configuration such as
http://wiki.eclipse.org/Jetty/Feature/Session_Clustering_Using_a_Database ?
Post by Dannes Wessels
I assume you mean HTTP sessions? So if one logs into server one, the
complete state is transferred to another instance?
No that is not present.
Regards
Dannes
--
www.exist-db.org
Post by محمد جواد حسنی
I replicated two exist-db instance. I want to replicate sessions
between them.
Post by محمد جواد حسنی
Are a configuration for this?
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
https://lists.sourceforge.net/lists/listinfo/exist-open
--
Adam Retter

eXist Developer
{ United Kingdom }
***@exist-db.org
irc://irc.freenode.net/existdb
Continue reading on narkive:
Loading...