RE: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Caldarale, Charles R
> From: Rüdiger Herrmann [mailto:rherrm...@eclipsesource.com] > Subject: Re: How to cluster two embedded tomcat 7 instances > thanks for the hint. Here goes the link to the file: > http://pastebin.com/6K4Ns4Tz Please consider adding this to the Tomcat Wiki as well. -

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
thanks for the hint. Here goes the link to the file: http://pastebin.com/6K4Ns4Tz - Rüdiger On Fri, Jun 10, 2011 at 22:35, Pid wrote: > On 10/06/2011 21:23, Rüdiger Herrmann wrote: >> In case someone is interested, the code to programmatically set up a >> clustered Tomcat instance is attached.

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Pid
On 10/06/2011 21:23, Rüdiger Herrmann wrote: > In case someone is interested, the code to programmatically set up a > clustered Tomcat instance is attached.p The list strips attachments unfortunately. Try Pastebin/GitHub etc p signature.asc Description: OpenPGP digital signature

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
In case someone is interested, the code to programmatically set up a clustered Tomcat instance is attached. - Rüdiger On Fri, Jun 10, 2011 at 10:42, Rüdiger Herrmann wrote: > Martin, > > thanks for the pointers. Though, I'd rather like to start with the > default solution (i.e. something that wo

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Martin Grotzke
Hi Rüdiger, On 06/10/2011 10:42 AM, Rüdiger Herrmann wrote: > Still, I would be *very* interested in knowing how to use the > PersistentManager to realize session failover - if it is inteded to > serve that purpose at all. I remember there were people posting on this list that they're trying to ac

Re: How to cluster two embedded tomcat 7 instances

2011-06-10 Thread Rüdiger Herrmann
Martin, thanks for the pointers. Though, I'd rather like to start with the default solution (i.e. something that works out of the box with the Tomcat deliverable) In the meanwhile, I brought the SimpleTcpCluster to work. I will report here soon with some code. Still, I would be *very* interested

Re: How to cluster two embedded tomcat 7 instances

2011-06-09 Thread Martin Grotzke
Hi, perhaps memcached-session-manager is an option for you: http://code.google.com/p/memcached-session-manager/ It has integration tests that show how to configure it programatically: https://github.com/magro/memcached-session-manager/blob/master/core/src/test/java/de/javakaffee/web/msm/integrati

How to cluster two embedded tomcat 7 instances

2011-06-09 Thread Rüdiger Herrmann
Hi all, I would like to programmatically set up two Tomcat engines and have them form a basic cluster - all in the same VM. Creating and starting the servlet engines already works Tomcat tomcat = new Tomcat() tomcat.setPort( 123 ); // create context, add servlet, ... tomcat.start(); What