Looking at the Connector configuration options I'm having trouble
reconciling the description of socket.soLingerOn and connectionLinger [1]
connectionLinger: The number of milliseconds during which the sockets
used by this Connector will linger when they are closed. The default
value is -1 (socket
In tomcat 6 Http11NioProtocol defines a socketCloseDelay field. But as
far as I and grep can tell it is not used anywhere [1]. Is this field
supposed to be doing something?
[1]
$ grep -rni socketCloseDelay *
java/org/apache/coyote/http11/Http11NioProtocol.java:219:private int
socketCloseDela
That's the unfortunate way of form-based authentication. It's an
application convention rather than a protocol-level standard -- it's not
a standard but rather a loose convention and has to be handled by the
application code rather than seamlessly with at protocol handling level.
As such it's
Summary: When requiring form authentication, Tomcat responds to an
unauthenticated GET request with a HTTP status code of 200 (OK) and the
login page.
I believe that to be in violation of the HTTP standards.
The problem: Software makes a GET request to a web server. It gets
back a 200 status
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 9/1/2011 4:52 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Performance for many small requests
>
>>> NIO may incur slightly more overhead due to thread switching.
>>> Y
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Performance for many small requests
> > NIO may incur slightly more overhead due to thread switching.
> > You'll have to measure to see if it's of any benefit.
> Yes, but my guess is that it would be better than suf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 9/1/2011 3:00 PM, David Wall wrote:
> Thanks for all the tips and ideas!
If you had already read this:
http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
...and it didn't help, we welcome any suggestions. Feel free to make
any editions y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 9/1/2011 2:00 PM, Caldarale, Charles R wrote:
>> From: David kerber [mailto:dcker...@verizon.net] Subject: Re:
>> Performance for many small requests
>
>>> You could also use the NIO connector which allows you to have
>>> fewer threads serv
You are right about the encoding of the .java file in Eclipse. I tried
in 'vi' and sure enough the codes are in there correctly. Interesting
that Eclipse opened the .jsp file and showed it nicely, but the .java
file was not. I couldn't do the properties, though, since these files
are not par
2011/9/1 David Wall :
> Thanks for the ideas, Mark, but it's still the same undesirable result.
>
> On 9/1/2011 6:58 AM, Mark Thomas wrote:
>>
>> I suspect you need:
>> <%@ page pageEncoding="UTF-8" %>
>> at the start of your JSP.
>>
>> .java files are written using UTF-8 by default so if what you
Thanks for the ideas, Mark, but it's still the same undesirable result.
On 9/1/2011 6:58 AM, Mark Thomas wrote:
I suspect you need:
<%@ page pageEncoding="UTF-8" %>
at the start of your JSP.
.java files are written using UTF-8 by default so if what you see there
is wrong then the original .jsp
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Re: Performance for many small requests
> > You could also use the NIO connector which allows you
> > to have fewer threads serve more requests without the
> > keepalive-expiration delay.
> Thanks, I'll take a look at this.
NIO may
On 9/1/2011 1:15 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 9/1/2011 10:40 AM, David kerber wrote:
I'm having some somewhat minor performance issues, not performing
quite as well as my Win2k machine with TC 5.5. Could somebody look
at my server.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 9/1/2011 10:40 AM, David kerber wrote:
> I'm having some somewhat minor performance issues, not performing
> quite as well as my Win2k machine with TC 5.5. Could somebody look
> at my server.xml and recommend some tweaks for handling tons o
>-Original Message-
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Turning off local access log
>Leo,
>
>It will also not log requests that weren't directed to your app.
>
>- -chris
Better said. That is what I was trying to get at.
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Re: Performance for many small requests
> > For small requests having a large new generation in the heap helps.
> > This helps with the short term objects in the heap to get collected.
> I'm not sure what this means, but I'll do some
On 9/1/2011 12:09 PM, Tony Anecito wrote:
Two things to think about in addition to the recommendation Chuck mentioned.
1. For small requests having a large new generation in the heap helps. This
helps with the short term objects in the heap to get collected.
I'm not sure what this means, but
On 9/1/2011 11:49 AM, Leo Donahue - PLANDEVX wrote:
-Original Message-
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Turning off local access log
On 9/1/2011 9:32 AM, Mark Thomas wrote:
On 01/09/2011 14:10, David kerber wrote:
Will removing this valve from my server.xml
Two things to think about in addition to the recommendation Chuck mentioned.
1. For small requests having a large new generation in the heap helps. This
helps with the short term objects in the heap to get collected.
2. Lots of small disk IO may slow you down also. Remember http is synchronous
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 9/1/2011 11:49 AM, Leo Donahue - PLANDEVX wrote:
>> -Original Message- From: David kerber
>> [mailto:dcker...@verizon.net] Subject: Re: Turning off local
>> access log
>>
>> On 9/1/2011 9:32 AM, Mark Thomas wrote:
>>> On 01/09/2011 14
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Re: Performance for many small requests
> Is there any indication from what I've said that
> I need a larger heap?
Don't think so, but GC logging will tell you for sure. The compressed OOPs
capability with a small heap should not i
>-Original Message-
>From: David kerber [mailto:dcker...@verizon.net]
>Subject: Re: Turning off local access log
>
>On 9/1/2011 9:32 AM, Mark Thomas wrote:
>> On 01/09/2011 14:10, David kerber wrote:
>>> Will removing this valve from my server.xml stop access logging?
>Right
>>> now it's tr
On 9/1/2011 11:36 AM, Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance for many small requests
Are you using 64-bit java or 32-bit?
64-bit.
Might want to try -XX:+UseCompressedOops, since you have a small heap on a
64-bit JVM.
I'll l
> From: David kerber [mailto:dcker...@verizon.net]
> Subject: Re: Performance for many small requests
> > Are you using 64-bit java or 32-bit?
> 64-bit.
Might want to try -XX:+UseCompressedOops, since you have a small heap on a
64-bit JVM.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
On 9/1/2011 11:13 AM, Tony Anecito wrote:
What is your current response time and what did you have before?
My issue isn't response time, it's number of requests per second handled.
Are you using 64-bit java or 32-bit?
64-bit.
What is your heap settings?
The "Initial memory pool" in to
On 01/09/2011 15:40, David kerber wrote:
> On 8/31/2011 12:25 PM, Tony Anecito wrote:
>> Hi David,
>>
>> You need to not only look at the container but it's configuration and
>> the jre that is being used. There have been a lot of improvements in
>> all areas for performance. Also, understand the s
What is your current response time and what did you have before?
Are you using 64-bit java or 32-bit?
What is your heap settings?
Are you doing web services for these requests oris this straight html?
Regards,
-Tony
--- On Thu, 9/1/11, David kerber wrote:
> From: David kerber
> Subject: Re: Pe
On 8/31/2011 12:25 PM, Tony Anecito wrote:
Hi David,
You need to not only look at the container but it's configuration and the jre
that is being used. There have been a lot of improvements in all areas for
performance. Also, understand the servlet model seems developers have
completely forgot
On 01/09/2011 03:41, David Wall wrote:
> I'm trying to track down a character encoding issue that I've been
> having, but don't really understand. Hopefully one of you will know what
> the answer is.
I suspect you need:
<%@ page pageEncoding="UTF-8" %>
at the start of your JSP.
.java files are wr
On 9/1/2011 9:32 AM, Mark Thomas wrote:
On 01/09/2011 14:10, David kerber wrote:
Will removing this valve from my server.xml stop access logging? Right
now it's trying to log every one of the 4M hits I get per day.
Can I just comment it out?
Yes, but it is a bad idea unless you h
On 01/09/2011 14:10, David kerber wrote:
> Will removing this valve from my server.xml stop access logging? Right
> now it's trying to log every one of the 4M hits I get per day.
>
> directory="logs"
>prefix="localhost_access_log." suffix=".txt"
>pattern="
Will removing this valve from my server.xml stop access logging? Right
now it's trying to log every one of the 4M hits I get per day.
directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
Can I just comment it
2011/9/1 :
> Hello,
> I reviewed following documents:
> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html and
> http://tomcat.apache.org/tomcat-7.0-doc/logging.html but did not find
> anything. Did you mean any other documetns? To clarify I have not changed
> anytching in logg
Hello,
I reviewed following documents:
http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html and
http://tomcat.apache.org/tomcat-7.0-doc/logging.html but did not find anything.
Did you mean any other documetns? To clarify I have not changed anytching in
logging.properties file.
Dn
2011/9/1 :
> What could be a root cause of this issue?
> How we could configure Tomcat to produce catalina.out file?
See logging documentation in 7.0.x for an explanation.
I wouldn't update 5.5 docs, because 5.5 is near its end-of-life.
Best regards,
Konstantin Kolinko
---
Hello,
I am having following issue:
When I am starting Tomcat (5.5.30) as Windows service all the log files
(admin.log, jakarta_service.log, localhost.log, stdout.log and stderr.log) are
generated except catalina.out file.
This issue does not happen when I use the script which starts
"%CATALINA_
36 matches
Mail list logo