You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/01/27 01:00:44 UTC
[jira] [Updated] (SM-2316) Problems when reinstalling the drools
examples
[ https://issues.apache.org/jira/browse/SM-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krzysztof Sobkowiak updated SM-2316:
------------------------------------
Fix Version/s: 6.0.0.M1
> Problems when reinstalling the drools examples
> ----------------------------------------------
>
> Key: SM-2316
> URL: https://issues.apache.org/jira/browse/SM-2316
> Project: ServiceMix
> Issue Type: Task
> Components: examples
> Affects Versions: 5.0.1, 5.0.2, 5.1.0, 6.0.0
> Reporter: Krzysztof Sobkowiak
> Assignee: Gert Vanthienen
> Fix For: 5.0.2, 5.1.0, 6.0.0.M1, 6.0.0
>
> Attachments: log.txt
>
>
> When one of the drools samples is uninstalled and next installed again following error appears in log
> {code}
> java.lang.IllegalStateException: Bundle is uninstalled
> at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1693)
> at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:926)
> at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[114:org.springframework.osgi.core:1.2.1]
> at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[114:org.springframework.osgi.core:1.2.1]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_55]
> at java.lang.Class.forName0(Native Method)[:1.7.0_55]
> at java.lang.Class.forName(Class.java:270)[:1.7.0_55]
> {code}
> Refreshing the drools bundle solves the problem. The problem soes not happen in {{5.0.0}} where the drools bundle was part of the drools example feature. Extracting the drools bundle in a separate feature caused the problem. It seems that the drools bundle must be installed together with routes or must be refreshed after the routes are installed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)