Commit e07e5bd
committed
Issue #746: remove stale opendj-server-legacy jar during upgrade
Builds before #661 (fixed in 5.1.2) shipped a duplicate
org.openidentityplatform.opendj.opendj-server-legacy.jar alongside
opendj.jar in lib/. Unpacking a 5.1.2+ archive over such an install
leaves that jar behind (it is no longer in the archive, so nothing
overwrites or removes it). Because the launcher builds the classpath
with the lib/* wildcard, the stale 5.1.1 jar can win and make the
runtime report the old binary version, so the server refuses to start
with "binary version does not match the installed version" after a
successful upgrade.
Register an upgrade task that deletes the leftover jar, and document
the manual cleanup for upgrades to the already-released 5.1.2.1 parent 5c32685 commit e07e5bd
2 files changed
Lines changed: 19 additions & 0 deletions
File tree
- opendj-doc-generated-ref/src/main/asciidoc/install-guide
- opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
609 | 610 | | |
610 | 611 | | |
611 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
612 | 624 | | |
613 | 625 | | |
614 | 626 | | |
| |||
0 commit comments