[
https://issues.jboss.org/browse/RTGOV-597?page=com.atlassian.jira.plugin....
]
Gary Brown updated RTGOV-597:
-----------------------------
Fix Version/s: 2.2.0.Alpha2
(was: 2.2.0.Alpha1)
Exception when installing overlord-rtgov-samples-all-sla profile in
fabric
--------------------------------------------------------------------------
Key: RTGOV-597
URL:
https://issues.jboss.org/browse/RTGOV-597
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.2.0.Alpha2
Installing the SLA sample causes the following exceptions when the container is being
provisioned:
{noformat}
Provision Exception:
io.fabric8.agent.utils.MultiException: Error updating agent
at io.fabric8.agent.DeploymentAgent.install(DeploymentAgent.java:943)
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:579)
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:304)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
org.osgi.framework.BundleException: Activator start error in bundle
samples-karaf-sla-epn [367].
at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2437)
at org.apache.felix.framework.Felix$7.call(Felix.java:2325)
at org.apache.felix.framework.Felix.runInContext(Felix.java:2188)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2323)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2090)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
at io.fabric8.agent.DeploymentAgent.install(DeploymentAgent.java:936)
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:579)
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:304)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Failed to register network
at
org.overlord.rtgov.epn.loader.osgi.EPNActivator.registerEPN(EPNActivator.java:121)
at
org.overlord.rtgov.epn.loader.osgi.EPNActivator$1.registered(EPNActivator.java:52)
at
org.overlord.rtgov.epn.loader.osgi.EPNActivator$1.registered(EPNActivator.java:48)
at
org.overlord.commons.services.OSGiServiceRegistry$ServiceListenerAdapter.init(OSGiServiceRegistry.java:305)
at
org.overlord.commons.services.OSGiServiceRegistry$ServiceListenerAdapter.(OSGiServiceRegistry.java:262)
at
org.overlord.commons.services.OSGiServiceRegistry.addServiceListener(OSGiServiceRegistry.java:222)
at
org.overlord.commons.services.CompositeServiceRegistry.addServiceListener(CompositeServiceRegistry.java:85)
at
org.overlord.commons.services.ServiceRegistryUtil.addServiceListener(ServiceRegistryUtil.java:60)
at org.overlord.rtgov.epn.loader.osgi.EPNActivator.start(EPNActivator.java:61)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2387)
... 15 more
Caused by: java.lang.Exception: Failed to load Drools rules
'SLAViolationDerived.drl' for Event Processor 'SLAViolationDerived'
at
org.overlord.rtgov.ep.drools.DroolsEventProcessor.loadRuleBase(DroolsEventProcessor.java:347)
at
org.overlord.rtgov.ep.drools.DroolsEventProcessor.createSession(DroolsEventProcessor.java:244)
at
org.overlord.rtgov.ep.drools.DroolsEventProcessor.init(DroolsEventProcessor.java:90)
at org.overlord.rtgov.epn.Node.init(Node.java:233)
at org.overlord.rtgov.epn.Network.preInit(Network.java:202)
at org.overlord.rtgov.epn.AbstractEPNLoader.preInit(AbstractEPNLoader.java:34)
at
org.overlord.rtgov.epn.loader.osgi.EPNActivator.registerEPN(EPNActivator.java:109)
... 25 more
Caused by: java.lang.NoClassDefFoundError:
org/drools/compiler/lang/DRL6Expressions$relationalExpression_scope
at
org.drools.compiler.lang.DRL6Expressions.relationalExpression(DRL6Expressions.java:2442)
at
org.drools.compiler.lang.DRL6Expressions.inExpression(DRL6Expressions.java:2280)
at
org.drools.compiler.lang.DRL6Expressions.instanceOfExpression(DRL6Expressions.java:2211)
at
org.drools.compiler.lang.DRL6Expressions.equalityExpression(DRL6Expressions.java:2111)
at
org.drools.compiler.lang.DRL6Expressions.andExpression(DRL6Expressions.java:2042)
at
org.drools.compiler.lang.DRL6Expressions.exclusiveOrExpression(DRL6Expressions.java:1974)
at
org.drools.compiler.lang.DRL6Expressions.inclusiveOrExpression(DRL6Expressions.java:1906)
at
org.drools.compiler.lang.DRL6Expressions.conditionalAndExpression(DRL6Expressions.java:1817)
at
org.drools.compiler.lang.DRL6Expressions.conditionalOrExpression(DRL6Expressions.java:1727)
at org.drools.compiler.lang.DRL6Parser.constraint(DRL6Parser.java:3482)
at
org.drools.compiler.lang.DRL6Parser.positionalConstraints(DRL6Parser.java:3397)
at
org.drools.compiler.lang.DRL6Parser.speculatePositionalConstraints(DRL6Parser.java:3379)
at org.drools.compiler.lang.DRL6Parser.lhsPattern(DRL6Parser.java:3288)
at org.drools.compiler.lang.DRL6Parser.lhsPatternBind(DRL6Parser.java:3038)
at org.drools.compiler.lang.DRL6Parser.lhsUnary(DRL6Parser.java:2367)
at org.drools.compiler.lang.DRL6Parser.lhsAnd(DRL6Parser.java:2261)
at org.drools.compiler.lang.DRL6Parser.lhsOr(DRL6Parser.java:2117)
at org.drools.compiler.lang.DRL6Parser.lhsExpression(DRL6Parser.java:2016)
at org.drools.compiler.lang.DRL6Parser.lhs(DRL6Parser.java:1992)
at org.drools.compiler.lang.DRL6Parser.rule(DRL6Parser.java:1323)
at org.drools.compiler.lang.DRL6Parser.statement(DRL6Parser.java:230)
at org.drools.compiler.lang.DRL6Parser.compilationUnit(DRL6Parser.java:110)
at
org.drools.compiler.lang.AbstractDRLParser.compilationUnit(AbstractDRLParser.java:86)
at org.drools.compiler.compiler.DrlParser.compile(DrlParser.java:238)
at org.drools.compiler.compiler.DrlParser.parse(DrlParser.java:155)
at org.drools.compiler.compiler.DrlParser.parse(DrlParser.java:144)
at
org.drools.compiler.builder.impl.KnowledgeBuilderImpl.drlToPackageDescr(KnowledgeBuilderImpl.java:409)
at
org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl$1.map(CompositeKnowledgeBuilderImpl.java:443)
at
org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildResource(CompositeKnowledgeBuilderImpl.java:368)
at
org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildPackageDescr(CompositeKnowledgeBuilderImpl.java:351)
at
org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildPackages(CompositeKnowledgeBuilderImpl.java:100)
at
org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:91)
at
org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:220)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:43)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:208)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:177)
at
org.overlord.rtgov.ep.drools.DroolsEventProcessor.loadRuleBase(DroolsEventProcessor.java:316)
... 31 more
Caused by: java.lang.ClassNotFoundException: Unable to load class
'org.drools.compiler.lang.DRL6Expressions$relationalExpression_scope' because the
bundle wiring for org.drools.compiler is no longer valid.
at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1494)
at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 68 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)