I’m doing this migration in my local machine which is having windows OS and getting all this error while running the migration script from CMD::
2024-04-26 12:59:07,047 INFO
[ServerMigrationTask#1:3:3] Source’s domain configurations found: [domain.xml] [ServerMigrationTask#1:3:3:1] Migrating domain configuration domain.xml..
2024-04-26 12:59:07,047 INFO
ServerMigrationTask 1:2:3:5:10] Subsystem health added.
2024-04-26 12:59:07,118 ERROR [logger] Migration failed: org.jboss.migration.core.ServerMigrationFailureException: XML file filtering failed at org.jboss.migration.core.util.xml.XMLFiles.filter(XMLFiles.java:167) [jboss-server-migration-core-1.10.0.Final-redhat-00030.jar:1.10.0.Final-redhat-00030] at org.jboss.migration.core.util.xml.XMLFiles.filter(XMLFiles.java:119) [jboss-server-migration-core-1.10.0.Final-redhat-00030.jar:1.10.0.Final-redhat-00038]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]: [342,15]
Message: The element type “bindings” must be terminated by the matching end-tag “</bindings>”. at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604) [rt.jar:1.8.0_291]
at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XML EventReaderImpl.java:83) [rt.jar:1.8.0_291] at org.jboss.migration.core.util.xml.XMLFiles.filter(XMLFiles.java:134) [jboss-server-migration-core-1.10.0.Final-redhat-00030.jar:1.10.0.Final-redhat-00030
standalone-configuration(source-standalone.xml)
domain
domain-configurations
domain-configuration (source-domain.xml)
In my domain.xml there is no line of 342 but how it is showing the error even I have tried to removing the <bindings> at last row still it was showing the same problem. Any advise please!
<subsystem><bindings> <simple name="java:/test/url" value="*"> X/simple> <bindings></bindings> <remote-naming></remote-naming>