Hi,

I'm trying to install a .kar file in a Karaf instance running on a machine
without internet access, using this command:

kar:install file:kar-repo/test.kar

The command executes without errors and when I call kar:list, I see test.kar
in the list. Also, the feature repository contained in the .kar file is
shown when I call feature:repo-list

So far so good... but according to the documentation, kar:install should
have installed all features contained in the .kar file, but this is not the
case. Documentation states
(https://karaf.apache.org/manual/latest/users-guide/kar.html):

"...
The KAR file is uncompressed and populated the KARAF_BASE/system folder.

The Apache Karaf KAR service is looking for features XML files in the KAR
file, registers the features XML and automatically installs all features
described in the features repositories present in the KAR file."


I tried to manually install the features with feature:install, but Karaf
complains about not finding the artifacts in the system repository. And this
is true, the system folder was *not* populated with the .kar content.
Instead, the .kar was unzipped into KARAF_BASE/data/kar/<NAME-OF-KAR>

How do I get the features installed...?

Environment:
Operating system: 64bit Linux
Karaf version: 4.0.2
Java version: 1.8.0_66

Regards,

Kai




--
View this message in context: 
http://karaf.922171.n3.nabble.com/kar-install-doesn-t-work-as-documented-tp4044108.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to