Re: deploying war to ROOT

2006-01-04 Thread Bjørge Solli
On Tuesday 03 January 2006 20:24, Bahadir Yagan wrote:
 I will deploy my application to Tomcat 5.5, which will be the only
 application on that server. I want it to be deployet to root of the
 application server. Tomcat displays webapps/ROOT by default. My
 application works if I extract it to ROOT folder. Is it possible to
 deploy a WAR file that will be deployed to root of tomcat server.
 (accessed as http://localhost/)

untested
If using linux or unix, you could try making ROOT a symlink.

-- 
Bjørge Solli - Office:+47 55205847 cellph.:+47 91614343
Nansen Environmental and Remote Sensing Center - Bergen, Norway
http://www.nersc.no Reception: +47 55205800
Dept.: Mohn-Sverdrup Center for Global Ocean Studies 
   and Operational Oceanography

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: deploying war to ROOT

2006-01-04 Thread Bahadır Yağan

Bjørge Solli wrote:

untested
If using linux or unix, you could try making ROOT a symlink.
  

Yes, symlink works. Either as ROOT/ or ROOT.war

Bahadir


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: deploying war to ROOT

2006-01-03 Thread Caldarale, Charles R
 From: Bahadir Yagan [mailto:[EMAIL PROTECTED] 
 Subject: deploying war to ROOT
 
 I want it to be deployet to root of the application server.
 Is it possible to deploy a WAR file that will be deployed 
 to root of tomcat server. 

The easiest way is to remove the webapps/ROOT directory and package your
app as ROOT.war under webapps.

 Should I also configure tomcat about these names?

No need to.  By default, Tomcat listens on all IP addresses for the
system it's running on. If you want different default apps for different
domains, you can use multiple Host tags in server.xml, each with its
own appBase attribute.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]