You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/02/03 14:45:27 UTC

[jira] Resolved: (FELIX-2030) Webconsole cannot handle relative paths

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

Felix Meschberger resolved FELIX-2030.
--------------------------------------

    Resolution: Fixed

Committed the fix in Rev. 906041 and unit tests in 906042.

The fix is to consider the actual servlet path together with the container's context path instead of just the container's context path. This is of particular importance if the http bridge is used where the proxy servlet is not registered for "/*" but for something like "/osgi".

> Webconsole cannot handle relative paths
> ---------------------------------------
>
>                 Key: FELIX-2030
>                 URL: https://issues.apache.org/jira/browse/FELIX-2030
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>         Environment: Tomcat 5.5 with Apache Felix 2.0.4
>            Reporter: J.W. Janssen
>            Assignee: Felix Meschberger
>             Fix For: http-2.0.6
>
>
> Similar as FELIX-2000; when embedding Felix inside a Tomcat WAR which also registers Felix's HttpProxy on a relative path the webconsole does not work correctly anymore. All (generated) links don't take the relative path of the servlet into account. For example, when mounting the HttpProxy on /foo (which should cause the systemconsole to be accessed through "/foo/system/console") the Webconsole creates links like "/system/console/bundles" and such.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.