[
https://issues.jboss.org/browse/DROOLS-783?page=com.atlassian.jira.plugin...
]
Jan Schatteman commented on DROOLS-783:
---------------------------------------
Hi,
Ok, so I think the problem is that you're actually trying to migrate from a very old
version. The tool really only migrates from version 5.3 onwards, it has not been
conceived nor tested for earlier versions. So, as I suspected, it's not actually a bug
of the tool, but in the export phase some property that is still being managed in your
version of guvnor, but not any more in subsequent versions, causes the error when trying
to load the global area from the JCR repository. As the export phase doesn't complete
correctly, it later complains about not being able to find the modules.xml file in the
import phase.
Could you export your repository through the application's administration tool, and
attach it here?
Error migrating repository from 5.x to 6.2
------------------------------------------
Key: DROOLS-783
URL:
https://issues.jboss.org/browse/DROOLS-783
Project: Drools
Issue Type: Bug
Components: tools
Affects Versions: 6.2.0.Final
Environment: Linux 3.8.13-55.1.5.el6uek.x86_64 #2 SMP Wed Jan 28 17:03:28 PST
2015 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Pierangelo Repetti
Assignee: Jan Schatteman
Attachments: rules.zip, runMigration.log, stderr.out
The migration of a rules repository from Guvnor 5.x to KIE WB shows the following error
java.io.FileNotFoundException: File modules.xml not found
during the JCR import phase.
Detail:
Jcr import started. Reading from import directory
({/home/ecs/brain/migration/drools-wb-jcr2vfs-distribution-6.2.0.Final/bin/tmp-jcr2vfs}).
Category import started
Category import ended
Module import started
java.io.FileNotFoundException: File modules.xml not found
at
org.drools.workbench.jcr2vfsmigration.common.FileManager.getFile(FileManager.java:163)
at
org.drools.workbench.jcr2vfsmigration.common.FileManager.getModulesExportFile(FileManager.java:54)
at
org.drools.workbench.jcr2vfsmigration.common.FileManager$Proxy$_$$_WeldClientProxy.getModulesExportFile(FileManager$Proxy$_$$_WeldClientProxy.java)
at
org.drools.workbench.jcr2vfsmigration.vfsImport.ModuleAssetImporter.importAll(ModuleAssetImporter.java:114)
at
org.drools.workbench.jcr2vfsmigration.vfsImport.ModuleAssetImporter$Proxy$_$$_WeldClientProxy.importAll(ModuleAssetImporter$Proxy$_$$_WeldClientProxy.java)
at org.drools.workbench.jcr2vfsmigration.VfsImporter.importAll(VfsImporter.java:80)
at
org.drools.workbench.jcr2vfsmigration.VfsImporter$Proxy$_$$_WeldClientProxy.importAll(VfsImporter$Proxy$_$$_WeldClientProxy.java)
at
org.drools.workbench.jcr2vfsmigration.VfsImporterLauncher.launchImport(VfsImporterLauncher.java:57)
at
org.drools.workbench.jcr2vfsmigration.VfsImporterLauncher.run(VfsImporterLauncher.java:49)
at
org.drools.workbench.jcr2vfsmigration.VfsImporterLauncher.main(VfsImporterLauncher.java:34)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)