Packaging/Deployment
Resin 3.1

Documentation
Examples
Changes

Overview
Installation
Configuration
Quercus
SOA/IoC
JSP
Servlets and Filters
Admin (JMX)
EJB
Amber
Security
Performance
Hessian
XML and XSLT
Third-party
Troubleshooting/FAQ

tags
Common Tasks
Relax Schema
howto
Config FAQ
Scrapbook
DB Scrapbook

Virtual Hosting
Database
Load Balancing
Sessions
Clustered Sessions
Tuning
ISP
WebApp
Deploy
WebApp
Common Tasks
Relax Schema

To deploy to a production server a web application is packaged and then deployed.

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)

JSP Precompilation

See JSP/Compilation.


WebApp
Common Tasks
Relax Schema
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin ® is a registered trademark, and Quercustm, Ambertm, and Hessiantm are trademarks of Caucho Technology.