RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
Never mind. I understand now what you mean. Please ignore my previous question. Thanks, -Original Message- From: Michal Singer Sent: ד 29 יוני 2011 09:22 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I didn't understand where you recommended to move

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
Hi, I didn't understand where you recommended to move the Context to, What is the bundles.xml? are you referring to web.xml for a specific web application? Thanks, Michal -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: ג 28 יוני 2011 15:51 To: Tomc

RE: tomcat recovery after hang

2011-06-28 Thread Carlos Juarez
> Date: Tue, 28 Jun 2011 17:15:00 +0200 > From: rainer.j...@kippdata.de > To: users@tomcat.apache.org > Subject: Re: tomcat recovery after hang > > On 27.06.2011 18:47, Carlos Juarez wrote: > > > > Good morning guys. > > > > I've been working in a RHEL4 box with Apache, two tomcats 7.0.12 try

Re: ServletRequestListener and Expect-Header

2011-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/9/2011 2: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

RE: specifying the content-type

2011-06-28 Thread Lentes, Bernd
> > > Andre Warnier wrote: > > > > > On 6/1/2011 1:04 PM, Lentes, Bernd wrote: > >>> Okay. Can you post your servlet code, then? > >> I have to ask our developers. > > > > Okay. > > > >>> There is no default Content-Type for HTTP responses, so > >>> getting a response directly from Tomcat might cau

Re: tomcat recovery after hang

2011-06-28 Thread Rainer Jung
On 27.06.2011 18:47, Carlos Juarez wrote: > > 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,jks

Re: Problems with installing ssl certificate under tomcat

2011-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Piotr, On 6/28/2011 9:28 AM, Piotr Pawlowski wrote: > Since yesterday I am trying to install to install certificate under Tomcat > (7.0.16) without luck. Which ? SSL configuration is different when using APR's SSL engine. > I received from my client

Re: Best practise when using the datasource database realm

2011-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/28/2011 2:55 AM, André Brunnsberg wrote: > I have been testing the datasource database realm in combination with the > new Tomcat database pool and it seems to work fine. > However I would like to know if you guys use the same database poo

Problems with installing ssl certificate under tomcat

2011-06-28 Thread Piotr Pawlowski
Hello all, Since yesterday I am trying to install to install certificate under Tomcat (7.0.16) without luck. I received from my client three files: wildcard certificate (cert.crt) , key file (cert.key) and something what is not quite clear for me - cabundle.pem . I've successfully used some java s

RE: fail to download large static files in tomcat

2011-06-28 Thread Caldarale, Charles R
> From: Michal Singer [mailto:michal.sin...@expand.com] > Subject: RE: fail to download large static files in tomcat > From the tomcat documentation I read this useSendFile is default > to true and it is defined under nio. This is correct; NIO does support sendfile, as does APR. > As I mention

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
Thanks for the great explanation. I still have 2 questions: 1. From the tomcat documentation I read this useSendFile is default to true and it is defined under nio. Does this support what you wrote about "ARP native" connector? 2. As I mentioned before, I am defining the static context under Eng

Re: fail to download large static files in tomcat

2011-06-28 Thread André Warnier
Michal Singer wrote: The useSendfile relates to connectors, the configuration I understand is needed is in under Engine > Host > Context ( Hi. Let me explain, in not too technical or precise terms, what the useSendFile means. Normally, to copy a filesystem file to the servlet response fileha

Possible servlet spec mismatch in async timeout situations

2011-06-28 Thread fl-00
Hi together, I think I found a possible mismatch against the servlet spec with async timeouts on Tomcat 7.0.16. When performing a dispatch() from within an onTimeout handler, Tomcat does not call the onComplete handler after the request has been dispatched. The servlet spec states that an onCo

Re: getAllClusterSessions gives OptionalDataException

2011-06-28 Thread Konstantin Kolinko
2011/6/23 Ronald Klop : > Hi, > > I have an exception when one on my Tomcat nodes restarts. The session are > not synced and user complain about being logged out. I was running 6.0.32 > and had the problem. Now I'm running a custom build of 6.0.33 from > yesterday. I added a little code which print

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-28 Thread Martin Kouba
org.apache.catalina.SessionListener does not have to be defined in web.xml. It's Tomcat internal class - org.apache.catalina.Session has method addSessionListener()... Though javax.servlet.http.HttpSessionBindingListener may be a better solution, because it's part of a standard. Martin 2011/6/28

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
The useSendfile relates to connectors, the configuration I understand is needed is in under Engine > Host > Context (mailto:a...@ice-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... > > This worked fine