Packaging/Deployment
Resin

Change Log
Documentation

Orientation
Features
Installation
Configuration
Web Applications
JSP
Servlets and Filters
Databases
Admin (JMX)
Security
XML and XSLT
XTP
Resources (JNDI)
Performance
Protocols
Third-party
Troubleshooting

Deploy
Scrapbook
Web Applications
Web Applications
Scrapbook

Deploying to a live server without interruption

It may be possible to deploy a web application to a live server without interruption to service if certain conditions are met.

  1. The session objects for your users are being persisted.
  2. The usage of session scoped objects between the old version and the new is compatible.
  3. The usage of application scoped objects between the old version and the new is compatible.
  4. Database schema changes are not required.

Resin allows you to have a backup instance running. The idea is that this backup instance of Resin takes over if your primary Resin instance goes down.

If you are using a load balancer to distribute your load to multiple primary servers, each primary server has a backup server.

You can use this feature to deploy to a live server without interruption of service.

  1. shutdown primary server(s) (backup server(s) takes over)
  2. deploy new war to primary server(s)
  3. start primary server(s). As soon as the primary server starts, the user will be using the new version of the application.
  4. deploy new war to backup server(s)

Web Applications
Web Applications
Scrapbook
Copyright © 1998-2003 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.