>>>>> Steinar Bang <[email protected]>: > The feature installation fails with an error message: > karaf@root()> feature:install ukelonn-db-postgresql > Error executing command: Unable to resolve root: missing requirement [root] > osgi.identity; osgi.identity=ukelonn-db-postgresql; type=karaf.feature; > version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; > filter:="(&(osgi.identity=ukelonn-db-postgresql)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=1.0.0.SNAPSHOT))" > [caused by: Unable to resolve ukelonn-db-postgresql/1.0.0.SNAPSHOT: missing > requirement [ukelonn-db-postgresql/1.0.0.SNAPSHOT] osgi.identity; > osgi.identity=no.priv.bang.ukelonn.postgresql.db; type=osgi.bundle; > version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: > Unable to resolve no.priv.bang.ukelonn.postgresql.db/1.0.0.SNAPSHOT: missing > requirement [no.priv.bang.ukelonn.postgresql.db/1.0.0.SNAPSHOT] osgi.ee; > filter:="(&(osgi.ee=JavaSE)(version=1.8))"]]
Searching the error message gives me https://issues.apache.org/jira/browse/KARAF-3520 and https://issues.apache.org/jira/browse/KARAF-4730 KARAF-3520 is a case where a feature installs from the console, but when using the feature service (whatever that is...?). Is ssh'ing in to karaf the same as starting karaf from the command line, and using the console that opens when karaf is startet? Or is ssh'ing in to karaf the same as using the mentioned feature service...? KARAF-4730 is a case where a feature worked on karaf 4.0.5, but not on 4.0.6. In my case I have karaf 4.0.7 both on the old VM (where it works) and on the new VM (where it doesn't work).
