• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HotDeploy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HotDeploy


  • Subject: Re: HotDeploy
  • From: Stefan Klein <email@hidden>
  • Date: Wed, 04 May 2011 22:31:19 +0200

There is one pitfall: If you changed the database shema, EOModel and use ERXMigration (what have I done without?)

Stefan

Am 04.05.11 22:25, schrieb Pascal Robert:
Le 2011-05-04 à 16:17, Jesse Tayler a écrit :

oh!

is that what bounce does?

well then!

so,

1 press bounce

2 deploy new files
2 is press bounce, 1 is deploy new files

3 wait for new instances to come up
The bounce action will start any inactive instances. So you have one running instance and one idle, and when you "bounce" the already running instance go under "refuse new sessions" mode (so current users can finish their work) and the idle instance kicks off with the new code.

so, new instances have the new files and existing instance sessions reliably run on old files?
Yes, the new instances have to start from another bundle. So say "old" instances runs on /opt/MyApp.woa.20110101 and the "new" instances runs on /opt/MyApp.woa.20110504


On May 4, 2011, at 4:08 PM, Pascal Robert wrote:

Le 2011-05-04 à 16:00, Daniel Mejia a écrit :

Hi,

I have a question regarding the deploy. Is it possible to redeploy an application when the application is running, or I need to shutdown every instance, deploy the application and restart every instance?
You will have classpath issues when doing that. It's better to use the "Bounce" feature of Monitor, which put the "old" app in "refuse new sessions" mode and start new instances with the new code. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

  _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: HotDeploy
      • From: Pascal Robert <email@hidden>
References: 
 >HotDeploy (From: Daniel Mejia <email@hidden>)
 >Re: HotDeploy (From: Pascal Robert <email@hidden>)
 >Re: HotDeploy (From: Jesse Tayler <email@hidden>)
 >Re: HotDeploy (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: HotDeploy
  • Next by Date: Re: HotDeploy
  • Previous by thread: Re: HotDeploy
  • Next by thread: Re: HotDeploy
  • Index(es):
    • Date
    • Thread