BUG: org.nuxeo.seam.debug property not used from nuxeo.conf

Hi,

https://jira.nuxeo.com/browse/NXP-21025 and commit https://github.com/nuxeo/nuxeo/commit/11e89d29a46fd11dd152fd724e461758e19c5c48 removed the line

System.setProperty(SEAM_DEBUG_SYSTEM_PROP, “true”);

From ConfigurationGenerator, but SeamHotReloadHelper still uses

public static boolean isHotReloadEnabled() {
String sysProp = System.getProperty(ConfigurationGenerator.SEAM_DEBUG_SYSTEM_PROP, "false");
return Boolean.TRUE.equals(Boolean.valueOf(sysProp));
}

So the setting in nuxeo.conf has no effect and you'll need to use

JAVA_OPTS=$JAVA_OPTS -Dorg.nuxeo.seam.debug=true

To get the desired effect.

0 votes

1 answers

1456 views

ANSWER



Hi,

Thank you for the bug notice and providing a workaround.

I created https://jira.nuxeo.com/browse/NXP-22898 to fix this in next LTS.

0 votes