Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-8480

Run of RH-SSO 7.3 TP CD OpenShift image built on top of EAP CD 13 / 14 fails with "java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName" exception

    Details

      Description

      Running locally built RH-SSO 7.3 TP CD OpenShift image built on top of EAP CD 13 / 14 images returns the following exception, when the image is started:

      # docker run -it 7a9875e4c5b7
      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
      INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT.
      WARN No password defined for JGroups cluster. AUTH protocol will be disabled. Please define JGROUPS_CLUSTER_PASSWORD.
      WARN Detected missing JGroups encryption configuration, the communication within the cluster WILL NOT be encrypted.
      INFO Access log is disabled, ignoring configuration.
      INFO Running redhat-sso-7-tech-preview/sso-cd-openshift image, version 7.3.0.cd03-on-top-of-eap-cd-13-1.0
      -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 -verbose:gc -Xloggc:"/opt/eap/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -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/jboss/container/jolokia/jolokia.jar=config=/opt/jboss/container/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.2.Final-redhat-1.jar:/opt/eap/modules/system/layers/base/org/jboss/logmanager/ext/main/javax.json-1.0.4.jar:/opt/eap/modules/system/layers/base/org/jboss/logmanager/ext/main/jboss-logmanager-ext-1.0.0.Alpha5-redhat-1.jar -Djava.util.logging.manager=org.jboss.logmanager.LogManager
      
      =========================================================================
      
      OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
      I> No access restrictor found, access to any MBean is allowed
      Jolokia: Agent started with URL https://172.17.0.2:8778/jolokia/
      java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
      	at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
      	at org.jboss.logmanager.Logger.log(Logger.java:796)
      	at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:53)
      	at org.jboss.logging.Logger.logf(Logger.java:2398)
      	at org.jboss.msc.service.ServiceLogger_$logger.greeting(ServiceLogger_$logger.java:40)
      	at org.jboss.msc.service.ServiceContainerImpl.<clinit>(ServiceContainerImpl.java:91)
      	at org.jboss.msc.service.ServiceContainer$Factory.create(ServiceContainer.java:250)
      	at org.jboss.as.server.BootstrapImpl$ShutdownHook.register(BootstrapImpl.java:226)
      	at org.jboss.as.server.BootstrapImpl$ShutdownHook.access$100(BootstrapImpl.java:216)
      	at org.jboss.as.server.BootstrapImpl.<init>(BootstrapImpl.java:68)
      	at org.jboss.as.server.Bootstrap$Factory.newInstance(Bootstrap.java:275)
      	at org.jboss.as.server.Main.main(Main.java:105)
      	at org.jboss.modules.Module.run(Module.java:352)
      	at org.jboss.modules.Module.run(Module.java:320)
      	at org.jboss.modules.Main.main(Main.java:593)
      

      Unsure for now, this is related / consequence of KEYCLOAK-8452, or different / separate issue. To be investigated further later yet.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iankko Ján Lieskovský
                  Reporter:
                  iankko Ján Lieskovský
                  Involved:
                  Alex Szczuczko, Hynek Mlnařík, Pavel Drobek, Pavel Drozd, Stian Thorgersen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: