Re: ServletRequestListener and Expect-Header

2011-06-27 Thread Simon Olofsson
André, sorry for my late response. On 06/09/2011 08:20 PM, André Warnier wrote: As I read the API for the ServletRequestListener, I understand that this thing is called very early in the cycle. The spirit seems to be : provide a way to warn as soon as possible that a servlet request has come

Method to discover client disconnection on tomcat 7.0.16 with async servlet

2011-06-27 Thread Peter Cipov
Hello, I have encountered this rather strange problem in tomcat 7: I have a servlet that process requests witch asynchronous API (async-supported=true): AsyncContext async = req.startAsync(req, resp); async.addListener(...); async.setTimeout(8*60*1000); addToMap(id, async.getResponse());

too many open files issue in tomcat

2011-06-27 Thread dasari.rao
Hi, I am facing the issue of too many open files in the tomcat and not able to process any request further. Did somebody faced the same problem and what is the problem and solution for the same. This issue is creating lot of problem on the production systems and if somebody has already

Re: ServletRequestListener and Expect-Header

2011-06-27 Thread Simon Olofsson
Chris, On 06/09/2011 06:13 PM, Christopher Schultz wrote: First, log a bug in bugzilla. Then, get a copy of the source code through svn. Edit the code, build it and test it (TC7 is much easier to build than earlier versions). Use svn diff to generate a patch file and attach that to the bug

RE: too many open files issue in tomcat

2011-06-27 Thread Guy Katz
I think you will get better help by providing the following: -Which tomcat version are you using? -Which OS are you deploying on? -What is your memory setting for tomcat (if explicitly set)? -What's your file descriptor configuration in the OS (if explicitly set)? -does the problem arrive

RE: too many open files issue in tomcat

2011-06-27 Thread dasari.rao
Hi, Tomcat version is 6.0.29 OS is RHEL5.5-1 -Xms256m -Xmx768m No explicit file descriptor configuration its default of OS Not observed the out of memory error but some time found the socket problem Only tomcat is running on the server but communicates with the DB on the other server. Regards

tomcat 7.0.16 - using a thread pool

2011-06-27 Thread uri unger
hi, i'm using tomcat 7.0.16. i'm trying to define a thread pool using an Executor/Connector elements as follows: Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=6500 minSpareThreads=4/ Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2

Re: tomcat 7.0.16 - using a thread pool

2011-06-27 Thread Mark Thomas
On 27/06/2011 11:23, uri unger wrote: hi, i'm using tomcat 7.0.16. i'm trying to define a thread pool using an Executor/Connector elements as follows: Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=6500 minSpareThreads=4/ Connector port=8080

Re: too many open files issue in tomcat

2011-06-27 Thread Mark Thomas
On 27/06/2011 11:21, dasari@wipro.com wrote: Hi, Tomcat version is 6.0.29 OS is RHEL5.5-1 -Xms256m -Xmx768m No explicit file descriptor configuration its default of OS Not observed the out of memory error but some time found the socket problem Only tomcat is running on the server but

Re: too many open files issue in tomcat

2011-06-27 Thread Jason Viloria
On Mon, Jun 27, 2011 at 12:30 PM, Mark Thomas ma...@apache.org wrote: On 27/06/2011 11:21, dasari@wipro.com wrote: Hi, Tomcat version is 6.0.29 OS is RHEL5.5-1 -Xms256m -Xmx768m No explicit file descriptor configuration its default of OS Not observed the out of memory error but

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. I have clients which will contact tomcat using wget. I saw in the following link, that this can be done in tomcat by configuring the server.xml and adding a Context under Host with the path to where the

[SECURITY] CVE-2011-2204 - Apache Tomcat information disclosure

2011-06-27 Thread Mark Thomas
CVE-2011-2204 Apache Tomcat information disclosure Severity: Low Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.16 - Tomcat 6.0.0 to 6.0.32 - Tomcat 5.5.0 to 5.5.33 Earlier, unsupported versions may also be affected Description: When using the MemoryUserDatabase

Tomcat continuously writing errors

2011-06-27 Thread szekely.mate.pecs
Hi All! I use a Tomcat 5.5.23 (which was installed by others, not me - I'm not too perfect in Tomcat). The deployed app work well (which doesn't use any struts components). But, the Tomcat continuously writing errors into catalina.out (see bellow). Pls, help me, how can stop the error flood!

