tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avinash Kumar" <technoavin...@gmail.com>
Subject Re: How to set Default WebApplication in tomcat 5.5?
Date Wed, 18 Apr 2007 11:11:58 GMT
Thanks ,
  But the application must run with its name in the url bar of the browser
,so if it is renamed as Root then how can i access it nd it was runnig very
well in tomcat 4.1 ,i can also send u the server.xml of tomcat 4.1 which
allowed it to run directly...


On 4/18/07, Mark Thomas <markt@apache.org> wrote:
>
> Avinash Kumar wrote:
> > Dear All,
> > I m trying now with tomcat 5.5,i want to set a web application as
> default
> > application ,suppose like if a user after starting tomcat ,if i will
> enter
> > http://localhost:8080 then it will just forward to
> http://localhost:8080/<*
> > MyApplication <http://localhost:8080/<MyApplication>*>...
> >
> > Actually i hv to run an existing web application which is running well
> in
> > tomcat 4.1 ..means in tomcat 4.1 i found this settings in Tomcat
> > 4.1\conf\server.xml's <host> element <Host name="localhost" debug="0"
> > appBase="webapps/MyApp" unpackWARs="true" autoDeploy="true"> nd when the
> > users enters http://localhost:8080 it goes to
> > http://localhost:8080/MyAppdirectly
>
> This configuration is wrong and unsupported. It was luck that it ever
> worked.
>
> All you need to do is rename your MyApp directory to ROOT or MyApp.war
> to ROOT.war
>
>
> If a ROOT directory or ROOT.war already exist just rename them or
> delete them as appropriate.
>
> Mark
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message