Error running two tomcats in same cluster on same Windows box

2009-12-22 Thread John Tangney
We run two tomcats on the same Windows Server 2008 box. They have their server.xml tweaked so that they use unique ports. Here's a diff: $ diff server.xml /cygdrive/c/Program\ Files/Apache\ Software\ Foundation/Tomcat\ 6.0/conf/server.xml 22c22 < --- > 67c67 < --- >re

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
Thanks for your response, Filip! On Dec 23, 2009, at 6:05 AM, Filip Hanik - Dev Lists wrote: sorry, ignore previous post, Yeah, I had the same reaction to 224.0.0.0 but it works when one Tomcat is running, so I assumed it's OK. it's failing on this operation: socket.setInterface(mcastBi

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
On Dec 23, 2009, at 12:19 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 11:42 AM, John Tangney wrote: it's failing on this operation: socket.setInterface(mcastBindAddress); There is a small chance that Window's doesn't allow multicast sockets to be bound to an IP try rem

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
On Dec 23, 2009, at 2:36 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 01:46 PM, John Tangney wrote: On Dec 23, 2009, at 12:19 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 11:42 AM, John Tangney wrote: it's failing on this operation: socket.setInterface(mcastBindAddress); The

Re: Error running two tomcats in same cluster on same Windows box

2009-12-25 Thread John Tangney
We are still experiencing this problem. To summarize: 1) We are using 6.0.18. 2) A single Tomcat works fine and joins the cluster. 3) Two Tomcats on the SAME MACHINE (different ports - duh) but multicasting to DIFFERENT multicast IPs each join their respective clusters. (yes, two clusters.) 4

Re: Error running two tomcats in same cluster on same Windows box

2009-12-26 Thread John Tangney
, 2009, at 1:34 AM, Konstantin Kolinko wrote: 2) John Tangney, do you see the following one or two INFO messages in Tomcat log: log.info("Attempting to bind the multicast socket to "+address +":"+port); log.info("Binding to multicast address, failed. Binding to port only.

Re: Running two tomcat servers on same system?

2010-01-07 Thread John Tangney
Dean, On Jan 7, 2010, at 1:47 PM, Dean Chester wrote: I am wondering if it would be possible to have two tomcat servers running on the same system Yeah, we do this all the time. All you gave to do is to make sure that all the ports listed in your server.xml are unique. Also is it possi

Different apps clustering on the same Tomcat?

2010-01-19 Thread John Tangney
Is it possible to get two apps in the same Tomcat instance to exchange session info, in a cluster? If so, how? Thanks! --johnt - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

RE: Different apps clustering on the same Tomcat?

2010-01-20 Thread John Tangney
Thanks, Chuck. Caldarale, Charles R wrote .. > > From: John Tangney [mailto:jo...@jdtangney.com] > > Is it possible to get two apps in the same Tomcat instance to exchange > > session info, in a cluster? If so, how? > > Not sure what you're asking. Apologies if

Re: Different apps clustering on the same Tomcat?

2010-01-20 Thread John Tangney
On Jan 20, 2010, at 10:57 AM, Caldarale, Charles R wrote: From: John Tangney [mailto:jo...@jdtangney.com] Subject: RE: Different apps clustering on the same Tomcat? We have two machines, each with a Tomcat, forming a cluster. An app named "gh" runs on each cluster node. We want to ad

Re: Different apps clustering on the same Tomcat?

2010-01-20 Thread John Tangney
On Jan 20, 2010, at 7:38 PM, Caldarale, Charles R wrote: You can run multiple instances of Tomcat on the same box, and each could have a copy of the app deployed, and each Tomcat could be a separate node in the cluster. That's exactly what we do on Linux, but it fails on Windows due to a