tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Hoffmann \(Speed4Trade\)" <Thomas.Hoffm...@Speed4Trade.com>
Subject AW: Tomcat-Question: Inefficient searching for jsp-files?
Date Mon, 21 May 2007 19:07:24 GMT
Hi,
Tomcat is running with iis, thats right.
Tomcat is installed on c:\Programme\....
websites are under d:\inetpub
thats why i cant use relative paths.

-----Urspr√ľngliche Nachricht-----
Von: Propes, Barry L [mailto:barry.l.propes@citi.com] 
Gesendet: Montag, 21. Mai 2007 20:56
An: Tomcat Users List
Betreff: RE: Tomcat-Question: Inefficient searching for jsp-files?


your docBase shouldn't include the absolute path should it? Just the relative path?

Besides, that looks totally configured for running files on IIS' server, not (thru) Tomcat's
servlet engine.

-----Original Message-----
From: Thomas Hoffmann (Speed4Trade) [mailto:Thomas.Hoffmann@Speed4Trade.com]
Sent: Monday, May 21, 2007 1:09 PM
To: 'Tomcat Users List'
Cc: rashmi.sub@gmail.com
Subject: AW: Tomcat-Question: Inefficient searching for jsp-files?


Hi,
my contect-configuratation looks like:
<Context docBase="D:\inetpub\wwwroot\tyres4trade" path="" 
 privileged="true"  workdir="...." reloadable="fals" />

when i request e.g. test.jsp from browser my file-monitor show the following harddisc-accesses:
d:\ d:\inetpub d:\inetpub\wwwroot
d:\inetpub\wwwroot\tyres4trade d:\inetpub\wwwroot\tyres4trade\test.jsp
d:\inetpub\wwwroot\tyres4trade\localhost\test.jsp (not found) <tomcat-root>\tomcat 5.5\work\org\apache\jsp\test_jsp.class

i ask myself why does tomcat start to search from d:\ instead of docBase?


-----Urspr√ľngliche Nachricht-----
Von: Rashmi Rubdi [mailto:rashmi.sub@gmail.com] 
Gesendet: Montag, 21. Mai 2007 19:56
An: Tomcat Users List
Betreff: Re: Tomcat-Question: Inefficient searching for jsp-files?


On 5/21/07, Thomas Hoffmann (Speed4Trade) <Thomas.Hoffmann@speed4trade.com> wrote:
> Hello,
> i am using Tomcat 5.5.23. When i request a simple jsp-file
> my file-monitor shows me, that tomcat is searching from root. This is
> a problem for website with a lot of traffic. A screenshot is attached 
> to this mail.

All attachments are filtered out automatically.

Please post the URL of the screen shot and/or other relevant information such as log file
contents etc.


> The Context-Entry looks like
> <Context docBase="D:\inetpub\wwwroot\tyres4trade" path=""
> privileged="true"  workdir="...." reloadable="fals" />
>
> Thanks for suggestions,
> Thomas

-Regards
Rashmi

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


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


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


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