-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
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:".
- is caused by
-
JBEAP-16105 [GSS](7.2.z) WFLY-11584 - Legacy Web migrate op fails if a connector has scheme https and no SSL config
- Closed
-
WFLY-11584 Legacy Web migrate op fails if a connector has scheme https and no SSL config
- Closed