On Tue, Oct 8, 2019 at 9:02 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Martin,
>
>
>
> Sorry, I actually didn't notice the "LoadModule" in there.
>
> It's strange to see a LoadModule and the other configuration all
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Martin,
On 10/7/19 11:45, Martin Knoblauch wrote:
> On Mon, Oct 7, 2019 at 5:10 PM Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256
>>
>> Martin,
>>
>> On 10/7/19 07:22, Martin
quot;/cb2" application to worker "cb2"
#
JkMount /cb2/* cb2
#
# Unmount "/cb2/docs" from worker "cb2" to allow static content
# beeing served by apache. Same for "/cb2/cgi-bin"
#
JkUnMount /cb2/docs/* cb2
So we JkUnMount the "/cb2
setup. Nothing interesting to
see there. So I am still confused here.
Based on this, from a previous post :
> quote
> #
> # CB2 - Portal
> #
> # Mount the "/cb2" application to worker "cb2"
> #
> JkMount /cb2/* cb2
> #
> # Unmount "/cb2/do
receives the same
response, etc.
Until the (smart) browser realises that it is always requesting and receiving the same
thing and calls quits.
What you are showing above as log, is only the httpd access log.
Do you have an access log enabled in tomcat, and do you see these same accesses
On Mon, Oct 7, 2019 at 5:10 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Martin,
>
> On 10/7/19 07:22, Martin Knoblauch wrote:
> > The mod_jk configuration basically looks like:
> >
> > LoadModule jk_module
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Martin,
On 10/7/19 07:22, Martin Knoblauch wrote:
> The mod_jk configuration basically looks like:
>
> LoadModule jk_module modules/mod_jk.so
>
> JkWorkersFile "conf/cb2/workers.properties" JkShmFile
> "logs/jk-runtime-status" JkLogFile
On Mon, Oct 7, 2019 at 3:31 PM Konstantin Kolinko
wrote:
> пн, 7 окт. 2019 г. в 15:44, Martin Knoblauch :
> >
> > Hi Konstantin,
> >
> > On Mon, Oct 7, 2019 at 2:36 PM Konstantin Kolinko <
> knst.koli...@gmail.com>
> > wrote:
> >
> >
> > 2. For Tomcat to issue a redirect, the "docs" directory
;
> >>JkShmFile "logs/jk-runtime-status"
> >>JkLogFile "logs/mod_jk.log"
> >>JkLogLevel info
> >>JkWatchdogInterval 60
> >>
> >>
> >> And then later inside a virtual host:
&g
пн, 7 окт. 2019 г. в 15:44, Martin Knoblauch :
>
> Hi Konstantin,
>
> On Mon, Oct 7, 2019 at 2:36 PM Konstantin Kolinko
> wrote:
>
>
> 2. For Tomcat to issue a redirect, the "docs" directory must be
> > present in your web application. It can be empty, but it must be
> > present. (If there is
t;logs/mod_jk.log"
> > JkLogLevel info
> > JkWatchdogInterval 60
> >
> >
> > And then later inside a virtual host:
> >
> > #
> > # CB2 - Portal
> > #
> > # Mount the "/cb2" application to worker "cb2"
> > #
> >
JkShmFile "logs/jk-runtime-status"
JkLogFile "logs/mod_jk.log"
JkLogLevel info
JkWatchdogInterval 60
And then later inside a virtual host:
#
# CB2 - Portal
#
# Mount the "/cb2" application to worker "cb2"
#
JkMount /cb2/* cb2
#
# Unmount &qu
ct/2019:12:30:47 +0200] [2 ms] 160.46.219.110 - "POST /cb2/docs
> HTTP/1.1" s:302 l:- S:TLSv1.2 C:ECDHE-RSA-AES256-GCM-SHA384
> [07/Oct/2019:12:30:47 +0200] [20 ms] 160.46.219.110 - "GET /cb2/docs/
> HTTP/1.1" s:200 l:6367 S:TLSv1.2 C:ECDHE-RSA-AES256-GCM-SHA384
&g
; [07/Oct/2019:12:30:47 +0200] [2 ms] 160.46.219.110 - "POST /cb2/docs
> HTTP/1.1" s:302 l:- S:TLSv1.2 C:ECDHE-RSA-AES256-GCM-SHA384
> [07/Oct/2019:12:30:47 +0200] [20 ms] 160.46.219.110 - "GET /cb2/docs/
> HTTP/1.1" s:200 l:6367 S:TLSv1.2 C:ECDHE-RSA-AES256-GCM-SHA384
&g
l info
JkWatchdogInterval 60
And then later inside a virtual host:
#
# CB2 - Portal
#
# Mount the "/cb2" application to worker "cb2"
#
JkMount /cb2/* cb2
#
# Unmount "/cb2/docs" from worker "cb2" to allow static content
# beeing served by apache. Sa
Is it possible to set up a site so that you have to log in to access the site
at all, either the static content or the servlet interface? I have in mind
10-100 users. It seems a simple setup like .htaccess (httpd only?) would be
perfect if it existed and covered static and servlet
> From: Bill Ross [mailto:r...@cgl.ucsf.edu]
> Subject: configuring login for static content and Servlets
> Is it possible to set up a site so that you have to log in to access the site
> at all,
> either the static content or the servlet interface?
Read the "Specifying
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Bill,
On 10/5/15 3:21 PM, Bill Ross wrote:
> Is it possible to set up a site so that you have to log in to
> access the site at all, either the static content or the servlet
> interface? I have in mind 10-100 users. It seems a simple set
I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and the
other is deployed to 6.0.33. The first one has no problems resolving static
content files using Spring, the second one (on 6.0.33) has issues.
For the full info, see:
http://stackoverflow.com/questions/14812919
2013/2/11 Thierens, Bart bart.thier...@xerox.com:
I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and
the other is deployed to 6.0.33. The first one has no problems resolving
static content files using Spring, the second one (on 6.0.33) has issues.
For the full info
Subject: Re: (almost) identical webapps behave differently in serving static
content
2013/2/11 Thierens, Bart bart.thier...@xerox.com:
I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and
the other is deployed to 6.0.33. The first one has no problems resolving
static
2013/2/11 Thierens, Bart bart.thier...@xerox.com:
The files are located under $WEBAPP$/styles.
Move them into $WEBAPP$/static/styles.
As I said on StackOverflow: the webapps are identical (except for database
connection and tomcat version).
My question for you is: what changed between
: Tuesday, June 05, 2012 5:47 PM
To: Tomcat Users List
Subject: Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Russel,
On 6/5/12 8:38 PM, Morgan, Russel wrote:
I was initially pretty excited about the URL redirect idea, but after
2012/6/6 Morgan, Russel russel.mor...@disney.com:
What I don't know how to do is use that redirect filter/rewrite to change the
url based on the version of tomcat, which it seems I need to do, since the
container pathing logic changed across versions.
Do not use your trick of mapping
: Wednesday, June 06, 2012 4:49 AM
To: Tomcat Users List
Subject: Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
2012/6/6 Morgan, Russel russel.mor...@disney.com:
What I don't know how to do is use that redirect filter/rewrite to change the
url based on the version of tomcat
of static content that is
outside of the webapp's docBase that you want to serve from within its
URL space? Any possibility that you could upgrade to Tomcat 7 which
has aliases which can do this?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http
To: Tomcat Users List
Subject: Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Russel,
On 6/6/12 8:45 AM, Morgan, Russel wrote:
So if I bundle the default servlet with my application and then
configure it to run
Tomcat Users:
Has anyone found a graceful way to handle static content linking that works=
both pre and post the the following change?
https://issues.apache.org/bugzilla/show_bug.cgi?id=3D50026
We have quite a few customers on earlier versions of Tomcat 6 as well as ne= w
customers
2012/6/5 Morgan, Russel russel.mor...@disney.com:
Tomcat Users:
Has anyone found a graceful way to handle static content linking that works=
both pre and post the the following change?
https://issues.apache.org/bugzilla/show_bug.cgi?id=3D50026
You mean
https://issues.apache.org/bugzilla
Thanks yes that is the change that caused this issue with how we use static
content.
I am not sure how I mangled my formatting but I went through and cleaned it up,
I hope that helps readability.
Russ
Issue formatting recap below:
=
Tomcat Users:
Has anyone found
2012/6/5 Morgan, Russel russel.mor...@disney.com:
Thanks yes that is the change that caused this issue with how we use static
content.
I am not sure how I mangled my formatting but I went through and cleaned it
up, I hope that helps readability.
Russ
Issue formatting recap below
I was optimistic on a first look into that URL-Rewriter
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Tuesday, June 05, 2012 1:05 PM
To: Tomcat Users List
Subject: Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
2012/6/5
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Tuesday, June 05, 2012 1:05 PM
To: Tomcat Users List
Subject: Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)
2012/6/5 Morgan, Russel russel.mor...@disney.com:
Thanks yes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Russel,
On 6/5/12 8:38 PM, Morgan, Russel wrote:
I was initially pretty excited about the URL redirect idea, but
after some testing, it has led me back to the same result.
I can make it work with redirects on either version of tomcat.
Pre and
On 09/02/2012 06:19, sanu wrote:
Thanks for your reply. I have a global web.xml, where the DefaultServlet is
mapped.
The difference I see is that my static resources are not in the same
directory as the host's appBase. Could this be the problem ? How can the
static content be served
On 08/02/2012 07:47, sanu wrote:
Hello,
I am working on embedding tomcat 7 into our application. We have a number of
web apps and the static content is located in a different directory, common
to all webapps.
Why not just serve the static content as it's own application?
I am not finding
Thank you.
I just did that. Here's what I have :
StandardContext context = (StandardContext)
tomcat.addContext(null, , path to the static resource
directory);
This doesn't seem to work.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Serving-static-content
On 08/02/2012 08:40, sanu wrote:
Thank you.
I just did that. Here's what I have :
StandardContext context = (StandardContext)
tomcat.addContext(null, , path to the static resource
directory);
This doesn't seem to work.
You haven't told us:
- exact Apache Tomcat
, I am unable to access the static content directly as well. Gives me
a 404.
Thanks.
--
View this message in context:
http://tomcat.10.n6.nabble.com/Serving-static-content-using-embedded-tomcat-7-tp4375155p4375303.html
Sent from the Tomcat - User mailing list archive at Nabble.com
this context
but this is not. You are not really telling us anything.
In addition to not being able to access the resources from any other
context, I am unable to access the static content directly as well. Gives me
a 404.
Re-read Mark's previous post, and read the document he pointed you
2012/2/8 sanu write2s...@gmail.com:
Thank you.
I just did that. Here's what I have :
StandardContext context = (StandardContext)
tomcat.addContext(null, , path to the static resource
directory);
This doesn't seem to work.
(...)
I would guess that you have not created nor
Thanks for your reply. I have a global web.xml, where the DefaultServlet is
mapped.
The difference I see is that my static resources are not in the same
directory as the host's appBase. Could this be the problem ? How can the
static content be served in such a case ?
--
View this message
Hello,
I am working on embedding tomcat 7 into our application. We have a number of
web apps and the static content is located in a different directory, common
to all webapps.
I am not finding a way to serve this static content. Could somebody please
help me out.
Thanks,
Sandhya
--
View
On Fri, Jan 20, 2012 at 14:03, Violeta Georgieva violet...@apache.org wrote:
Hi,
If the static content is not protected then by default it is cached and the
corresponding headers are set - see screenshot1 screenshot2.
but when I put it as protected content the following headers are set
Violeta Georgieva violet...@apache.org wrote:
Hi,
If the static content is not protected then by default it is cached and
the
corresponding headers are set - see screenshot1 screenshot2.
but when I put it as protected content the following headers are set:
Cache-control:private and Expires
On Fri, Jan 20, 2012 at 15:05, ma...@apache.org wrote:
Violeta Georgieva violet...@apache.org wrote:
[...]
My question is why the expires header is set with this value? Doesn't
this
prevent caching?
Yes. That is the point.
But there is no need for an expires header if you don't want
And if I want to cache a protected resource only locally what I should do?
Thanks
2012/1/20 ma...@apache.org
Violeta Georgieva violet...@apache.org wrote:
Hi,
If the static content is not protected then by default it is cached and
the
corresponding headers are set - see screenshot1
Have you measured that Tomcat is too slow for you to serve static content? If
not - serve everything from Tomcat itself and enjoy simple configuration;-)
--
Sent from my wireless G705 device
-
To unsubscribe, e-mail: users
Eric P wrote:
I remember now why static content works for my ROOT app. I have
Apache aliases set-up pointing to specific system directories for all
static content.
For example, I have all images for the ROOT app aliased here.
Alias /img /opt/tomcat7/webapps/ROOT/img
Directory /opt/tomcat7
On 14.01.2012 04:17, Eric P wrote:
Hi all,
I'm having trouble getting Apache to serve static content (jpg, css, js, etc.)
for Tomcat apps via mod_jk for any
application except the ROOT Tomcat app. The ROOT app shows static content just
fine.
I have the following Apache settings attempting
On 14/01/2012 03:52, Eric P wrote:
I remember now why static content works for my ROOT app. I have
Apache aliases set-up pointing to specific system directories for all
static content.
For example, I have all images for the ROOT app aliased here.
Alias /img /opt/tomcat7/webapps/ROOT/img
Hi all,
I'm having trouble getting Apache to serve static content (jpg, css, js, etc.)
for Tomcat apps via mod_jk for any
application except the ROOT Tomcat app. The ROOT app shows static content just
fine.
I have the following Apache settings attempting to point *all* requests to
Tomcat
I remember now why static content works for my ROOT app. I have
Apache aliases set-up pointing to specific system directories for all
static content.
For example, I have all images for the ROOT app aliased here.
Alias /img /opt/tomcat7/webapps/ROOT/img
Directory /opt/tomcat7/webapps/ROOT/img
we have an application that works as expected on tomcat version 6.0.29 on a
windows server . If I try to copy the war to a machine running version 6.0.32
none of the static content will display. If I copy the war file to a different
machine with version 6.0.29 installed the static content
2011/6/15 Flaherty, Brennen F flahert...@upmc.edu:
we have an application that works as expected on tomcat version 6.0.29 on a
windows server . If I try to copy the war to a machine running version 6.0.32
none of the static content will display. If I copy the war file to a
different machine
On 15/06/2011 13:41, Flaherty, Brennen F wrote:
we have an application that works as expected on tomcat version 6.0.29 on a
windows server . If I try to copy the war to a machine running version 6.0.32
none of the static content will display. If I copy the war file to a
different machine
Hey,
Is there any way I can specify the expiry of static content (js,css etc)
by some setting in the context.xml or sever.xml .Or the only way to
achieve this is to write my own filter which will add the appropriate
header.
Thanks
Is there any way I can specify the expiry of static content (js,css etc) by
some setting in the context.xml or sever.xml .Or the only way to achieve
this is to write my own filter which will add the appropriate header.
We used this http://www.vineetmanohar.com/2010/10/java-expiry-date
You might serve static resources with Apache/nginx/haproxy. This has also
the advantage that you save threads in tomcat.
Cheers,
Martin
Am 23.02.2011 14:47 schrieb Reinwald Warapen reinwal...@directi.com:
Hey,
Is there any way I can specify the expiry of static content (js,css etc) by
some
Hi,
For some reason Tomcat keeps caching my static content even though I've
set the cachingAllowed attribute to false. I've set the following
attributes in %CATALINA_HOME%\conf\Catalina\localhost\myContext.xml:
Context path=/myContext cachingAllowed=false reloadable=true
crossContext=false
2010/10/28 Alexander Rosemann alexander.rosem...@gmail.com:
Hi,
For some reason Tomcat keeps caching my static content even though I've set
the cachingAllowed attribute to false. I've set the following attributes in
%CATALINA_HOME%\conf\Catalina\localhost\myContext.xml:
Context path
caching my static content even though I've set
the cachingAllowed attribute to false. I've set the following attributes in
%CATALINA_HOME%\conf\Catalina\localhost\myContext.xml:
Context path=/myContext cachingAllowed=false reloadable=true
crossContext=false antiJARLocking=true antiResourceLocking
What are your evidences?
Note that, because of those anti** options in your Context, your
content is copied to some temporary directory and is served from there
and not from webapp/appname.
Best regards,
Konstantin Kolinko
Hi Konstantin, using *only* the cachingAllowed attribute is finally
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 8/2/2010 2:06 PM, john.rana...@thomsonreuters.com wrote:
Can someone point me to the documentation on how to handle caching of
static content? Images and static HTML documents are all being returned
without cach-control response headers
Uh..thanks..it was not a good day when I asked this question. My apologies :)
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, August 04, 2010 10:03 AM
To: Tomcat Users List
Subject: Re: Caching of static content
-BEGIN PGP SIGNED
Can someone point me to the documentation on how to handle caching of
static content? Images and static HTML documents are all being returned
without cach-control response headers but I am unsure how to set these
values. Thus the files are being retrieved each and every time.
Also, how
On 19/02/2010 07:09, petr kalafatič wrote:
Hi,
I have problem to configure apache and tomcat (ajp13).
I have several virtual hosts (php,jsp). PHP pages are ok, but jsp shows static
(html) content only.
Someone encountered this problem?
Yes, people who incorrectly configure the Apache document
Hi,
I have problem to configure apache and tomcat (ajp13).
I have several virtual hosts (php,jsp). PHP pages are ok, but jsp shows static
(html) content only.
Someone encountered this problem?
Any suggestion ?
Thanks, Petr
(apache 2.2, tomcat 6, win xp)
Hello,
I do have a tomcat working for several years on my production servers, and I
am trying to optimize a thing or two. I already use the gzip compression,
and this works very well.
However, I noticed that all my static content is served with no expiration
date at all. This doesn't tell
http://onjava.com/pub/a/onjava/2004/03/03/filters.html
-Original Message-
From: pieroxy [mailto:pier...@gmail.com]
Sent: Tuesday, October 06, 2009 12:03 PM
To: Tomcat Users List
Subject: Expiration date on static content?
Hello,
I do have a tomcat working for several years on my
-
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
View this message in context:
http://www.nabble.com/Caching-of-static-content-tp23614901p23975925.html
Sent from
that if the uri was such that TC would interpret it as
static content like /foobar.html - I would get a 404 on the first request.
If the uri refers to more dynamic content such as /foobar.jsp - you don't
get a 404.
Let's see your code...
public void doFilter(ServletRequest request
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/25/2009 1:30 PM, Caldarale, Charles R wrote:
From: Caldarale, Charles R
Subject: RE: Apache httpd vs Tomcat static content performance [more
results]
There are some extracts from the 2007 O'Reilly Tomcat book about
benchmarking
From: Caldarale, Charles R
Subject: RE: Apache httpd vs Tomcat static content performance [more
results]
There are some extracts from the 2007 O'Reilly Tomcat book about benchmarking
on somewhat newer hardware than Chris is using:
http://www.devshed.com/c/b/BrainDump/
The interesting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
The message below was garbled when sent. Fortunately, it ended up being
preserved correctly in my sent message folder. Here it is.
- -chris
- Original Message
Subject: Re: Apache httpd vs Tomcat static content performance
binfqTJI0hlYT.bin
Description: PGP/MIME version identification
Christopher Schultz wrote:
Chris, there's something wrong with this post.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Apache httpd vs Tomcat static content performance [more
results]
Chris, there's something wrong with this post.
You have to use lemon juice and a heat source to read it...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
Actually, I was thinking more of disabling the AccessLog in httpd, to
see how much impact that had.
(That's also less additional tests to run ;-))
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/19/2009 2:28 PM, André Warnier wrote:
Christopher Schultz
Hi,
I was trying to create a Filter that generates the some content as files (if
required) into the file system and lets the default servlet handle the rest.
However I noticed that if the uri was such that TC would interpret it as
static content like /foobar.html - I would get a 404 on the first
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
So, I have some data from last night. It's about what you'd expect,
except that the NIO+sendfile connector test failed most of the time: the
client got something like apr_connect: Connection reset by peer when
it tried to connect to the server.
I'm a bit puzzled:
In your previous tests it looked like that Apache is outperforming
(ok, not really) Coyote w APR when the files grew bigger.
In your last results I can't see that pattern - actually, I don't see
/any/ pattern...
Any idea how come?
Cheers
Gregor
--
just because your
From: Gregor Schneider [mailto:rc4...@googlemail.com]
Subject: Re: Apache httpd vs Tomcat static content performance [some
results]
In your last results I can't see that pattern - actually, I don't see
/any/ pattern...
Quantum mechanics?
- Chuck
THIS COMMUNICATION MAY CONTAIN
From: Caldarale, Charles R
Subject: RE: Apache httpd vs Tomcat static content performance [some
results]
In your last results I can't see that pattern - actually, I don't see
/any/ pattern...
Quantum mechanics?
More seriously, we may be seeing artifacts of various buffering sizes
Christopher Schultz wrote:
...
Thanks for the work. At least it may put to rest some gross misconceptions.
Now just a question : in the httpd tests, did you have an AccessLog
enabled ? I would imagine you did not have an AccessLogValve enabled in
Tomcat, and I wonder if it makes any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 5/19/2009 12:59 PM, Gregor Schneider wrote:
I'm a bit puzzled:
In your previous tests it looked like that Apache is outperforming
(ok, not really) Coyote w APR when the files grew bigger.
I disagree with that conclusion. My
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/19/2009 2:28 PM, André Warnier wrote:
Christopher Schultz wrote:
...
Thanks for the work. At least it may put to rest some gross
misconceptions.
Now just a question : in the httpd tests, did you have an AccessLog
enabled ? I
the data by
skipping 3 of the tests.
4. Is transfer rate the best data to use? I suppose that depends on
what I want to demonstrate. Since we get questions on this list like
which is faster for static content? I figured that one of two
things would be appropriate: the transfer rate
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Apache httpd vs Tomcat static content performance
I will be comparing an out-of-the-box prefork MPM httpd 2.2.10
configuration against an out-of-the-box Tomcat 5.5.26 Coyote, APR, and
APR without sendfile
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
1. Is the number of requests (100, sufficient? It seems to take
forever on this machine... my Coyote tests took longer than
overnight.
You want enough tests that they're sensitive to statistically significant
:06 -0400
From: ch...@christopherschultz.net
To: users@tomcat.apache.org
Subject: Apache httpd vs Tomcat static content performance
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Last week, I decided to actually run my own performance measurements.
Before I waste a lot of time
static content). I can easily get
memory timing information, and I suspect my memory timing will
significantly beat the throughput of the TCP stack (shared memory be
damned). I can also benchmark my disk I suppose. Since I already have
the transfer rates for the HTTP responses, I can simply see
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 5/18/2009 10:47 AM, Martin Gainty wrote:
the apache httpd [crowd] may cry foul because you are testing with a
prefork config instead of worker assuming you can scare up another
processor
I'm happy to re-run the tests using a worker MPM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/18/2009 11:23 AM, Christopher Schultz wrote:
Chuck,
Er, Peter. Sorry 'bout that.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
message) would
cache the file!
Since this is a relatively old server (1500MHz 32-bit AMD Athlon), I'm
surely being limited by just about everything except memory
capacity (it
doesn't take much memory to serve static content). I can easily get
memory timing information, and I suspect my memory
Entertainment, Inc.
WORK: 512-623-5913
CELL: 512-426-3929
www.KingsIsle.com
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Monday, May 18, 2009 10:24 AM
To: Tomcat Users List
Subject: Re: Apache httpd vs Tomcat static content performance
-BEGIN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/18/2009 10:32 AM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Apache httpd vs Tomcat static content performance
I will be comparing an out-of-the-box prefork MPM httpd 2.2.10
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 5/18/2009 11:37 AM, Peter Crowther wrote:
I suppose I could gauge each test so it would take (roughly) a certain
amount of time (say, 10 minutes). At least then I'd know how long the
entire battery would take :)
I think that's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
On 5/18/2009 11:35 AM, Robin Wilson wrote:
I'm curious by your comment that Coyote/APR is performing on par with
httpd, from the results in your first message I saw it was a pretty
big difference. Or are you saying that wasn't using APR?
Peter Crowther wrote:
...
As a rough first cut, vmstat 5 and watch the numbers ;-). iostat too, if you
can. If CPU isn't pegged at 100% and the disk isn't at full capacity, that's
an interesting result as it implies the box has spare capacity and there's
contention elsewhere - often lock
1 - 100 of 178 matches
Mail list logo