Re: Zero downtime deployments

2015-12-23 Thread Christopher Schultz
Jason, On 12/22/15 11:46 PM, Jason Britton wrote: > On Tue, Dec 22, 2015 at 4:01 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: >> So mod_jk routes a request to the node which is going down, and then >> decides to re-route because the connection times-out? Just making sure I >>

Re: Zero downtime deployments

2015-12-23 Thread Frederik Nosi
Hi Christopher, Il 23/12/2015 19:12, Christopher Schultz ha scritto: Jason, On 12/22/15 11:46 PM, Jason Britton wrote: On Tue, Dec 22, 2015 at 4:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: So mod_jk routes a request to the node which is going down, and then decides to

Re: Zero downtime deployments

2015-12-22 Thread Christopher Schultz
Jason, On 12/21/15 12:22 PM, Jason Britton wrote: > Following back up after perusing Chris' very helpful presentation ( > http://people.apache.org/~schultz/ApacheCon%20NA%202015/Load-balancing%20Tomcat%20with%20mod_jk.pdf) > on > load balancing tomcats with mod_jk. > > One part not mentioned was

Re: Zero downtime deployments

2015-12-22 Thread Jason Britton
On Tue, Dec 22, 2015 at 4:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Jason, > > On 12/21/15 12:22 PM, Jason Britton wrote: > > Following back up after perusing Chris' very helpful presentation ( > > >

Re: Zero downtime deployments

2015-12-21 Thread Jason Britton
Following back up after perusing Chris' very helpful presentation ( http://people.apache.org/~schultz/ApacheCon%20NA%202015/Load-balancing%20Tomcat%20with%20mod_jk.pdf) on load balancing tomcats with mod_jk. One part not mentioned was session fail over. Which my current plan is to use JDBCStore

Re: Zero downtime deployments

2015-12-08 Thread Kevin Hale Boyes
On 4 December 2015 at 11:19, Christopher Schultz < ch...@christopherschultz.net> wrote: > Kevin, > > On 12/3/15 2:21 PM, Kevin Hale Boyes wrote: > > Thanks for this link to the presentation. > > How do you all deal with some of the other dependencies that the web > > application has? > > > > For

Re: Zero downtime deployments

2015-12-04 Thread Kevin Hale Boyes
Thursday, December 03, 2015 1:32 PM > To: Tomcat Users List > Subject: Re: Zero downtime deployments > > Use http://flywaydb.org/ to perform database migrations. You will need at > least 3 versions in order to perform an incompatible database change. v1 is > existing behavior

Re: Zero downtime deployments

2015-12-04 Thread Christopher Schultz
Kevin, On 12/3/15 2:21 PM, Kevin Hale Boyes wrote: > Thanks for this link to the presentation. > How do you all deal with some of the other dependencies that the web > application has? > > For example, if v2 of my application needs new database columns or worse, a > change to an existing column

Re: Zero downtime deployments

2015-12-03 Thread Neill Lima
Hello Jason, This approach of using httpd in front of 2+ Tomcats via AJP works well in my company. There is a bit of config necessary at httpd level so httpd is aware of all the Tomcats and also Tomcat config needs to be set to listen to AJP port instead of default port but it is not rocket

Re: Zero downtime deployments

2015-12-03 Thread Kevin Hale Boyes
Thanks for this link to the presentation. How do you all deal with some of the other dependencies that the web application has? For example, if v2 of my application needs new database columns or worse, a change to an existing column how can I have v1 and v2 running at the same time? We use

Re: Zero downtime deployments

2015-12-03 Thread jieryn
Use http://flywaydb.org/ to perform database migrations. You will need at least 3 versions in order to perform an incompatible database change. v1 is existing behavior, v2 is a shim that bridges v1 and v3, and then v3 cleans up the shim and removes all the unnecessary hacks. When you have v1

RE: Zero downtime deployments

2015-12-03 Thread Tauzell, Dave
Message- From: jieryn [mailto:jie...@gmail.com] Sent: Thursday, December 03, 2015 1:32 PM To: Tomcat Users List Subject: Re: Zero downtime deployments Use http://flywaydb.org/ to perform database migrations. You will need at least 3 versions in order to perform an incompatible database change. v1

Re: Zero downtime deployments

2015-12-02 Thread Christopher Schultz
Jason, On 12/2/15 4:07 PM, Jason Britton wrote: > I was looking for information for how those on the list achieve zero > downtime deployments of their tomcat hosted web applications. I imagine > this can be achieved in a variety of ways, but would love to hear what > works for you. In our

Re: Zero downtime deployments

2015-12-02 Thread Jason Britton
Thank you Christopher, reading now and we'll see if I can swing the conference :) On Wed, Dec 2, 2015 at 4:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Jason, > > On 12/2/15 4:07 PM, Jason Britton wrote: > > I was looking for information for how those on the list achieve