Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2787

The jboss-eap-cd-jolokia module doesn't work with current WildFly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • EAP_CD
    • None
    • CLOUD Maintenance Sprint 23

    Description

      The EAP CD jolokia integration doesn't work with current WF (and hence won't work in CD 14) because it adds no-longer present jars to the classpath.

      $ docker run -it jboss-eap-7-tech-preview/eap-cd-openshift:13.0
      WARN No password defined for JGroups cluster. AUTH protocol will be disabled. Please define JGROUPS_CLUSTER_PASSWORD.
      WARN Environment variable OPENSHIFT_KUBE_PING_NAMESPACE undefined. Clustering will be unavailable. Please refer to the documentation for configuration.
      INFO Configuring JGroups discovery protocol to openshift.KUBE_PING
      Using PicketBox SSL configuration.
      WARN Missing SSO_URL. Unable to properly configure SSO-enabled applications
      INFO Access log is disabled, ignoring configuration.
      INFO Running jboss/openjdk18-rhel7 image, version 1.1
      -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /opt/eap
      
        JAVA: /usr/lib/jvm/java-1.8.0/bin/java
      
        JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.logmanager,jdk.nashorn.api,com.sun.crypto.provider -Djava.awt.headless=true -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -Djava.security.egd=file:/dev/./urandom  -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -Xbootclasspath/p:/opt/eap/jboss-modules.jar:/opt/eap/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.1.4.Final.jar:Could not find any jar for the org/wildfly/javax/json/main/javax.json-1 path, aborting:Could not find any jar for the org/wildfly/javax/json/main/javax.json-api path, aborting:/opt/eap/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.4.0.Final.jar -Djava.util.logging.manager=org.jboss.logmanager.LogManager
      
      =========================================================================
      
      Error: Could not find or load main class not
      

      Key bit:

      Could not find any jar for the org/wildfly/javax/json/main/javax.json-1 path, aborting:Could not find any jar for the org/wildfly/javax/json/main/javax.json-api path

      I believe that module had something to do with ee8.preview.mode support which is no longer applicable.

      Attachments

        Issue Links

          Activity

            People

              kwills@redhat.com Ken Wills
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: