Re: Http Whiteboard - Pax-Web multiple instances

2020-02-03 Thread Jean-Baptiste Onofré
As reminder, here's another blog: http://blog.nanthrax.net/?p=352 Regards JB On 04/02/2020 08:33, Achim Nierbeck wrote: > Hi, > > This is the source: >

Re: Http Whiteboard - Pax-Web multiple instances

2020-02-03 Thread Achim Nierbeck
Hi, This is the source: https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/whiteboard-extended/src/main/java/org/ops4j/pax/web/extender/samples/whiteboard/internal/Activator.java and here is the very very old blog about it, I wrote after implementing it :-)

Re: Karaf 4.2.8: is there a way to find out if two bundles offer up the same versions of packages?

2020-02-03 Thread Jean-Baptiste Onofré
Hi, packages:exports|grep -i package You will have the package with version and the ID of bundles providing it. About your issue, are you using felix or equinox framework and what JDK version ? Regards JB On 03/02/2020 23:27, Steinar Bang wrote: > Is there a way to find out if two bundles

Karaf 4.2.8: is there a way to find out if two bundles offer up the same versions of packages?

2020-02-03 Thread Steinar Bang
Is there a way to find out if two bundles offer up the same versions of packages in karaf 4.2.8? I have some applications that use jersey for the REST API. I use the web whiteboard, so that the jersey servlet is started as a DS component. I use a setup where I add OSGi services injected into

Re: Http Whiteboard - Pax-Web multiple instances

2020-02-03 Thread Markus Rathgeb
Hm, I checkout the master branch of Pax Web and grepped the samples grep -ri Web-VirtualHosts samples No hits. Can you point me to the sample that is using Web-VirtualHosts? Achim: FYI it seems the link in your signature "http://wiki.ops4j.org/display/paxweb/Pax+Web/; does not exist anymore.

Re: Does Cave work correctly with snapshots?

2020-02-03 Thread yuri
I've debugged a little and found out that "org.eclipse.aether.internal.impl.SimpleLocalRepositoryManager.getPathForArtifact( Artifact artifact, boolean local )" builds a path to the destination file in the local maven repo like this (i've commented my values here): StringBuilder path =

Re: Http Whiteboard - Pax-Web multiple instances

2020-02-03 Thread Achim Nierbeck
Hi, the functionality should be working, as the samples provided by the pax-web project are also used for the integration tests, which do work ... at least the last time I tested :D for details about how it works, please take a look at the pax-web project :) regards, Achim Am Fr., 31. Jan.

Re: Karaf 4.2.7 and PaxLogging/Knopflerfish

2020-02-03 Thread Markus Rathgeb
Hi, shouldn't this be solved with Karaf 4.2.8? Becuase of https://issues.apache.org/jira/projects/KARAF/issues/KARAF-6462?filter=allissues I removed org.knopflerfish.kf6 log-API from my pom files after updating from 4.2.7 to 4.2.8. Today I need to build a release. I tried to