karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-678) Static resources do not load WAB is deployed as exploded bundle with Web-ContextPath: /
Date Wed, 09 Apr 2014 13:54:14 GMT

    [ https://issues.apache.org/jira/browse/KARAF-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964159#comment-13964159
] 

Achim Nierbeck commented on KARAF-678:
--------------------------------------

This will only be possible with Pax Web 4.0 since the root context is disguised by the WelcomeFiles
filter see PAXWEB-123 for details.

> Static resources do not load WAB is deployed as exploded bundle with Web-ContextPath:
/
> ---------------------------------------------------------------------------------------
>
>                 Key: KARAF-678
>                 URL: https://issues.apache.org/jira/browse/KARAF-678
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-webcontainer
>    Affects Versions: 2.2.1
>         Environment: Ubuntu 11.04, Sun JDK 1.6
>            Reporter: Raj Saini
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> When an exploded WAB is deployed as root context, static resources such as HTML, JS,
CSS do not load.
> How to reproduce:
> 1. Create a simple WAB with   Web-ContextPath: /
> 2. Deploy the bundle in deploy folder as exploded bundle.
> 3. Access the static resources, Jetty give 404.
> 4. Change the Web-ContextPath header to some thing else.
> 5. Access the static resources and they are available.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message