You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yonatan Menahem <yo...@msn.com> on 2007/11/22 03:38:22 UTC

configure my web app as default app instead of root in tomcat 6.0‏

Hello,
 
I am running tomcat 6.0 on Windows XP and deployed a war file called myApp.war to the server. when I am going to the url myDomainName I am getting the default Tomcat home page from the ROOT application.In order to view my application I need to go to: myDomainName/myAppHow can I change it so when I type myDomainName it will go directly to my application rather than to the ROOT application?
 
Thank you,
 
Yonatan
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007

RE: configure my web app as default app instead of root in tomcat 6.0‏

Posted by Yonatan Menahem <yo...@msn.com>.
Just the 'localhost' one
> Date: Fri, 23 Nov 2007 07:39:57 +0000> From: p@pidster.com> To: users@tomcat.apache.org> Subject: Re: configure my web app as default app instead of root in tomcat 6.0‏> > Yonatan Menahem wrote:> > That solved my problem.> > Although, I couldn't figure out how to do it using the context element as described in the documentation.> > I just undeployed the ROOT and deployed myApp.war instead in the "/" Context Path.> > Did you define an additional host in server.xml, or are you relying on> the one named 'localhost'?> > p> > > > > > That works for now.> > > > Thank you.> From: timothyl@koorong.com.au> To: users@tomcat.apache.org> Subject: RE: configure my web app as default app instead of root in tomcat 6.0‏> Date: Thu, 22 Nov 2007 14:14:01 +1100> > How about this? (google is your friend)> http://forum.java.sun.com/thread.jspa?threadID=668057> > > Timothy Wonil Lee> > Java Developer> Koorong Books (http://www.koorong.com/)> email: timothyl@koorong.com> direct ph: (+612) 9857 44
 48> direct fax: (+612) 9857 6648> http://www.google.com/reader/shared/16849249410805339619> > > -----Original Message-----> From: Yonatan Menahem [mailto:yonatanm@msn.com] > Sent: Thursday, 22 November 2007 1:38 PM> To: users@tomcat.apache.org> Subject: configure my web app as default app instead of root in tomcat 6.0‏> > > Hello,> > I am running tomcat 6.0 on Windows XP and deployed a war file called> myApp.war to the server. when I am going to the url myDomainName I am> getting the default Tomcat home page from the ROOT application.In order to> view > my app> > lication I need to go to: myDomainName/myAppHow can I change it> so when I type myDomainName it will go directly to my application rather> than to the ROOT application?> > Thank you,> > Yonatan> _________________________________________________________________> Put your friends on the big screen with Windows Vista® + Windows Live™.> http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_> MediaC
 tr_bigscreen_102007> > !DSPAM:4744ebd1188181748623000!> > > ---------------------------------------------------------------------> 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> > > _________________________________________________________________> > Your smile counts. The more smiles you share, the more we donate. Join in.> > www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline> > > ---------------------------------------------------------------------> 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> 
_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative now.
http://im.live.com/messenger/im/home/?source=TAGLM

Re: configure my web app as default app instead of root in tomcat 6.0‏

Posted by Pid <p...@pidster.com>.
Yonatan Menahem wrote:
> That solved my problem.
> Although, I couldn't figure out how to do it using the context element as described in the documentation.
> I just undeployed the ROOT and deployed myApp.war instead in the "/" Context Path.

Did you define an additional host in server.xml, or are you relying on
the one named 'localhost'?

p




