You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Doug <it...@gmail.com> on 2016/05/06 22:48:37 UTC

Buddy Classloading Support

I just wanted to verify that setting Eclipse-BuddyPolicy to 'global' in the
manifest works correctly in Karaf. I'm working on a project that uses this
in a number of places (even though from what I understand, it's
discouraged). The service is running as expected in an equinox container,
but giving me issues in a Karaf container.

Thanks!



--
View this message in context: http://karaf.922171.n3.nabble.com/Buddy-Classloading-Support-tp4046534.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Buddy Classloading Support

Posted by Doug <it...@gmail.com>.
I've determined that the issue isn't related to Karaf because I've
successfully used buddy classloading in a different project I'm working on.
Thanks for the responses!



--
View this message in context: http://karaf.922171.n3.nabble.com/Buddy-Classloading-Support-tp4046534p4046582.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Buddy Classloading Support

Posted by Achim Nierbeck <bc...@googlemail.com>.
No that should be sufficient,
any other bundle you might be using to have buddyPolicy enabled?
Like an extender bundle?
Or do you need an extra flag to enable this?
I never used Buddy-Classloading before (actually just heard of it with this
thread)


regards, Achim


2016-05-09 18:30 GMT+02:00 Doug <it...@gmail.com>:

> In config.properties I had set /karaf.framework=equinox/ and
>
> /karaf.framework.equinox=mvn\:org.eclipse.birt.runtime/org.eclipse.osgi/3.10.2.v20150203-1939/.
>
> Is there something else I'm missing? Also, I'm using karaf 4.0.5.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Buddy-Classloading-Support-tp4046534p4046553.html
> Sent from the Karaf - User mailing list archive at Nabble.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/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Buddy Classloading Support

Posted by Doug <it...@gmail.com>.
In config.properties I had set /karaf.framework=equinox/ and
/karaf.framework.equinox=mvn\:org.eclipse.birt.runtime/org.eclipse.osgi/3.10.2.v20150203-1939/.

Is there something else I'm missing? Also, I'm using karaf 4.0.5.



--
View this message in context: http://karaf.922171.n3.nabble.com/Buddy-Classloading-Support-tp4046534p4046553.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Buddy Classloading Support

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,

did you use Karaf with the equinox framework? Per default Karaf uses Apache
Felix as framework.

regards, Achim


2016-05-07 0:48 GMT+02:00 Doug <it...@gmail.com>:

> I just wanted to verify that setting Eclipse-BuddyPolicy to 'global' in the
> manifest works correctly in Karaf. I'm working on a project that uses this
> in a number of places (even though from what I understand, it's
> discouraged). The service is running as expected in an equinox container,
> but giving me issues in a Karaf container.
>
> Thanks!
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Buddy-Classloading-Support-tp4046534.html
> Sent from the Karaf - User mailing list archive at Nabble.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/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master