Can you try to create a configuration for "org.apache.aries.jax.rs.whiteboard.default" (e.g. by a file in etc called "org.apache.aries.jax.rs.whiteboard.default.cfg"):
default.web=false default.application.base=/jax-rs-whiteboard-default replace.loopback.address.with.localhost=false this disabled the default JAX-RS Whiteboard page. It also change the default application path so it does not collide with another one. Am Di., 10. März 2020 um 20:04 Uhr schrieb Maurice Betzel <m.bet...@gaston-schul.com>: > > Hi all, > > I am experimenting with Karaf 4.3.0.RC1, Felix-http and Aries JAXRS to get > Angular up and running. The JAXRS backend bundle is a recent Christian > Schneider github example, the frontend bundle a Angular 9 hello world > packaged with bnd @HttpWhiteboardResource having the Angular static content > is in the root of the jar. > Both get bound to the default http context, having the ReST api endpoint on > /api/rest/hero and the static content accessible on /heroes/*. > Each bundle separate does what it’s supposed to do, if I start both I get > 404 on the Angular. If I stop the Aries JAXRS whiteboard bundle I can access > the static content again. The other way around and both work producing data > in the frontend. > Any ideas? Should I use separate http contexts? Equinox examples I studied > equal my code, and the fast amount of configuration in the OSGi ref makes my > head spin. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html