You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/12/20 06:04:00 UTC
[jira] [Updated] (KARAF-7626) Websocket example references the command http:list instead of web:servlet-list
[ https://issues.apache.org/jira/browse/KARAF-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-7626:
----------------------------------------
Target Version/s: 4.4.3
> Websocket example references the command http:list instead of web:servlet-list
> ------------------------------------------------------------------------------
>
> Key: KARAF-7626
> URL: https://issues.apache.org/jira/browse/KARAF-7626
> Project: Karaf
> Issue Type: Documentation
> Components: karaf
> Affects Versions: 4.4.1, 4.4.2
> Reporter: Paul Spencer
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
>
> The Websocket example README.md references the command "http:list' which has been replaced by "web:serverlet-list
> Below is the from the readme [https://github.com/apache/karaf/blob/karaf-4.4.2/examples/karaf-websocket-example/README.md]
> {noformat}
> You can see the websocket registered in the HTTP service:
> karaf@root()> http:list
> ID │ Servlet │ Servlet-Name │ State │ Alias │ Url
> ───┼─────────────────────────┼────────────────┼─────────────┼────────────────────┼───────────────────────
> 92 │ WebsocketExampleServlet │ ServletModel-2 │ Deployed │ /example-websocket │ [/example-websocket/*]
> {noformat}
> Below is output form the web:servlet-list command
> {noformat}
> karaf@root()> web:servlet-list
> Bundle ID │ Name │ Class │ Context Path(s) │ URLs │ Type │ Context Filter
> ──────────┼─────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────┼─────────────────┼──────────────────────┼─────────────┼───────────────
> 88 │ org.apache.karaf.examples.websocket.WebsocketExampleServlet │ org.apache.karaf.examples.websocket.WebsocketExampleServlet │ / │ /example-websocket/* │ HttpService │ -
> karaf@root()>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)