Hi Marcus,

if those "embedded" libs are embedded inside your bundle, this isn't an
issue.
If you have the as external bundles, make sure you wrap those either,
before deployment by shading those  (as servicemix does it)
Or by changing the maven coordinate slightly by adding the wrap:
url-handler before that.

regards, Achim

2014-10-07 14:17 GMT+02:00 Marcus Bond <[email protected]>:

> Hi, yes that would be great.
>
> I'm worried now though that we have other OSGi bundles of our own that
> have embedded dependency libs that are not OSGi bundles and therefore will
> also require "wrap", is this going to be a problem with startup?
>
> Regards,
> Marcus.
>
> On Tue, Oct 7, 2014 at 12:57 PM, Jean-Baptiste Onofré <[email protected]>
> wrote:
>
>> Hi,
>>
>> it's due to the fact that jandex is not an OSGi bundle, that's why it's
>> prefixed with wrap.
>>
>> I guess that you don't need jandex in the startup.properties (but more as
>> a featuresBoot). You can tweak the install-kar goal.
>>
>> Do you want some help around that ?
>>
>> Regards
>> JB
>>
>>
>> On 10/07/2014 12:46 PM, Marcus Bond wrote:
>>
>>> I am receiving the following error but the system folder includes the
>>> jandex1.1.0.Final jar file
>>>
>>> Is there a way to get around this bug?
>>>
>>> SEVERE: Could not launch framework
>>> java.lang.RuntimeException: Error installing bundle listed in
>>> startup.properties with url: wrap:mvn:org.jboss/jandex/1.1.0.Final and
>>> startlevel: 30
>>> at org.apache.karaf.main.Main.installAndStartBundles(Main.java:390)
>>> at org.apache.karaf.main.Main.launch(Main.java:250)
>>> at org.apache.karaf.main.Main.main(Main.java:171)
>>> Caused by: java.lang.RuntimeException: Could not resolve
>>> wrap:mvn:org.jboss/jandex/1.1.0.Final
>>> at
>>> org.apache.karaf.main.util.SimpleMavenResolver.resolve(
>>> SimpleMavenResolver.java:59)
>>> at org.apache.karaf.main.Main.installAndStartBundles(Main.java:383)
>>> ... 2 more
>>>
>>>
>>> Regards,
>>> Marcus.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [email protected]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to