I am using Karaf 4.4.1 and PAX-WEB 8.06.

I can confirm that the servlets disappears.  The problem is that my bundle 
does not stop.

Thank you

  Richard

[email protected] schrieb am Freitag, 29. Juli 2022 um 11:51:31 UTC+2:

> 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
> ─────────────┼───────────┼─────────────────────┼──────────┼─────────────────────────────
> /hawtio      │ 76        │ io.hawt.hawtio-osgi │ Deployed │ 
> http://127.0.0.1:8181/hawtio
>
> karaf@root()> web:servlet-list 
> Bundle ID │ Name          │ Class                                             
>                 │ Context Path(s) │ URLs         │ Type │ Context Filter
> ──────────┼───────────────┼───────────────────────────────────────────────────────────────────┼─────────────────┼──────────────┼──────┼───────────────
> 76        │ default       │ 
> org.ops4j.pax.web.service.jetty.internal.web.JettyResourceServlet │ /hawtio   
>       │ /            │ WAB  │ -
> 76        │ jolokia-agent │ 
> io.hawt.web.servlets.JolokiaConfiguredAgentServlet                │ /hawtio   
>       │ /jolokia/*   │ WAB  │ -
> 76        │ jolokia-proxy │ io.hawt.web.proxy.ProxyServlet                    
>                 │ /hawtio         │ /proxy/*     │ WAB  │ -
> 76        │ keycloak      │ io.hawt.web.auth.keycloak.KeycloakServlet         
>                 │ /hawtio         │ /keycloak/*  │ WAB  │ -
> 76        │ login         │ io.hawt.web.auth.LoginServlet                     
>                 │ /hawtio         │ /auth/login  │ WAB  │ -
> 76        │ logout        │ io.hawt.web.auth.LogoutServlet                    
>                 │ /hawtio         │ /auth/logout │ WAB  │ -
> 76        │ plugin        │ io.hawt.web.plugin.PluginServlet                  
>                 │ /hawtio         │ /plugin/*    │ WAB  │ -
> 76        │ user          │ io.hawt.web.auth.keycloak.KeycloakUserServlet     
>                 │ /hawtio         │ /user/*      │ WAB  │ -
>
> karaf@root()> stop 76
>
> karaf@root()> web:servlet-list
> Bundle ID │ Name │ Class │ Context Path(s) │ URLs │ Type │ Context Filter
> ──────────┼──────┼───────┼─────────────────┼──────┼──────┼───────────────
>
> karaf@root()>
>
>
>
>
>
> rega
> regards
> Grzegorz Grzybek
>
> pt., 29 lip 2022 o 11:42 'Richard Hierlmeier' via OPS4J <
> [email protected]> napisał(a):
>
>>
>> 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       | Context Filter
>>
>> ----------+------------------------+-------------------------------------------------------------------------+-----------------+-----------------------------+------------+--------------------------------------------
>> 76        | default                | 
>> org.ops4j.pax.web.service.jetty.internal.web.JettyResourceServlet       | 
>> /hello          | /                           | WAB        | -
>> 76        | jsp                    | org.ops4j.pax.web.jsp.JspServlet     
>>                                    | /hello          | *.jspx, *.jsp       
>>         | WAB        | -
>>
>> de@root()> stop 76
>>
>> de@root()> web:servlet-list
>> Bundle ID | Name                   | Class                               
>>                                     | Context Path(s) | URLs               
>>          | Type       | Context Filter
>>
>> ----------+------------------------+-------------------------------------------------------------------------+-----------------+-----------------------------+------------+--------------------------------------------
>> 76        | default                | 
>> org.ops4j.pax.web.service.jetty.internal.web.JettyResourceServlet       | 
>> /hello          | /                           | WAB        | -
>> 76        | jsp                    | org.ops4j.pax.web.jsp.JspServlet     
>>                                    | /hello          | *.jspx, *.jsp       
>>         | WAB        | -
>>
>> Is this a bug or a feature?
>>
>> Regards
>>
>>   Richard
>>
>>
>>
>> -- 
>> -- 
>> ------------------
>> OPS4J - http://www.ops4j.org - [email protected]
>>
>> --- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ops4j/77b378f3-9459-4905-ab7d-f56c218fa33bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ops4j/77b378f3-9459-4905-ab7d-f56c218fa33bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/679cf671-fe76-4cc4-8da8-46c9d46f2eafn%40googlegroups.com.

Reply via email to