-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
-
-
-
-
+
-
-
Some server modules are internal and are not in the filesystem (/modules), and there is a chance that the config requires migration of a module which depends on those, something that then leads to:
ERROR Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.IllegalStateException: Migration of module java.desktop:main required, but module not found in source server. at org.jboss.migration.wfly10.config.task.module.ConfigurationModulesMigrationTaskFactory$Task.migrateModules(ConfigurationModulesMigrationTaskFactory.java:90) at org.jboss.migration.core.jboss.ModulesMigrationTask.run(ModulesMigrationTask.java:67) at org.jboss.migration.core.env.SkippableByEnvServerMigrationTask.run(SkippableByEnvServerMigrationTask.java:47) at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) at org.jboss.migration.wfly10.config.task.ServerConfigurationMigration$1.run(ServerConfigurationMigration.java:88) at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.migrateConfig(ServerConfigurationsMigration.java:151) at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.migrateAllConfigs(ServerConfigurationsMigration.java:120) at org.jboss.migration.wfly10.config.task.ServerConfigurationsMigration$Task.run(ServerConfigurationsMigration.java:113) at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) at org.jboss.migration.wfly10.config.task.StandaloneServerMigration$1.run(StandaloneServerMigration.java:61) at org.jboss.migration.core.console.UserConfirmationServerMigrationTask.runTask(UserConfirmationServerMigrationTask.java:58) at org.jboss.migration.core.console.UserConfirmationServerMigrationTask.run(UserConfirmationServerMigrationTask.java:63) at org.jboss.migration.core.env.SkippableByEnvServerMigrationTask.run(SkippableByEnvServerMigrationTask.java:47) at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) at org.jboss.migration.wfly10.config.task.ServerMigration.run(ServerMigration.java:45) at org.jboss.migration.wfly10.WildFlyServer10.migrate(WildFlyServer10.java:40) at org.jboss.migration.core.ServerMigration$1.run(ServerMigration.java:153) at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:169) at org.jboss.migration.core.ServerMigration.run(ServerMigration.java:160) at org.jboss.migration.cli.CommandLineServerMigration.main(CommandLineServerMigration.java:131) Caused by: java.lang.IllegalStateException: Migration of module java.desktop:main required, but module not found in source server. at org.jboss.migration.core.jboss.ModulesMigrationTask$ModuleMigrator.migrateModule(ModulesMigrationTask.java:129) at org.jboss.migration.core.jboss.ModulesMigrationTask$ModuleMigrator.migrateModule(ModulesMigrationTask.java:154) at org.jboss.migration.core.jboss.ModulesMigrationTask$ModuleMigrator.migrateModule(ModulesMigrationTask.java:154) at org.jboss.migration.core.jboss.ModulesMigrationTask$ModuleMigrator.migrateModule(ModulesMigrationTask.java:154) at org.jboss.migration.wfly10.config.task.module.EEGlobalModulesFinder.processElement(EEGlobalModulesFinder.java:48) at org.jboss.migration.wfly10.config.task.module.ConfigurationModulesMigrationTaskFactory$Task.processElement(ConfigurationModulesMigrationTaskFactory.java:101) at org.jboss.migration.wfly10.config.task.module.ConfigurationModulesMigrationTaskFactory$Task.migrateModules(ConfigurationModulesMigrationTaskFactory.java:86) ... 32 more
The following are the list of internal modules that the tool should not attempt migration: java.desktop, java.logging, java.xml, java.sql, org.jboss.modules
- blocks
-
JBEAP-26765 [GSS](8.0.z) CMTOOL-364 - EAP 8.0 Migration Tool Exception: WFLYCTL0367
- Closed
- clones
-
CMTOOL-372 Force exclude migration of internal modules
- Resolved
- is incorporated by
-
JBEAP-27090 [GSS](8.0.z) Upgrade Migration Tool for EAP 8.0 Update 3
- Closed