Bug 117389 - Server startup does not validate that DB schema version is in sync with JARs
Summary: Server startup does not validate that DB schema version is in sync with JARs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: installation
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-03 15:29 UTC by Daniel Berrangé
Modified: 2007-04-18 17:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-02 17:34:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2004-03-03 15:29:34 UTC
Description of problem:
When starting a CCM server no checks are made to ensure that the
database schema version is consistent with the version of the JARs
containing the application code. If the two get out of sync the result
will at best be a sysstem which throws errors in various places, at
worst the objects / metadata stored in the database will become corrupt.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install & load ccm-portal version 1.0
2. Install portal 1.2, but don't run upgrade scripts

Actual results:
The server starts up normally, but errors are thrown when trying to
view the portal applications

Expected results:
The server startup throws a SevletUnavailbleException with a message
indicating that the DB needs upgrading.

Additional info:

Comment 1 Daniel Berrangé 2006-09-02 17:34:53 UTC
Closing old tickets



Note You need to log in before you can comment on or make changes to this bug.