Re: multiple apache instances load balancing tomcat
since you haven't addressed it yet, my recommendation is that you use the java.io.Externilizable interface instead, there is more room for serialization optimization in there Filip - Original Message - From: "Pete Stokes" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 03, 2004 10:02 AM Subject: Re: multiple apache instances load balancing tomcat yup, but the app developers say they will address this issue at a future point. Pete. Rob Augustinus wrote: > > does it fail because of placing objects in the session which lack the > Serializable interface? > > Pete Stokes wrote: > >> David, >> >> Problem with using the Tomcat 5 session replication, this 3rd party >> app cannot be clustered that way, it fails. Therefore my only choice >> is sticky sessions. >> >> Pete. >> >> >> David Rees wrote: >> >>> Pete Stokes wrote, On 2/3/2004 8:09 AM: >>> > [EMAIL PROTECTED] wrote: >>> >> For redundancy in apache the following options are open to you : >>> >> 1) Use a http sprayer in front of the apache webservers >>> >> 2) Use a load balancing software such as Stonebeat Webcluster >>> >> 3) Manual failover. This is where you have two instances of apache >>> >> configured and running using the same ip, but only have one of the >>> >> "up". When your primary node fails down its interface and up the >>> >> secondary. >>> > >>> >>>> For point 3, I'd assume that all users would then lose their >>>> sessions? I'd be after sticky sessions, so I guess I'd need >>>> memory-memory replication between the two apache's, is this possible? >>> >>> >>> >>> >>> If you're clustering multiple Tomcats instances with replicated >>> sessions on different machines behind multiple Apache instances on >>> different machines, if one of the Apache instances dies you won't >>> lose any sessions as your Tomcat instances have not been affected. >>> >>> With TC 5, you don't even need to use sticky sessions if you're using >>> session replication, but I would recommend it anyway. >>> >>> -Dave >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> *** >> >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom they >> are addressed. If you have received this email in error please notify >> the system manager. >> This footnote also confirms that this email message has been swept by >> MIMEsweeper for the presence of computer viruses. >> *** >> >> For any information on the Quinn Group of Companies please visit :- >> >> http://www.quinn-group.com >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
yup, but the app developers say they will address this issue at a future point. Pete. Rob Augustinus wrote: does it fail because of placing objects in the session which lack the Serializable interface? Pete Stokes wrote: David, Problem with using the Tomcat 5 session replication, this 3rd party app cannot be clustered that way, it fails. Therefore my only choice is sticky sessions. Pete. David Rees wrote: Pete Stokes wrote, On 2/3/2004 8:09 AM: > [EMAIL PROTECTED] wrote: >> For redundancy in apache the following options are open to you : >> 1) Use a http sprayer in front of the apache webservers >> 2) Use a load balancing software such as Stonebeat Webcluster >> 3) Manual failover. This is where you have two instances of apache >> configured and running using the same ip, but only have one of the >> "up". When your primary node fails down its interface and up the >> secondary. > For point 3, I'd assume that all users would then lose their sessions? I'd be after sticky sessions, so I guess I'd need memory-memory replication between the two apache's, is this possible? If you're clustering multiple Tomcats instances with replicated sessions on different machines behind multiple Apache instances on different machines, if one of the Apache instances dies you won't lose any sessions as your Tomcat instances have not been affected. With TC 5, you don't even need to use sticky sessions if you're using session replication, but I would recommend it anyway. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
does it fail because of placing objects in the session which lack the Serializable interface? Pete Stokes wrote: David, Problem with using the Tomcat 5 session replication, this 3rd party app cannot be clustered that way, it fails. Therefore my only choice is sticky sessions. Pete. David Rees wrote: Pete Stokes wrote, On 2/3/2004 8:09 AM: > [EMAIL PROTECTED] wrote: >> For redundancy in apache the following options are open to you : >> 1) Use a http sprayer in front of the apache webservers >> 2) Use a load balancing software such as Stonebeat Webcluster >> 3) Manual failover. This is where you have two instances of apache >> configured and running using the same ip, but only have one of the >> "up". When your primary node fails down its interface and up the >> secondary. > For point 3, I'd assume that all users would then lose their sessions? I'd be after sticky sessions, so I guess I'd need memory-memory replication between the two apache's, is this possible? If you're clustering multiple Tomcats instances with replicated sessions on different machines behind multiple Apache instances on different machines, if one of the Apache instances dies you won't lose any sessions as your Tomcat instances have not been affected. With TC 5, you don't even need to use sticky sessions if you're using session replication, but I would recommend it anyway. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
David, Problem with using the Tomcat 5 session replication, this 3rd party app cannot be clustered that way, it fails. Therefore my only choice is sticky sessions. Pete. David Rees wrote: Pete Stokes wrote, On 2/3/2004 8:09 AM: > [EMAIL PROTECTED] wrote: >> For redundancy in apache the following options are open to you : >> 1) Use a http sprayer in front of the apache webservers >> 2) Use a load balancing software such as Stonebeat Webcluster >> 3) Manual failover. This is where you have two instances of apache >> configured and running using the same ip, but only have one of the >> "up". When your primary node fails down its interface and up the >> secondary. > For point 3, I'd assume that all users would then lose their sessions? I'd be after sticky sessions, so I guess I'd need memory-memory replication between the two apache's, is this possible? If you're clustering multiple Tomcats instances with replicated sessions on different machines behind multiple Apache instances on different machines, if one of the Apache instances dies you won't lose any sessions as your Tomcat instances have not been affected. With TC 5, you don't even need to use sticky sessions if you're using session replication, but I would recommend it anyway. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
Pete Stokes wrote, On 2/3/2004 8:09 AM: > [EMAIL PROTECTED] wrote: >> For redundancy in apache the following options are open to you : >> 1) Use a http sprayer in front of the apache webservers >> 2) Use a load balancing software such as Stonebeat Webcluster >> 3) Manual failover. This is where you have two instances of apache >> configured and running using the same ip, but only have one of the >> "up". When your primary node fails down its interface and up the >> secondary. > For point 3, I'd assume that all users would then lose their sessions? I'd be after sticky sessions, so I guess I'd need memory-memory replication between the two apache's, is this possible? If you're clustering multiple Tomcats instances with replicated sessions on different machines behind multiple Apache instances on different machines, if one of the Apache instances dies you won't lose any sessions as your Tomcat instances have not been affected. With TC 5, you don't even need to use sticky sessions if you're using session replication, but I would recommend it anyway. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
Pete, Unfortuantly I haven't come accross memory-memory replication between two apaches as I've always run them on seperate machines and took the hit on the loss of sessions, better to loose a session than a service. John > Hi John. > > Investigating cost of point 2. > For point 3, I'd assume that all users would then lose their sessions? > I'd be after sticky sessions, so I guess I'd need memory-memory > replication between the two apache's, is this possible? > > Tx. > Pete. > > > [EMAIL PROTECTED] wrote: > >> Pete, >> For redundancy in apache the following options are open to you : >> 1) Use a http sprayer in front of the apache webservers >> 2) Use a load balancing software such as Stonebeat Webcluster >> 3) Manual failover. This is where you have two instances of apache >> configured and running using the same ip, but only have one of the >> "up". When your primary node fails down its interface and up the >> secondary. >> >> John >> >> >>>Hi. >>> >>>I've finally got Apache load balancing with Tomcat, but want to provide >>>redundancy to the Apache instance, is there a way to do this so if one >>>goes down the second one takes over seamlessly / works concurrently ? >>> >>>Thanks, >>>Pete. >>> >>> >>>*** >>>This email and any files transmitted with it are confidential and >>> intended >>>solely for the use of the individual or entity to whom they are >>> addressed. >>>If you have received this email in error please notify the system >>> manager. >>>This footnote also confirms that this email message has been swept by >>>MIMEsweeper for the presence of computer viruses. >>>*** >>>For any information on the Quinn Group of Companies please visit :- >>> >>>http://www.quinn-group.com >>> >>> >>>- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > *** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > *** > For any information on the Quinn Group of Companies please visit :- > > http://www.quinn-group.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
Hi John. Investigating cost of point 2. For point 3, I'd assume that all users would then lose their sessions? I'd be after sticky sessions, so I guess I'd need memory-memory replication between the two apache's, is this possible? Tx. Pete. [EMAIL PROTECTED] wrote: Pete, For redundancy in apache the following options are open to you : 1) Use a http sprayer in front of the apache webservers 2) Use a load balancing software such as Stonebeat Webcluster 3) Manual failover. This is where you have two instances of apache configured and running using the same ip, but only have one of the "up". When your primary node fails down its interface and up the secondary. John Hi. I've finally got Apache load balancing with Tomcat, but want to provide redundancy to the Apache instance, is there a way to do this so if one goes down the second one takes over seamlessly / works concurrently ? Thanks, Pete. *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple apache instances load balancing tomcat
Pete, For redundancy in apache the following options are open to you : 1) Use a http sprayer in front of the apache webservers 2) Use a load balancing software such as Stonebeat Webcluster 3) Manual failover. This is where you have two instances of apache configured and running using the same ip, but only have one of the "up". When your primary node fails down its interface and up the secondary. John > Hi. > > I've finally got Apache load balancing with Tomcat, but want to provide > redundancy to the Apache instance, is there a way to do this so if one > goes down the second one takes over seamlessly / works concurrently ? > > Thanks, > Pete. > > > *** > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > *** > For any information on the Quinn Group of Companies please visit :- > > http://www.quinn-group.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multiple apache instances load balancing tomcat
Hi. I've finally got Apache load balancing with Tomcat, but want to provide redundancy to the Apache instance, is there a way to do this so if one goes down the second one takes over seamlessly / works concurrently ? Thanks, Pete. *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OFFTOPIC] RE: Multiple Apache Instances
First answer: yes. "Permission denied" is self-explanatory...the permissions for a directory or file that Apache is trying to access are incorrect. An Apache mailing list would be more appropriate for this question. John > -Original Message- > From: Ramkumar Krishnan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 1:18 AM > To: Tomcat Users List > Subject: Multiple Apache Instances > > > Hi, > My team wants to have two instances of Apache1.3 in the > same mahcine.They changed the port of one instance.When they > tried to run, they are getting "Permission Denied" error.Why > is it so?..My first question is "can we have two instances in > a single machine???".. > > Any help would be appreciated.. > > thanks, > Ramkumar > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Multiple Apache Instances
Hello, The major answer is yes, you can have two Apache's at the same machine. To answer the question "Why we got the 'Permission Denied' ?" I must ask what's the new value of the Port and if the user that started the Apache is the root. But my advice is, instead having two Apache's is to configure Virtual Hosts. Have you tried this ?? []'s Tiago. -Mensagem original- De: Ramkumar Krishnan [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 26 de fevereiro de 2003 03:18 Para: Tomcat Users List Assunto: Multiple Apache Instances Hi, My team wants to have two instances of Apache1.3 in the same mahcine.They changed the port of one instance.When they tried to run, they are getting "Permission Denied" error.Why is it so?..My first question is "can we have two instances in a single machine???".. Any help would be appreciated.. thanks, Ramkumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple Apache Instances
Hi, My team wants to have two instances of Apache1.3 in the same mahcine.They changed the port of one instance.When they tried to run, they are getting "Permission Denied" error.Why is it so?..My first question is "can we have two instances in a single machine???".. Any help would be appreciated.. thanks, Ramkumar