Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5672

Servlets urls are displayed without the http context path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None

    Description

      Deploying webconsole and hawtio features, we see that the servlets are accessible at /hawtio/auth/login but only /auth/login is displayed.

      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()>                                                                                                                                          
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: