Ticket #145 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Recovery should expand packages

Reported by: ibaldin Owned by: aydan
Priority: major Milestone:
Component: ORCA: Shirako Core Version: Bella 2.2
Keywords: Cc:


Now recovery with state lock file does not expand packages, so if they are missing, they won't be present.

Change History

Changed 9 years ago by aydan

  • status changed from new to closed
  • resolution set to fixed

This has been fixed in r2799 and r2800. The PackageManager? now uses a state file that it writes when it expands packages during initial boot. When the container is starting in recovery mode, the package manager checks for this file. If the file is present, the packages do not need to be re-expanded and only need to be added to the classpath. If the file is missing, then the webapp has been redeployed, in which case the package manager scans the startup folder and redeploys all extension packages in it. Extension packages that are new, will also be registered with the database. Extension packages that are in the database, but are not in the startup folder, will not be registered with the classloader and will remain in the database.

Note: See TracTickets for help on using tickets.