Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-234

Migration fails during EAP 6.4 to EAP 7.1 with ERROR: org.jboss.migration.core.ServerMigrationFailureException: Subsystem config /subsystem=web migration failed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • EAP 7.1
    • None

      Migration fails in standalone during EAP 6.4 to EAP 7.1 with ERROR: Migration failed: org.jboss.migration.core.ServerMigrationFailureException: Subsystem config /subsystem=web migration failed.

      If we set an attribute 'scheme' of 'http' connector as 'https' [ scheme="https" ] in 'web' subsystem of JBoss EAP 6.4 then migration fails :

      <connector name="http" protocol="HTTP/1.1" scheme="https" socket-binding="http" proxy-name="dev.app.example" proxy-port="000" redirect-port="000"/>
      
      

      When changed it to:

      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" proxy-name="dev.app.example" proxy-port="000" redirect-port="000"/>
      

      Then migration will be succesfull.

       ERROR [logger] Migration failed: org.jboss.migration.core.ServerMigrationFailureException: Subsystem config /subsystem=web migration failed: undefined
      	at org.jboss.migration.wfly10.config.task.management.subsystem.MigrateSubsystemResourceSubtaskBuilder.migrateConfiguration(MigrateSubsystemResourceSubtaskBuilder.java:59) [jboss-server-migration-wildfly10.0-1.0.3.Final-redhat-4.jar:1.0.3.Final-redhat-4]
      	at org.jboss.migration.wfly10.config.task.management.subsystem.MigrateSubsystemResourceSubtaskBuilder.lambda$null$0(MigrateSubsystemResourceSubtaskBuilder.java:43) [jboss-server-migration-wildfly10.0-1.0.3.Final-redhat-4.jar:1.0.3.Final-redhat-4]
      	at org.jboss.migration.core.task.component.ComponentTask$Builder.lambda$buildRunnable$0(ComponentTask.java:129) [jboss-server-migration-core-1.0.3.Final-redhat-4.jar:1.0.3.Final-redhat-4]
      	at org.jboss.migration.core.task.component.ComponentTask.run(ComponentTask.java:46) [jboss-server-migration-core-1.0.3.Final-redhat-4.jar:1.0.3.Final-redhat-4]
      	at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) 
      
      

      Steps to Reproduce:

      Migration: JBoss EAP 6.4 to EAP 7.1:

      1. Set an attribute 'scheme' of 'http' connector as 'https' [ scheme="https" ] in 'web'
      subsystem of JBoss EAP 6.4.

      <connector name="http" protocol="HTTP/1.1" scheme="https" socket-binding="http" proxy-
      name="dev.app.example" proxy-port="000" redirect-port="000"/>

      2. Execute the "JBoss-server-migration.sh" script from 'bin' in JBoss EAP 7.1.
      [./jboss-server-migration.sh --source /path/to/jboss-eap-6.4/
      --target /path/to/jboss-eap-7.1/ ]

      3. Migration should be failed with this message
      "ServerMigrationFailureException:
      Subsystem config /subsystem=web migration failed:".

              emartins@redhat.com Eduardo Martins
              rhn-support-saahamad Sarfaraz Ahamad
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: