Hi Kris,

If you really want to use a file URL, you should use an absolute path (file:c:\\... for instance).

However, my advice is more to use a Maven URL (mvn:groupId/artifactId/...) and populate the Kar file with the artifact (it's the purpose of the Kar artifact).

Regards
JB

On 04/23/2012 10:52 AM, kmoens wrote:
Thanks JB,

I fixed my KAR file having the correct Maven like structure and now it is
getting deployed.
I had to fix my features file as well. The KarArtifactInstaller froze
because of an accidental blank line at the top of the features.xml.

I have another question related.
In my features file I want to use the file: handler so I can point to a
location on my file system that has multiple bundles.

The documentation states:
<bundle>file:base/bundles/spring-web-2.5.6.SEC01.jar</bundle>

 From the above example where should this jar be located on my windows file
system?
Is it something like c:\base\bundles\spring-web-2.5.6.SEC01.jar or
[KARAF_HOME]\bundles\... ???

I have tried a few times to match my extracted bundles to a file location in
the features file but always get: Unable to install Kar feature mykar/1.0.0
followed by java.io.FileNotFoundException:
com\mycomp\bundles\reports\mybundle-1.0.0.jar (The system cannot find the
path specified)

Thanks in advance,

Kris



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Kar-file-deploy-issue-tp3922678p3931864.html
Sent from the Karaf - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to