RE: replacing ROOT

2005-03-23 Thread Rajesh Bagade
Hello,

In server.xml just comment original root context entry, and write your new
context.
Eg.-
Original Entry -
!--Context path= docBase=webapps/ROOT debug=0
reloadable=true 
/Context--
New Entry -
Context path=/ docBase=physical path for source files debug=0
reloadable=true 
/Context

-- Rajesh Bagade

-Original Message-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 3:31 PM
To: tomcat-user@jakarta.apache.org
Subject: replacing ROOT

Hi!

I'm probably just stupid but I fail to replace the ROOT-context with my
own application.

I've tried to put path=/ and path= but nothing of those override the
default ROOT-context.

I've also seen in server.xml that the part that would define ROOT is
commented out.

This is tomcat 4.1.31.

Any ideas?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se

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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005


--
iota technologies limited, pune, india


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



RE: replacing ROOT

2005-03-23 Thread Rajesh Bagade
Comment for context should start from same line where context line starts.
It should be as follows
!-- Context path= docBase=ROOT debug=0/ --

--Rajesh Bagade

-Original Message-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 5:33 PM
To: Tomcat Users List
Subject: Re: replacing ROOT

Rajesh Bagade wrote:

 In server.xml just comment original root context entry, and write your new
 context.

The weird think is that that context is already commented and has been
so since I installed tomcat. It looks like this.

 !-- Tomcat Root Context --
 !--
   Context path= docBase=ROOT debug=0/
 --

When are the xml-files from /webapps read?


--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se

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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005


--
iota technologies limited, pune, india


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