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/08 09:44:33 UTC
[jira] Created: (GERONIMO-5583) Same Web Context-Paths in two EBA
don't conflict after deployment
Same Web Context-Paths in two EBA don't conflict after deployment
-----------------------------------------------------------------
Key: GERONIMO-5583
URL: https://issues.apache.org/jira/browse/GERONIMO-5583
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Aries
Affects Versions: 3.0
Environment: OS:winXP
JDK: 1.6.0_21
Reporter: viola.lu
Priority: Minor
Fix For: 3.0
1.Build Aries sample, deploy its blog sample EBA: blog-jdbc-eba, and blog-jpa-eba to server,
2.Both ebas contains the sample web.jar file, same Web-ContextPath: /blog, but no conflict error, and i can access the app via http://localhost:8080/blog/.
Not sure which one is called. There should web-contextpath check, if one already exists, should report errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5583) Same Web Context-Paths in two EBA
don't conflict after deployment
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908611#action_12908611 ]
viola.lu commented on GERONIMO-5583:
------------------------------------
1. i deployed the blog-jdbc-eba, it's reported that
2010-09-13 12:37:45,734 INFO [WebApplication] Deployed WAB org.apache.aries.samples.blog.web_0.2.0.incubating-SNAPSHOT [322] at /blog
2. i deployed blog-jdbc-eba, but no log indicating that: there is web context path collision.
2010-09-13 12:38:20,625 WARN [Parameters] Parameters: Invalid chunk '' ignored.
2010-09-13 12:38:20,625 INFO [RedirectByHashFilter] Hash value for page:/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113|0/__pmplugin0x2Deployment!-2135677113|0_view/__wsplugin0x2Deployment!-2135677113|0_normal is:-5432497214227224707
2010-09-13 12:38:20,625 INFO [RedirectByHashFilter] no redirect for:http://localhost:8080/console/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113%7C0/__pmplugin0x2Deployment!-2135677113%7C0_view/__wsplugin0x2Deployment!-2135677113%7C0_normal
3. i can access http://localhost:8008/blog
4. I undeployed the first blog-jdbc-eba, and i access http://localhost:8080/blog, but failed which should be redirected to the second jpa-eba application, from log below, seems it undeployed the both application.
2010-09-13 12:41:30,156 INFO [WebApplication] Undeploying WAB org.apache.aries.samples.blog.web_0.2.0.incubating-SNAPSHOT [322] at /blog
2010-09-13 12:41:30,187 INFO [WebApplication] Undeployed WAB org.apache.aries.samples.blog.web_0.2.0.incubating-SNAPSHOT [322] at /blog
> Same Web Context-Paths in two EBA don't conflict after deployment
> -----------------------------------------------------------------
>
> Key: GERONIMO-5583
> URL: https://issues.apache.org/jira/browse/GERONIMO-5583
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Aries
> Affects Versions: 3.0
> Environment: OS:winXP
> JDK: 1.6.0_21
> Reporter: viola.lu
> Priority: Minor
> Fix For: 3.0
>
>
> 1.Build Aries sample, deploy its blog sample EBA: blog-jdbc-eba, and blog-jpa-eba to server,
> 2.Both ebas contains the sample web.jar file, same Web-ContextPath: /blog, but no conflict error, and i can access the app via http://localhost:8080/blog/.
> Not sure which one is called. There should web-contextpath check, if one already exists, should report errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5583) Same Web Context-Paths in two EBA
don't conflict after deployment
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu updated GERONIMO-5583:
-------------------------------
Attachment: osgi.zip
hello_withID.zip
I created two wba with same web context path, but tomcat container will report an error if context root is not unique:
2010-09-13 12:50:46,546 ERROR [TomcatContainer] Unable to add the child container: /Blog . Please check if your project's context-root is unique.
WBA and EBA are shown in different way?
> Same Web Context-Paths in two EBA don't conflict after deployment
> -----------------------------------------------------------------
>
> Key: GERONIMO-5583
> URL: https://issues.apache.org/jira/browse/GERONIMO-5583
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Aries
> Affects Versions: 3.0
> Environment: OS:winXP
> JDK: 1.6.0_21
> Reporter: viola.lu
> Priority: Minor
> Fix For: 3.0
>
> Attachments: hello_withID.zip, osgi.zip
>
>
> 1.Build Aries sample, deploy its blog sample EBA: blog-jdbc-eba, and blog-jpa-eba to server,
> 2.Both ebas contains the sample web.jar file, same Web-ContextPath: /blog, but no conflict error, and i can access the app via http://localhost:8080/blog/.
> Not sure which one is called. There should web-contextpath check, if one already exists, should report errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-5583) Same Web Context-Paths in two EBA
don't conflict after deployment
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-5583.
-----------------------------------
Resolution: Invalid
This is working as described in the specification. There should be a warning message logged about the web context path collision. The colliding bundle is queued and will be deployed once the bundle that's currently deployed with the given context path is undeployed.
> Same Web Context-Paths in two EBA don't conflict after deployment
> -----------------------------------------------------------------
>
> Key: GERONIMO-5583
> URL: https://issues.apache.org/jira/browse/GERONIMO-5583
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Aries
> Affects Versions: 3.0
> Environment: OS:winXP
> JDK: 1.6.0_21
> Reporter: viola.lu
> Priority: Minor
> Fix For: 3.0
>
>
> 1.Build Aries sample, deploy its blog sample EBA: blog-jdbc-eba, and blog-jpa-eba to server,
> 2.Both ebas contains the sample web.jar file, same Web-ContextPath: /blog, but no conflict error, and i can access the app via http://localhost:8080/blog/.
> Not sure which one is called. There should web-contextpath check, if one already exists, should report errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.