Gary Brown created BAM-100:
------------------------------
Summary: ClassCastException when running performance tests related to
mvel/drools in the CEPEventProcessor
Key: BAM-100
URL:
https://issues.jboss.org/browse/BAM-100
Project: Business Activity Monitoring
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.M3
Although the sla monitor test (in tests/platform) appear to run with a similar sort of
configuration, when the performance tests are executed using arquillian in a
jbossas7/switchyard 0.6.final environment, it causes a class cast exception when loading
the rulebase, between a drools/mvel file and an expected mvel class.
16:12:49,789 SEVERE [org.overlord.bam.epn.cep.CEPEventProcessor] (MSC service thread 1-2)
Failed to load CEP rules 'ResponseTime.drl' for Event Processor
'ResponseTime': org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel:org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration'
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:313)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:298)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:187)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:165)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:301)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:229)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
[drools-compiler-5.3.0.Final.jar:5.3.0.Final]
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
[knowledge-api-5.3.0.Final.jar:5.3.0.Final]
at org.overlord.bam.epn.cep.CEPEventProcessor.loadRuleBase(CEPEventProcessor.java:166)
[epn-cep.jar:1.0.0-SNAPSHOT]
at org.overlord.bam.epn.cep.CEPEventProcessor.createSession(CEPEventProcessor.java:138)
[epn-cep.jar:1.0.0-SNAPSHOT]
at org.overlord.bam.epn.cep.CEPEventProcessor.init(CEPEventProcessor.java:60)
[epn-cep.jar:1.0.0-SNAPSHOT]
at org.overlord.bam.epn.Node.init(Node.java:228) [epn-core.jar:1.0.0-SNAPSHOT]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira