-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 11.1
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Upgrade notes:
-
Team:PLATFORM
-
Sprint:nxplatform #16
-
Story Points:3
The json output is now broken.
Using the image 11.1 (version 11.1.47) the output of
docker exec -t mynuxeo nuxeoctl showconf --json
is
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. ***** Nuxeo instance configuration ***** NUXEO_CONF: /etc/nuxeo/nuxeo.conf NUXEO_HOME: /opt/nuxeo/server ** Distribution - name: server - server: tomcat - version: 11.1.47 - date: 202006110014 - packaging: docker ** Packages: ** Profiles: Profile: ** Templates: Database template: default ** Settings from nuxeo.conf: JAVA_OPTS=--illegal-access=permit -XX:InitialRAMPercentage=3 -XX:MaxRAMPercentage=25 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Dnet.sf.ehcache.skipUpdateCheck=true -Djava.util.Arrays.useLegacyMergeSort=true -Dsun.net.http.retryPost=false -XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=50 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.util.logging.config.file=conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager audit.elasticsearch.enabled=true elasticsearch.client=RestClient elasticsearch.httpEnabled=true launcher.override.java.tmpdir=true nuxeo.data.dir=/var/lib/nuxeo nuxeo.force.generation=true nuxeo.log.dir=/var/log/nuxeo nuxeo.pid.dir=/var/pid/nuxeo nuxeo.templates=default nuxeo.tmp.dir=/tmp org.nuxeo.runtime.reload_strategy=standby server.status.key=******** **************************************** WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/tmp/nuxeo-launcher-17951.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release {"NUXEO_CONF":"/etc/nuxeo/nuxeo.conf","NUXEO_HOME":"/opt/nuxeo/server","distribution":{"name":"server","server":"tomcat","version":"11.1.47","date":"202006110014","packaging":"docker"},"packages":null,"configuration":{"dbtemplate":"default","basetemplates":null,"pkgtemplates":null,"usertemplates":null,"profiles":{"profile":null},"keyvals":{"keyval":[{"key":"JAVA_OPTS","value":"--illegal-access=permit -XX:InitialRAMPercentage=3 -XX:MaxRAMPercentage=25 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Dnet.sf.ehcache.skipUpdateCheck=true -Djava.util.Arrays.useLegacyMergeSort=true -Dsun.net.http.retryPost=false -XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=50 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.util.logging.config.file=conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"},{"key":"audit.elasticsearch.enabled","value":"true"},{"key":"elasticsearch.client","value":"RestClient"},{"key":"elasticsearch.httpEnabled","value":"true"},{"key":"launcher.override.java.tmpdir","value":"true"},{"key":"nuxeo.data.dir","value":"/var/lib/nuxeo"},{"key":"nuxeo.force.generation","value":"true"},{"key":"nuxeo.log.dir","value":"/var/log/nuxeo"},{"key":"nuxeo.pid.dir","value":"/var/pid/nuxeo"},{"key":"nuxeo.templates","value":"default"},{"key":"nuxeo.tmp.dir","value":"/tmp"},{"key":"org.nuxeo.runtime.reload_strategy","value":"standby"},{"key":"server.status.key","value":"********"}]}}}
Part of it is not formatted with several error messages. It is currently unusable.
Workaround:
grep ^{
then
replace "" with \n
- is related to
-
NXP-29401 nuxeoctl showconf json output does not support multiline description
- Resolved
- Is referenced in