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


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

        

Reply via email to