users@glassfish.java.net

Re: How to bind a .war file to http://localhost:80/ ?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 07 Jul 2008 11:01:56 -0400

Hi,

see : https://glassfish.dev.java.net/javaee5/docs/DG/beafs.html#beaga

Thanks!

-- Jeanfrancois

Markus KARG wrote:
> I need to bind a .war file to http://localhost:80/ (Port 80, Root
> Context) !
>
> It seems all .war's by default are bound to
> http://localhost:8080/mywarfile/ (Port 8080, Sub Context mywarfile)
>
> So my question is:
>
> How to bind this specific .war file to port 80 instead of 8080 and how
> to bind to the root / instead to subcontext /mywarfile? The default
> Context in the admin GUI is shown as "mywarfile", so I wanted to just
> empty it, but the admin GUI doesn't allow empty field.
>
> Thanks a lot!
> Markus
>