We have an application deployed in Servicemix 5.4.0 (http://servicemix.apache.org/downloads/servicemix-5.4.0.html) and recently tried upgrading to Servicemix 6.1.2 (http://servicemix.apache.org/downloads/servicemix-6.1.2.html). One thing we rely on is the Felix Dependency Manager and in particular the 'dm wtf' command (see http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager/tutorials/leveraging-the-shell.html ) . However after tried our code with the later Servicemix we get this :-
karaf@root>dm wtf
Error executing command: Cannot coerce dm(String) to any of [(CommandSession, boolean, String, boolean, boolean, boolean, String, String, String, String)]
The versions concerned (when we run list) are :-
76 | Active | 80 | 1.0.10 | Apache Felix MetatypeService
77 | Active | 80 | 3.2.0 | Apache Felix Dependency Manager
78 | Active | 80 | 3.2.0 | Apache Felix Dependency Manager Shell
Has anyone tried to get Felix working with Servicemix 6.1.2? Does anyone have any ideas on what we could try to get this command (or equivalent) to work? Apparently Apache Felix that was downgraded from 4.4.1 to 4.2.1 but Karaf was upgraded from 2.4.1 to 3.0.7 so not sure if we needed to modify our feature config :-
<feature name="example-feature" version="X.X.X">
<bundle>mvn:org.apache.felix/org.apache.felix.metatype/1.0.10</bundle>
<bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/3.2.0</bundle>
<bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager.shell/3.2.0</bundle>
</feature>