Hi Petri,
is your KAR follow the following structure:
- the kar file should contain a repository folder
- the repository contains a Maven structure
(groupId/artifactId/version/artifactId-version.jar)
- this repository folder is packaged as a zip file
Did you try to remove the local-repository folder in KARAF_HOME (it will
force the deployment of the kar file) ?
My advice is to test:
- stop Karaf
- remove the local-repository folder
- start Karaf
- drop your KAR in the deploy folder
Do you have something special in the log file ?
Could you share your kar file ?
Thanks,
Regards
JB
On 12/20/2012 11:02 AM, PJR69 wrote:
Hi again,
Ok, my final discovery with Karaf 2.3.0 is that:
1. When I drop my KAR-file into Windows-Karaf -> It gets installed and
starts running fine.
2. When I drop the SAME KAR-file into Linux-karaf -> It doesn't find any
bundles from the included repository inside the KAR-file. I see my feature with
features-list, but when I try to install it, it spits out an error not being able
to resolve the first mvn:-dependency in the features.xml and stops there.
Any ideas what might be the difference between the Windows vs Linux
environments with respect of not being able to
For example, I have joda-time/joda-time-2.0.jar inside the KAR-file -> This
gets deployed and activated fine on Windows, but not on Linux. This is the first
dependency where the installation stops. If I drop joda-time-2.0.jar by itself to
the deploy-folder, it gets picked up and activated just fine.
- Petri
From: PJR69 [via Karaf] [mailto:[email protected]]
Sent: 19. joulukuuta 2012 12:09
To: Riipinen Petri
Subject: Re: Difference in KAR-deployment between Windows and Linux
Actually, for what it's worth, there maybe something deeper problem here:
I'm using the google guava-osgi 10.0.1 library -> When I drop this file into
windows-karaf deploy folder, it gets started ok and it has no external
dependencies.
However, when I drop this into the deploy folder of the linux-karaf setup -> It
just gets installed and doesn't move to Active-state. I try to start it manually
but it just remain sin Installed-state.
Hmm.... I have Sun JDK 1.7 installed on the Linux-machine and nothing else,
could this maybe be the problem?
I'm guessing that the problem causing this (guave-osgi not being Activated) is
the one that's causing the feature not being installed and bundles activate
automatically?
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Difference-in-KAR-deployment-between-Windows-and-Linux-tp4027093p4027094.html
To start a new topic under Karaf - User, email
[email protected]<mailto:[email protected]>
To unsubscribe from Karaf - User, click
here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
________________________________
Insta lahjoittaa t?n? vuonna joulukortti- ja lahjavarat sotaveteraanien
hyv?ksi. Rauhallista Joulua ja Onnellista Uutta Vuotta 2013!
____________________________________________________________________________________________
Instead of sending Christmas Cards and gifts, Insta has made a contribution to
veterans' recreational activities. Best wishes for a peaceful Christmas and a
Happy New Year 2013!
--
View this message in context:
http://karaf.922171.n3.nabble.com/Difference-in-KAR-deployment-between-Windows-and-Linux-tp4027093p4027108.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