Re: fail to download large static files in tomcat

2011-06-27 Thread André Warnier
Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How failed ? what do the logfiles say ? Does anyone know why this can fail? Not without some better data. Is

Re: fail to download large static files in tomcat

2011-06-27 Thread Pid
On 27/06/2011 11:42, Michal Singer wrote: Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. Please post a new message to the list, rather than editing replying to an existing thread. p signature.asc Description: OpenPGP digital signature

CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Martin Kouba
Recently I've been using adapted code of CrawlerSessionManagerValve from Tomcat 7 on Tomcat 6 (JBossWeb 2.1.4 respectively). It works well. However I observed a lot of HTTP sessions that were created even if CrawlerSessionManagerValve logged sucessfull bot detection. Finally I found that

CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Martin Kouba
Recently I've been using adapted code of CrawlerSessionManagerValve from Tomcat 7 on Tomcat 6 (JBossWeb 2.1.4 respectively). It works well. However I observed a lot of HTTP sessions that were created even if CrawlerSessionManagerValve logged sucessfull bot detection. Finally I found that

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Mark Thomas
On 27/06/2011 14:19, Martin Kouba wrote: Recently I've been using adapted code of CrawlerSessionManagerValve from Tomcat 7 on Tomcat 6 (JBossWeb 2.1.4 respectively). It works well. However I observed a lot of HTTP sessions that were created even if CrawlerSessionManagerValve logged sucessfull

RE: fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
This is the error I get: wget http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz --08:27:06-- http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz = `vacc-AOS701b318-fl.tgz.1' Connecting to 172.18.206.103:80... connected. HTTP request sent, awaiting response... 200 OK Length:

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
This is the error I get: wget http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz --08:27:06-- http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz = `vacc-AOS701b318-fl.tgz.1' Connecting to 172.18.206.103:80... connected. HTTP request sent, awaiting response... 200 OK Length:

Re: fail to download large static files in tomcat

2011-06-27 Thread David kerber
On 6/27/2011 9:56 AM, Michal Singer wrote: This is the error I get: wget http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz --08:27:06-- http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz = `vacc-AOS701b318-fl.tgz.1' Connecting to 172.18.206.103:80... connected. HTTP request

tomcat recovery after hang

2011-06-27 Thread Carlos Juarez
Good morning guys. I've been working in a RHEL4 box with Apache, two tomcats 7.0.12 trying to configure mod_jk to work like a high available enviroment here is my workers.properties: ### worker.list=loadbalancer,jkstatus,server1,server2 worker.server1.type=ajp13

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Martin Kouba
You may inspire yourself with code from my blog post - http://www.symbiont-it.cz/crawlersessionmanagervalve-a-tomcat6, lines 86 to 134 (text is unfortunately in czech :-). Cheers, Martin Dne 27.6.2011 15:29, Mark Thomas napsal(a): On 27/06/2011 14:19, Martin Kouba wrote: Recently I've been

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Konstantin Kolinko
2011/6/27 Martin Kouba martin.ko...@symbiont-it.cz: Recently I've been using adapted code of CrawlerSessionManagerValve from Tomcat 7 on Tomcat 6 (JBossWeb 2.1.4 respectively). It works well. However I observed a lot of HTTP sessions that were created even if CrawlerSessionManagerValve logged

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Mark Thomas
On 27/06/2011 21:42, Martin Kouba wrote: You may inspire yourself with code from my blog post - http://www.symbiont-it.cz/crawlersessionmanagervalve-a-tomcat6, lines 86 to 134 (text is unfortunately in czech :-). No problem, I can figure it out. I actually went a different way as

Re: Tomcat 7 Embedded: Manager

2011-06-27 Thread Dark Before Dawn
Am 17.06.2011 23:47, schrieb Caldarale, Charles R: From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] Subject: Re: Tomcat 7 Embedded: Manager Where can i find the unit test examples? I browsed the src distribution but couldn't find any examples (I think I am blind :) Quite possibly,

RE: Tomcat 7 Embedded: Manager

2011-06-27 Thread Caldarale, Charles R
From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] Subject: Re: Tomcat 7 Embedded: Manager When using HTMLManagerServlet and navigating to http://localhost/manager the Manager's HTML Interface will appear. It shouldn't, unless you've been playing with the mappings in