Hello I've created https://github.com/ops4j/org.ops4j.pax.web/issues/1717 issue to investigate this problem.
Pax Web 8 has (it had to) changed completely the context management to be compliant with OSGi CMPN Whiteboard Service. There are lot of conflict resolution aspects - especially when you mix servlets (and generally web elements) "coming from" HttpService, Whiteboard and WABs. Let me check it this week - please monitor https://github.com/ops4j/org.ops4j.pax.web/issues/1717 regards Grzegorz Grzybek sob., 14 maj 2022 o 08:31 Jakub Herkel <jher...@gmail.com> napisał(a): > Hi, > > I tried to migrate our application to karaf 4.4.0. Unfortunately I found > out that I couldn't access to application via browser. Our app has a lot of > osgi bundles and one big WAR with angular app (web context path is "/"). > It works fine with karaf 4.3.6. But with karaf 4.4.0 when I tried to access > web I received 404. > > Here are some of outputs from web command : > karaf@root()> web:context-list > Bundle ID │ Symbolic Name │ Context Path │ Context > Name │ Rank │ Service ID │ Type │ Scope │ Registration Properties > > ──────────┼───────────────────────────────────────┼──────────────┼──────────────┼──────┼────────────┼─────────────┼─────────┼───────────────────────────────────────────────── > 202 │ org.apache.cxf.cxf-rt-transports-http │ / │ default > │ MAX │ 0 │ HttpService │ static* │ httpContext.id=default > │ │ │ > │ │ │ │ │ httpContext.path=/ > │ │ │ > │ │ │ │ │ > osgi.http.whiteboard.context.httpservice=default > │ │ │ > │ │ │ │ │ > osgi.http.whiteboard.context.path=/ > 326 │ tech.pantheon.chronos.web │ / │ / > │ MAX │ 0 │ WAB │ static* │ > osgi.http.whiteboard.context.path=/ > > karaf@root()> web:servlet-list > Bundle ID │ Name │ Class > │ Context Path(s) │ URLs │ Type > │ Context Filter > > ──────────┼────────────────────────────┼───────────────────────────────────────────────────────────────────┼─────────────────┼───────────────┼─────────────┼─────────────── > 202 │ cxf-osgi-transport-servlet │ > org.apache.cxf.transport.servlet.CXFNonSpringServlet │ / > │ /cxf/* │ HttpService │ - > 326 │ default │ > org.ops4j.pax.web.service.jetty.internal.web.JettyResourceServlet │ / > │ / │ WAB │ - > 326 │ jsp │ org.ops4j.pax.web.jsp.JspServlet > │ / │ *.jspx, *.jsp │ WAB > │ - > > karaf@root()> web:wab-info 326 > > Chronos :: Web project (326) > ---------------------------- > Context Path: / > Deployment State: Deployed > WAB ClassPath: > - bundle://11e5e938-27e2-46c1-ad0d-76992b218d96_326.0:0/WEB-INF/classes/ > ServletContainerInitializers: > - org.ops4j.pax.web.jsp.JasperInitializer > Container web fragments (reachable bundles without > /META-INF/web-fragment.xml): > - (102) org.ops4j.pax.web.pax-web-jsp/8.0.2 > > Could someone help me find out what is wrong? > > Jakub > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - ops4j@googlegroups.com > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ops4j+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ops4j/dd40e36b-7596-4b03-a391-16390b0d5f32n%40googlegroups.com > <https://groups.google.com/d/msgid/ops4j/dd40e36b-7596-4b03-a391-16390b0d5f32n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/CAAdXmhotXP7-Ro7aUinwEzF28f7gcCVAip4uSfcLtEBYD-2qQA%40mail.gmail.com.