[rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

dunnlow dunnlow at yahoo.com
Wed Feb 12 12:02:37 EST 2014


Getting there.  Not sure what is up with my Guvnor repository, but if I
export the repo from guvnor, then unzip the xml file and create a new jcr
repository from it, the migration tool seems to (start to) work on that one
(after I copy the repository.xml into the repository directory). 

The modules and categories are migrated successfully.  The first few assets
work (they are images) but then I get an exception on migrating the first
rule:

Asset [CheckCounter] with format [brl] is being migrated...
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel:org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration'
Migration ended with errors. Written into outputVfsRepository ....
.
.
.
Caused by: java.lang.ClassCastException:
org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration
cannot be cast to org.drools.compiler.DialectConfiguration

SO, seemingly a class loading issue since MVELDialectConfiguration
implements DialectConfiguration but still working on why.  I printed out the
class loader for both classes in the run method of the Jcr2VfsMigrationApp,
but they are the same.

Any thoughts?



--
View this message in context: http://drools.46999.n3.nabble.com/Migration-to-Drools-6-and-Workbench-from-Guvnor-5-5-tp4028040p4028097.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list