Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29403

Broken showconf --json output in Nuxeo 11

    XMLWordPrintable

    Details

    • Tags:
    • Upgrade notes:
      Hide

      In order to remove WARNING messages from JDK about invalid we had to upgrade some dependencies and to remove one:

      • javax.xml.bind:jaxb-api:2.2.11 has been changed to jakarta.xml.bind:jakarta.xml.bind-api:2.3.3
      • com.sun.xml.bind:jaxb-impl has been upgraded from 2.3.0.1 to 2.3.3
      • com.sun.xml.bind:jaxb-core has been removed
      Show
      In order to remove WARNING messages from JDK about invalid we had to upgrade some dependencies and to remove one: javax.xml.bind:jaxb-api:2.2.11 has been changed to jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 com.sun.xml.bind:jaxb-impl has been upgraded from 2.3.0.1 to 2.3.3 com.sun.xml.bind:jaxb-core has been removed
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #16
    • Story Points:
      3

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 15 minutes
                  4h 15m