users@glassfish.java.net

Re: set Context root of an J2EE enterprise application

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Wed, 24 Mar 2010 09:14:50 -0400

To change the context root of a war inside an enterprise application,
you will need to change its context root in application.xml (or
sun-application.xml).

mSephiroth wrote:

>Hi all,
>
>Im Using a NetBeans 6.8 for Linux and glassfish v3, I did create an
>enterprise application named 'sistemA' using j2ee6.
>
>The server works fine, I did deploy the application without any problem. the
>app has an EJB module 'sistemA-ejb.jar' and a web module 'sistemA-war.war',
>the problem is that i want to access my web app using http://localhost:8080/
>and not http:localhost:8080/sistemA-war/
>
>i proceeded to edit the sun-web.xml file on the web module 'sistemA-war' but
>im still not able to access my web app using http://localhost:8080/, is
>there some other way to do this?
>
>THX
>
>