[
https://issues.jboss.org/browse/BAM-100?page=com.atlassian.jira.plugin.sy...
]
Gary Brown resolved BAM-100.
----------------------------
Resolution: Done
Also fixed metrics collected, as was reporting invalid values - and instead of using
service response times, which are collected periodically, have instead used the source SOA
events. This should still be ok, as the remaining EPN is still in place to provide an
example of the type of processing that would be performed.
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