A more complete stack trace would be useful; or your repository.xml.. either way there's not much to go on at the moment.


On 12 February 2014 17:02, dunnlow <dunnlow@yahoo.com> wrote:
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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users