Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10061

Backward-compatibility issues between EAP 6 and 7 [GET_DIGEST ] are required by STABLE, but not provided

    XMLWordPrintable

Details

    Description

      Deploying jboss-kitchensink quickstart on server using migrated configuration from EAP 6.4 fails with

      14:31:31,212 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 17) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee-ejb: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee-ejb: java.lang.Exception: events [GET_DIGEST ] are required by STABLE, but not provided by any of the protocols below it
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
      	at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: java.lang.Exception: events [GET_DIGEST ] are required by STABLE, but not provided by any of the protocols below it
      	at org.jgroups.stack.Configurator.sanityCheck(Configurator.java:320)
      	at org.jgroups.stack.Configurator.connectProtocols(Configurator.java:197)
      	at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:825)
      	at org.jgroups.JChannel.<init>(JChannel.java:200)
      	at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
      	... 7 more
      

      Steps to reproduce:

      # https://access.qa.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/migration_guide/#management_cli_migration_operation
      
      WORKSPACE=`pwd`
      CONFIG=standalone-full-ha.xml
      
      unzip -q jboss-eap-6.4.19-full-build.zip
      EAP6_HOME=${WORKSPACE}/jboss-eap-6.4
      
      WF_VERSION=$(mvn -N help:evaluate -Dexpression=project.version -f ${WILDFLY}/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | grep -v "^\[")
      cp -r ${WILDFLY}/dist/target/wildfly-${WF_VERSION} wildfly
      EAP7_HOME=${WORKSPACE}/wildfly
      
      cp ${EAP6_HOME}/standalone/configuration/${CONFIG} ${EAP7_HOME}/standalone/configuration
      ${EAP7_HOME}/bin/standalone.sh -c ${CONFIG} --start-mode=admin-only &
      ${EAP7_HOME}/bin/jboss-cli.sh --connect --controller=remote://localhost:9999
      /subsystem=jacorb:migrate
      /subsystem=messaging:migrate
      /subsystem=web:migrate
      /subsystem=cmp:remove
      /extension=org.jboss.as.cmp:remove
      /subsystem=jaxr:remove
      /extension=org.jboss.as.jaxr:remove
      /subsystem=threads:remove
      /extension=org.jboss.as.threads:remove
      /subsystem=logging/pattern-formatter=COLOR-PATTERN:add(pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n")
      /subsystem=logging/console-handler=CONSOLE:add(level=INFO, named-formatter=COLOR-PATTERN)
      /subsystem=logging/root-logger=ROOT:add-handler(name=CONSOLE)
      reload
      deploy kitchensink.war
      

      server side log

      14:44:33,760 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/pkremens/workspace3/wildfly/standalone/data/content/57/37adbac0c5fa3e4d529f87c719da8a09c894a0/content
      14:44:33,790 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "kitchensink.war" (runtime-name: "kitchensink.war")
      14:44:34,225 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) WFLYJPA0002: Read persistence.xml for primary
      14:44:34,240 WARN  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0091: -ds.xml file deployments are deprecated. Support may be removed in a future version.
      14:44:34,309 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0001: Bound data source [java:jboss/datasources/KitchensinkQuickstartDS]
      14:44:34,310 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'kitchensink.war#primary'
      14:44:34,332 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 63) HHH000204: Processing PersistenceUnitInfo [
      	name: primary
      	...]
      14:44:34,368 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment kitchensink.war
      14:44:34,407 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 63) HHH000412: Hibernate Core {5.1.13.Final}
      14:44:34,409 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 63) HHH000206: hibernate.properties not found
      14:44:34,410 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 63) HHH000021: Bytecode provider name : javassist
      14:44:34,416 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.3.6.Final
      14:44:34,452 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 63) HCANN000001: Hibernate Commons Annotations {5.0.2.Final}
      14:44:34,500 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0473: JNDI bindings for session bean named 'MemberRegistration' in deployment unit 'deployment "kitchensink.war"' are as follows:
      
      	java:global/kitchensink/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
      	java:app/kitchensink/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
      	java:module/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
      	ejb:kitchensink/MemberRegistration!org.jboss.as.quickstarts.kitchensink.service.MemberRegistration
      	java:global/kitchensink/MemberRegistration
      	java:app/kitchensink/MemberRegistration
      	java:module/MemberRegistration
      
      14:44:34,667 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 17) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee-ejb: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee-ejb: java.lang.Exception: events [GET_DIGEST ] are required by STABLE, but not provided by any of the protocols below it
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:100)
      	at org.wildfly.clustering.service.AsynchronousServiceBuilder.lambda$start$0(AsynchronousServiceBuilder.java:99)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: java.lang.Exception: events [GET_DIGEST ] are required by STABLE, but not provided by any of the protocols below it
      	at org.jgroups.stack.Configurator.sanityCheck(Configurator.java:320)
      	at org.jgroups.stack.Configurator.connectProtocols(Configurator.java:197)
      	at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:825)
      	at org.jgroups.JChannel.<init>(JChannel.java:200)
      	at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:108)
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelBuilder.start(ChannelBuilder.java:98)
      	... 7 more
      
      14:44:34,722 INFO  [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900: 3.0.3 (Final)
      14:44:34,968 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 17) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'kitchensink.war#primary'
      14:44:35,193 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 17) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
      14:44:35,201 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 17) HHH000431: Unable to determine H2 database version, certain features may not work
      14:44:35,267 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 17) Envers integration enabled? : true
      14:44:35,775 INFO  [org.hibernate.tool.schema.internal.SchemaCreatorImpl] (ServerService Thread Pool -- 17) HHH000476: Executing import script 'ScriptSourceInputFromUrl(vfs:/content/kitchensink.war/WEB-INF/classes/import.sql)'
      14:44:35,932 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-7) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1!
      14:44:35,942 WARN  [org.jboss.weld.Bootstrap] (MSC service thread 1-7) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor is deprecated from CDI 1.1!
      14:44:36,454 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "kitchensink.war" was rolled back with the following failure message: undefined
      14:44:36,499 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 17) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'kitchensink.war#primary'
      14:44:36,500 INFO  [org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl] (ServerService Thread Pool -- 17) HHH000477: Starting delayed drop of schema as part of SessionFactory shut-down'
      14:44:36,509 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 17) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'kitchensink.war#primary'
      14:44:36,533 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0010: Unbound data source [java:jboss/datasources/KitchensinkQuickstartDS]
      14:44:36,543 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment kitchensink.war (runtime-name: kitchensink.war) in 89ms
      14:44:36,545 INFO  [org.jboss.as.controller] (management-handler-thread - 1) WFLYCTL0183: Service status report
      WFLYCTL0186:   Services which failed to start:      service org.wildfly.clustering.jgroups.channel.ee-ejb
      WFLYCTL0448: 20 additional services are down due to their dependencies being missing or failed
      

      client side log

      WFLYCTL0063: Composite operation was rolled back
      

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: