I checked with karaf 4.4.1-SNAPSHOT and pax-web 8.0.4 and I got:
karaf@root()> install -s mvn:io.hawt/hawtio-osgi/2.15.0/war
Bundle ID: 76
karaf@root()> web:wab-list
Context Path │ Bundle ID │ Symbolic Name │ State│ Base URL
Hello
This looks like a bug. When WAB is stopped, pax-web-extender-war should
unregister everything from this WAB (web elements and contexts).
What is this WAB you're using?
What version of Karaf / Pax Web do you use?
regards
Grzegorz Grzybek
pt., 29 lip 2022 o 11:42 'Richard Hierlmeier' via
After stopping a WAB bundle the web:servlet-list command still displays the
servlet of this bundle:
de@root()> web:servlet-list
Bundle ID | Name | Class
| Context Path(s) | URLs
| Type