Skip to content

Commit 414df02

Browse files
authored
Merge pull request #20579 from tjwatson/disableCheckConfiguration
Disable osgi.checkConfiguration by default
2 parents 1173f52 + 2060f30 commit 414df02

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/FrameworkConfigurator.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static void configure(BootstrapConfig config) {
6262
* <li>osgi.user.area -- set to the server directory (parent of workarea)
6363
* <li>osgi.framework.activeThreadType -- none; prevent equinox from
6464
* spawning a thread to prevent framework from stopping
65-
* <li>osgi.checkConfiguration -- true; ensure equinox checks for updates to
65+
* <li>osgi.checkConfiguration -- false; Avoid equinox timestamp check on
6666
* referenced jars
6767
* <li>osgi.compatibility.eagerStart.LazyActivation -- false; do not
6868
* auto-start bundles with Bundle-ActivationPolicy: lazy
@@ -96,11 +96,10 @@ protected static void customize(BootstrapConfig config) {
9696
// equinox to do that.
9797
config.put("osgi.framework.activeThreadType", "none");
9898

99-
// Use an equinox property to ensure that equinox checks whether or not
100-
// the jar files we're installing (for file:// URLs) have changed if
101-
// osgi is not starting clean. If the bundle jar has changed, associated
102-
// cached data is tossed.
103-
config.putIfAbsent("osgi.checkConfiguration", "true");
99+
// No longer check timestamps of JARs from Equinox
100+
// on restart. It is assumed any new Liberty bundles
101+
// will use a different location on disk
102+
config.putIfAbsent("osgi.checkConfiguration", "false");
104103

105104
// We do not want Bundle-ActivationPolicy: lazy to cause bundle
106105
// resolution to automatically start bundles.

0 commit comments

Comments
 (0)