You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2014/04/13 23:58:14 UTC
[jira] [Commented] (SM-2282) Installation of the eventadmin feature
fails
[ https://issues.apache.org/jira/browse/SM-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967952#comment-13967952 ]
Krzysztof Sobkowiak commented on SM-2282:
-----------------------------------------
The problem occurs when {{war}} feature is installed before {{eventadmin}} (KARAF-312). The problem can be reproduced on Karaf by installing {{war}} feature before {{eventadmin}}.
In the patch for SM-2238 I have replaced {{activemq-broker}} by {{activemq-broker-noweb}} and {{eventadmin}} (referenced by {{activemq-broker}}) is no more part of the boot features.
Problem can be solved by adding {{eventadmin}} to {{featuresBoot}}.
> Installation of the eventadmin feature fails
> --------------------------------------------
>
> Key: SM-2282
> URL: https://issues.apache.org/jira/browse/SM-2282
> Project: ServiceMix
> Issue Type: Bug
> Components: core
> Affects Versions: 5.0.0
> Reporter: Krzysztof Sobkowiak
> Fix For: 5.0.1, 5.1.0, 6.0.0
>
> Attachments: stacktrace.txt
>
>
> Installation of the eventadmin feature ends with the following exception
> {code}
> Caused by: java.lang.ClassNotFoundException: org.osgi.service.event.EventAdmin not found by org.ops4j.pax.web.pax-web-runtime [139]
> at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
> at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
> at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> {code}
> Full stacktrace in attachment
--
This message was sent by Atlassian JIRA
(v6.2#6252)