You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2018/03/20 16:17:00 UTC

[jira] [Resolved] (KARAF-5672) Servlets urls are displayed without the http context path

     [ https://issues.apache.org/jira/browse/KARAF-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-5672.
------------------------------------
    Resolution: Fixed

> Servlets urls are displayed without the http context path
> ---------------------------------------------------------
>
>                 Key: KARAF-5672
>                 URL: https://issues.apache.org/jira/browse/KARAF-5672
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Deploying {{webconsole}} and {{hawtio}} features, we see that the servlets are accessible at {{/hawtio/auth/login}} but only {{/auth/login}} is displayed.
> {code}
> karaf@root()> http:list 
> ID  │ Servlet           │ Servlet-Name             │ State       │ Alias               │ Url
> ────┼───────────────────┼──────────────────────────┼─────────────┼─────────────────────┼─────────────────────────────────────────────────────────────
> 111 │                   │ keycloak                 │ Deployed    │                     │ [/keycloak/*]
> 111 │ JspServletWrapper │ jsp                      │ Deployed    │                     │ [*.jsp, *.jspx, *.jspf, *.xsp, *.JSP, *.JSPX, *.JSPF, *.XSP]
> 111 │                   │ jolokia-proxy            │ Deployed    │                     │ [/proxy/*]
> 67  │ ResourceServlet   │ /system/console/res:/res │ Deployed    │ /system/console/res │ [/system/console/res/*]
> 111 │                   │ login                    │ Deployed    │                     │ [/auth/login]
> 111 │                   │ jolokia-agent            │ Deployed    │                     │ [/jolokia/*]
> 111 │                   │ contextFormatter         │ Deployed    │                     │ [/contextFormatter/*]
> 67  │ KarafOsgiManager  │ ServletModel-19          │ Deployed    │ /system/console     │ [/system/console/*]
> 111 │ ResourceServlet   │ default                  │ Deployed    │ /                   │ [/]
> 111 │                   │ maven-source             │ Deployed    │                     │ [/javadoc/*]
> 111 │                   │ logout                   │ Deployed    │                     │ [/auth/logout]
> 67  │ KarafOsgiManager  │ ServletModel-7           │ Undeployed  │ /system/console     │ [/system/console/*]
> 111 │                   │ plugin                   │ Deployed    │                     │ [/plugin/*]
> 111 │                   │ exportContext            │ Deployed    │                     │ [/exportContext/*]
> 111 │                   │ user                     │ Deployed    │                     │ [/user/*]
> karaf@root()> war:list                                                                                                                                 
> Command not found: war:list
> karaf@root()> web:list
> ID  │ State       │ Web-State   │ Level │ Web-ContextPath │ Name
> ────┼─────────────┼─────────────┼───────┼─────────────────┼───────────────────────────────────────
> 111 │ Active      │ Deployed    │ 80    │ /hawtio         │ hawtio :: Web Console (2.0.0.SNAPSHOT)
> karaf@root()>                                                                                                                                          
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)