maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Semb Wever (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MEAR-95) Cannot set context-root to be the root context
Date Tue, 01 Sep 2009 12:35:41 GMT

    [ http://jira.codehaus.org/browse/MEAR-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189358#action_189358
] 

Michael Semb Wever commented on MEAR-95:
----------------------------------------

With jboss-5 at least 
 <context-root>/ROOT</context-root>
works. I guess this means it would work with tomcat too.

> 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
>    Affects Versions: 2.0
>            Reporter: Kurt Huwig
>            Assignee: Stephane Nicoll
>
> 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

        

Mime
View raw message