on 2015 May 05 6:03 PM
When trying to run the SAP MII migration tool I get the following error. I can’t really tell if this is coming from the new v15 server or local machine but I tried two machines (laptop and MII 11.5 server). I can see the tool does make a connection to the server and believe the message is coming from the server. Everything I find in forums seem to point to NW AS, Java CLASSPATH or SAP XML Toolkit. Error: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found Example: trying to only migrate scheduler jobs Tue May 05 09:46:30 CDT 2015 Version 14.0.0 Build(3) Tue May 05 09:46:30 CDT 2015 Starting Migration... Tue May 05 09:46:30 CDT 2015 PROPERTIES [server=http://sapxmii.company.com,username=username,password=*******,configdir=C:\LocalStorage\Support\SAP\...] Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Security migration is disabled Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Configuration migration is disabled Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Template migration is disabled, no project data migrating Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Xacute migration is disabled, no project data migrating Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Web migration is disabled, no project data migrating Tue May 05 09:46:31 CDT 2015 --------------------------------------------------------------- Tue May 05 09:46:31 CDT 2015 Scheduled jobs migrating from C:\LocalStorage\Support\SAP\MII\LCCAS290\Lighthammer/Scheduler Tue May 05 09:46:31 CDT 2015 Processing directory Scheduler Tue May 05 09:46:31 CDT 2015 Processing file C:\LocalStorage\Support\SAP\MII\Lighthammer\Scheduler\Auto_Collect_TRX_4_Chain.xml Tue May 05 09:46:31 CDT 2015 Error processing file C:\LocalStorage\Support\SAP\MII\Lighthammer\Scheduler\Auto_Collect_TRX_4_Chain.xml, javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found Tue May 05 09:46:31 CDT 2015 Processing file C:\LocalStorage\Support\SAP\MII\Lighthammer\Scheduler\Auto_Set_Targets.xml Tue May 05 09:46:31 CDT 2015 Error processing file C:\LocalStorage\Support\SAP\MII\Lighthammer\Scheduler\Auto_Set_Targets.xml, javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
Request clarification before answering.
Seems the issue is resolved for me.
I copied "xercesImpl.jar" and "xalan.jar" to the migration tool folder and in the "migrate.bat" file, i added the 2 jar files in the class path
The entry in the migrate.bat files looks as below:
@java -Xmx256M -cp "XMII.jar;xercesImpl.jar;xalan.jar;sap.com~xapps~xmii~common~xmii_common_deploy.jar;commons-httpclient-2.0.2.jar;commons-logging.jar;logging.jar;frog.jar;" com.sap.xmii.migration.Main %1 %2 %3 %4 %5 %6
The tool is running now and files seem to be migrating successfully. Fingers crossed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, this worked for me but I also had to add serializer.jar to the folder and the path
@java -Xmx256M -cp "XMII.jar;xercesImpl.jar;xalan.jar;serializer.jar;sap.com~xapps~xmii~common~xmii_common_deploy.jar;commons-httpclient- 2.0.2.jar;commons-logging.jar;logging.jar;frog.jar" com.sap.xmii.migration.Main %1 %2 %3 %4 %5 %6
It appears I am experiencing the same issue. I downloaded the files and placed them in the same folder location as the Migration.bat is and I modified the batch file. I still get the same error even though I killed the app and restarted it. Do you have any advice?
Error during migration, Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
Hi Mark,
Did you run the migration test? Are you sure you are using migration tool for 15.0?
Swaroop Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm facing a similar issue while migrating from MII 11.5 to 15. The MII system is 15 SP3 and the migration tool being used is SP3 for MII 15.
Tue May 05 03:57:59 CDT 2015 Error during migration, Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
at javax.xml.parsers.FactoryFinder.findServiceProvider(Unknown Source)
at javax.xml.parsers.FactoryFinder.find(Unknown Source)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at com.sap.lhcommon.util.FactoryManager.getDocumentBuilderFactory(FactoryManager.java:109)
at com.sap.lhcommon.util.FactoryManager.getBuilder(FactoryManager.java:84)
at com.sap.lhcommon.util.FactoryManager.createXMLDocumentBuilderFactory(FactoryManager.java:34)
at com.sap.lhcommon.xml.XMLHandler.createDocumentBuilderFactory(XMLHandler.java:69)
at com.sap.lhcommon.xml.XMLHandler.getDocument(XMLHandler.java:420)
at com.sap.xmii.migration.migrating.TemplateMigrator.getDefaultProperties(TemplateMigrator.java:258)
at com.sap.xmii.migration.migrating.TemplateMigrator.<init>(TemplateMigrator.java:44)
at com.sap.xmii.migration.migrating.Migrator.run(Migrator.java:130)
Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
... 11 more
Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
User | Count |
---|---|
9 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.