CDV ❯ Need a better way to validate boot-jars
-
New Feature
-
Status: Resolved
-
3 Minor
-
Resolution: Won't Fix
-
-
-
interfaces
-
Reporter: tgautier
-
October 03, 2007
-
0
-
Watchers: 1
-
February 12, 2014
-
February 12, 2014
Description
I added a config module that specified locks on SynchronizedCollection - there was no indication that I needed to re-create my boot-jar.
As part of removing boot-jar pain, we need to consider how to detect when or if a boot-jar must be re-created - or at least give config modules the ability to hint that adding them may require a re-build.
Comments
Taylor Gautier 2007-10-03
Fiona OShea 2007-12-04
Pacheco PRD Priority 97
Hung Huynh 2014-02-12
DSO is discontinued
I have a thought. From the final configuration, generate a canonical version of the xml file - this is something that is generally done as the first step in signing an xml document so it should be available in the java platform.
take the output of the canonical xml file and hash it - then store this hash in the generated boot-jar manifest.
Upon start-up, do this process every time - if the boot-jar manifest does not match the xml hash, then you need to re-build the boot jar.