geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5588) Web-ContextPath is not set as Web Application Bundle context-root if it's defined
Date Tue, 21 Sep 2010 05:55:33 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912848#action_12912848
] 

Jarek Gawor commented on GERONIMO-5588:
---------------------------------------

How are you deploying these samples? If you are deploying it via the admin console or the
deployer tool, the sample will be treated and deployed as a regular web application. That
is, the context root will be pulled from geronimo-web.xml if included or automatically generated
from the id. The Web-ContextPath header will be totally ignored.
If you deploy the same via the Geronimo shell using osgi:install command, the sample should
be deployed as web application bundle (WAB) and in this case the Web-ContextPath manifest
header will be used.

I think the problem here is that right now we cannot deploy a WAB via the admin console or
the deployer tool. Right now a WAB can be deployed via the admin console or the deployer tool
only if it is included in an EBA file.




> Web-ContextPath is not set as Web Application Bundle context-root if it's defined
> ---------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5588
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5588
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0
>         Environment: OS: winxp
> JDk: 1.6.0_21
> Build:2010.09.08-11:46:48.734+0800
>            Reporter: viola.lu
>            Assignee: viola.lu
>             Fix For: 3.0
>
>         Attachments: hello.zip, hello_withID.zip
>
>
> 1. Create a hello web application bundle, define its web-contextpath : /hello package
it as a zip file
> 2.Deploy it, but its context root doesn't keep consistent with web-contextpath definition
> 3.If i define its id in web.xml like: <web-app id="Blog">, its context root is
set as /Blog, not /hello, 
> Based on that, currenlty web application bundle context root is set by id attribute in
web-app, not web-contextpath in manifest file.This doens't meet RFC066 spec.

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


Mime
View raw message