You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2009/04/10 09:34:55 UTC

[jira] Updated: (MEAR-95) Cannot set context-root to be the root context

     [ http://jira.codehaus.org/browse/MEAR-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll updated MEAR-95:
--------------------------------

    Fix Version/s: 2.3.3

> Cannot set context-root to be the root context
> ----------------------------------------------
>
>                 Key: MEAR-95
>                 URL: http://jira.codehaus.org/browse/MEAR-95
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>            Reporter: Kurt Huwig
>             Fix For: 2.3.3
>
>
> If I set
>     <webModule>
>         <groupId>com.scooterattack.webshop</groupId>
>         <artifactId>webshop-war</artifactId>
>         <contextRoot></contextRoot>
>     </webModule>
> or
>     <webModule>
>         <groupId>com.scooterattack.webshop</groupId>
>         <artifactId>webshop-war</artifactId>
>         <contextRoot> </contextRoot>
>     </webModule>
> the context-root in application.xml is set to "webshop-war". If I set it to
>     <webModule>
>         <groupId>com.scooterattack.webshop</groupId>
>         <artifactId>webshop-war</artifactId>
>         <contextRoot>/</contextRoot>
>     </webModule>
> it is set to "/" and my application is the root application, but the URL upon netbeans-deploy is
>     http://localhost:8080//
> i.e. double "/" at the end.
> How can I properly configure a web-module in a EAR as the root application?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira