You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2010/09/09 05:15:32 UTC
[jira] Created: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
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
Fix For: 3.0
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.
[jira] Commented: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912905#action_12912905 ]
viola.lu commented on GERONIMO-5588:
------------------------------------
Hi, Jarek:
shall we support WAB deployment via admin console or deployer tool? Or keep the current way: deploy bundle in karaf command, deploy EAB and JavaEE application via deployer tool? If the former, i will close this jira, open another one.
> 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.
[jira] Commented: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913100#action_12913100 ]
Jarek Gawor commented on GERONIMO-5588:
---------------------------------------
I'm not really sure. Can you start a thread about this topic on the dev list?
> 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.
[jira] Assigned: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu reassigned GERONIMO-5588:
----------------------------------
Assignee: viola.lu
> 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.
[jira] Closed: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu closed GERONIMO-5588.
------------------------------
Resolution: Invalid
Close it. WAB should be deployed via osgi:install currenlty. Invalid case.
> 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.
[jira] Updated: (GERONIMO-5588) Web-ContextPath is not set as Web
Application Bundle context-root if it's defined
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu updated GERONIMO-5588:
-------------------------------
Attachment: hello.zip
hello_withID.zip
Sample files: the first one is web application bundle without web-app id attribute set, the second one is with id attribute set.
> 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
> 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.