> That works for now.
>  
> Thank you.> From: timothyl@koorong.com.au> To: users@tomcat.apache.org> Subject: RE: configure my web app as default app instead of root in tomcat 6.0‏> Date: Thu, 22 Nov 2007 14:14:01 +1100> > How about this? (google is your friend)> http://forum.java.sun.com/thread.jspa?threadID=668057> > > Timothy Wonil Lee> > Java Developer> Koorong Books (http://www.koorong.com/)> email: timothyl@koorong.com> direct ph: (+612) 9857 4448> direct fax: (+612) 9857 6648> http://www.google.com/reader/shared/16849249410805339619> > > -----Original Message-----> From: Yonatan Menahem [mailto:yonatanm@msn.com] > Sent: Thursday, 22 November 2007 1:38 PM> To: users@tomcat.apache.org> Subject: configure my web app as default app instead of root in tomcat 6.0‏> > > Hello,> > I am running tomcat 6.0 on Windows XP and deployed a war file called> myApp.war to the server. when I am going to the url myDomainName I am> getting the default Tomcat home page from the ROOT application.In order to> view 
my app
>  lication I need to go to: myDomainName/myAppHow can I change it> so when I type myDomainName it will go directly to my application rather> than to the ROOT application?> > Thank you,> > Yonatan> _________________________________________________________________> Put your friends on the big screen with Windows Vista® + Windows Live™.> http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_> MediaCtr_bigscreen_102007> > !DSPAM:4744ebd1188181748623000!> > > ---------------------------------------------------------------------> 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> 
> _________________________________________________________________
> Your smile counts. The more smiles you share, the more we donate.  Join in.
> www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline


---------------------------------------------------------------------
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


RE: configure my web app as default app instead of root in tomcat 6.0‏

Posted by Yonatan Menahem <yo...@msn.com>.
That solved my problem.
Although, I couldn't figure out how to do it using the context element as described in the documentation.
I just undeployed the ROOT and deployed myApp.war instead in the "/" Context Path.
That works for now.
 
Thank you.> From: timothyl@koorong.com.au> To: users@tomcat.apache.org> Subject: RE: configure my web app as default app instead of root in tomcat 6.0‏> Date: Thu, 22 Nov 2007 14:14:01 +1100> > How about this? (google is your friend)> http://forum.java.sun.com/thread.jspa?threadID=668057> > > Timothy Wonil Lee> > Java Developer> Koorong Books (http://www.koorong.com/)> email: timothyl@koorong.com> direct ph: (+612) 9857 4448> direct fax: (+612) 9857 6648> http://www.google.com/reader/shared/16849249410805339619> > > -----Original Message-----> From: Yonatan Menahem [mailto:yonatanm@msn.com] > Sent: Thursday, 22 November 2007 1:38 PM> To: users@tomcat.apache.org> Subject: configure my web app as default app instead of root in tomcat 6.0‏> > > Hello,> > I am running tomcat 6.0 on Windows XP and deployed a war file called> myApp.war to the server. when I am going to the url myDomainName I am> getting the default Tomcat home page from the ROOT application.In order to> view my app
 lication I need to go to: myDomainName/myAppHow can I change it> so when I type myDomainName it will go directly to my application rather> than to the ROOT application?> > Thank you,> > Yonatan> _________________________________________________________________> Put your friends on the big screen with Windows Vista® + Windows Live™.> http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_> MediaCtr_bigscreen_102007> > !DSPAM:4744ebd1188181748623000!> > > ---------------------------------------------------------------------> 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> 
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate.  Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline

RE: configure my web app as default app instead of root in tomcat 6.0‏

Posted by Timothy Wonil Lee <ti...@koorong.com.au>.
How about this? (google is your friend)
http://forum.java.sun.com/thread.jspa?threadID=668057


Timothy Wonil Lee

Java Developer
Koorong Books (http://www.koorong.com/)
email: timothyl@koorong.com
direct ph: (+612) 9857 4448
direct fax: (+612) 9857 6648
http://www.google.com/reader/shared/16849249410805339619


-----Original Message-----
From: Yonatan Menahem [mailto:yonatanm@msn.com] 
Sent: Thursday, 22 November 2007 1:38 PM
To: users@tomcat.apache.org
Subject: configure my web app as default app instead of root in tomcat 6.0‏


Hello,
 
I am running tomcat 6.0 on Windows XP and deployed a war file called
myApp.war to the server. when I am going to the url myDomainName I am
getting the default Tomcat home page from the ROOT application.In order to
view my application I need to go to: myDomainName/myAppHow can I change it
so when I type myDomainName it will go directly to my application rather
than to the ROOT application?
 
Thank you,
 
Yonatan
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_
MediaCtr_bigscreen_102007

!DSPAM:4744ebd1188181748623000!


---------------------------------------------------------------------
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