Re: replacing ROOT

2005-03-23 Thread Gene Volovich
Whooaa... You mean you can't do
!--
Context whatever...
--
This sounds very fishy to me.  I've been using that in my server.xml 
file forever.  In any case, this is XML, so I don't see why this would 
be a problem.  I suspect that the original poster's problem, if this is 
a Tomcat 5.x issue and not tomcat 4, has to do with problems in the 
../conf/Catalina/hostname/context.xml file, which if you're 
upgrading from Tomcat 4, you might not think about.

Gene
On Mar 23, 2005, at 7:48 AM, Rajesh Bagade wrote:
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]

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


Re: replacing ROOT

2005-03-23 Thread Gene Volovich
This reminds me that we've been having a lot of issues with Tomcat 
caching (refusing to recompile) changed JSP files.  Not sure if there's 
a bug on it, but it stinks having to restart the whole container 
sometimes, just for a small JSP change.   This problem seems to have 
gotten worse if anything in Tomcat 5.0.x.

Gene
On Mar 23, 2005, at 8:37 AM, Andreas Andersson wrote:
Gene Volovich wrote:
Whooaa... You mean you can't do
!--
Context whatever...
--
The above is correct, it works this way.
This sounds very fishy to me.  I've been using that in my server.xml 
file forever.  In any case, this is XML, so I don't see why this 
would be a problem.  I suspect that the original poster's problem, if 
this is a Tomcat 5.x issue and not tomcat 4, has to do with problems 
in the ../conf/Catalina/hostname/context.xml file, which if 
you're upgrading from Tomcat 4, you might not think about.
I'm running tomcat 4.1.31 and just solved the problem. It's part my 
fault, part a stupid way of tomcat to handle compiled jsp.

After installing my own app under / tomcat refused to recompile the 
.jsp and showed the old page all the time. Not until I removed all the 
.class-files I got it to work. This was a hard nut to crack, to me 
it's completly illogical that tomcat doesn't recompile the files :)

Thanks everyhone for the help.
--
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]

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