tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detlev Beutner" <d.beut...@gmx.de>
Subject Re: Install WAR via docBase within servlet.xml
Date Tue, 06 Feb 2007 10:02:42 GMT
Hi Pid,

> > I have a WAR which normally should be deployed via myName.xml into
> > /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar".
> > 
> > Within that xml snippet, <Context path="/myName"
> > docBase="/webs/web123/tomcat/application.war" debug="0"> is used.
> > 
> > So I can call "www.server.com/myName" and it works.
> > 
> > Now I want to call "myName.server.com" instead.
> 
> This would mean that your webapp becomes the ROOT application of a 
> virtual host.

Exactly.
 
> As you didn't specify which version of Tomcat, I'm going to assume 5.x.

Exactly, to be even more exact: 5.5.12

> Place the context here:
> 	
> 	%TOMCAT/conf/Catalina/myName.server.com/ROOT.xml
> 
> ... not in server.xml.

Ahhh, that sounds as if would make sense... :-)

But the HOST entry for the virtual host would have to be in server.xml (with no context defined),
right?! Correct me if I'm wrong...

I will give it a try this evening...

Thanks for your support
Detlev
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
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
View raw message