Re: tomcat 7.0.40 - http sessions not expiring

2016-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 6/3/16 8:47 PM, Stephen Bhadran wrote: > *Linux version:* 2.6.32-279.5.2.el6.x86_64 ( > mockbu...@c6b10.bsys.dev.centos.org) (gcc version 4.4.6 20120305 > (Red Hat 4.4.6-4) (GCC) ) *Java Version: *1.7.0_55 *Tomcat > Version: *7.0.40

tomcat 7.0.40 - http sessions not expiring

2016-06-03 Thread Stephen Bhadran
*Linux version:* 2.6.32-279.5.2.el6.x86_64 ( mockbu...@c6b10.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) *Java Version: *1.7.0_55 *Tomcat Version: *7.0.40 *Session Timeout: *30 minutes Hi, Two of our servers reached max heap and we had to restart to resolve the

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Hardibo Pierre-Jean
there's the tuto : https://fr.godaddy.com/help/tomcat-generate-csrs-and-install-certificates-5239 use sha2 root and intermediate and for the last use my_certificate here's the repo : https://certs.godaddy.com/repository/ Le 04/06/2016 00:18, Hardibo Pierre-Jean a écrit : gdig2.crt is

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Hardibo Pierre-Jean
gdig2.crt is intermediate my_certificate must be the last to configure so i think bundle may be the root. Le 04/06/2016 00:13, Conor Skyler a écrit : Hello Pierre, Yes, I contacted the technical support at GoDaddy and then basically told me that I'm on my own and that I should find someone

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Conor Skyler
Hello Pierre, Yes, I contacted the technical support at GoDaddy and then basically told me that I'm on my own and that I should find someone that knows how to handle the configuration -- that's all the aid they gave me. I think that there two separate problems here. First one, the mismatch

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Hardibo Pierre-Jean
there's all here no ? https://fr.godaddy.com/help/tomcat-generate-csrs-and-install-certificates-5239 Le 03/06/2016 22:37, Conor Skyler a écrit : Hi again, At this point I don't know what else to try: I carefully gone through the process stated at GoDaddy's website once again trying different

AW: AW: AW: How to cancel download on the server side

2016-06-03 Thread Steffen Heil (Mailinglisten)
Hi > throw new ServletException(); That was the difference. I threw a IllegalStateException(), so tomcat sent "0\r\n". I changed my code to throw a ServletException() and now it works. Thanks for that. One very little thing left: Is there a way to suppress the logged exception: Jun 03, 2016

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Hardibo Pierre-Jean
godaddy didn't give you instructions ? Le 03/06/2016 22:37, Conor Skyler a écrit : Hi again, At this point I don't know what else to try: I carefully gone through the process stated at GoDaddy's website once again trying different combinations with the certificates (as the instructions

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-03 Thread Conor Skyler
Hi again, At this point I don't know what else to try: I carefully gone through the process stated at GoDaddy's website once again trying different combinations with the certificates (as the instructions provided by GoDaddy doesn't match the certificates you download) but the result was the same

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-03 Thread Mark Thomas
On 03/06/2016 17:14, devz...@web.de wrote: You are NOT observing a memory leak. > Regardless we have set "development" to true or false in > conf/web.xml, , whenever i recursively crawl our website with wget > (cleaning work dir before to make sure each page is being compiled > again), i can

Re: minSpareThreads for AJP connector

2016-06-03 Thread Anthony Biacco
On Tue, May 31, 2016 at 11:44 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Anthony, > > On 5/27/16 3:54 PM, Anthony Biacco wrote: > > On Fri, May 27, 2016 at 7:34 AM, Christopher Schultz < > > ch...@christopherschultz.net>

memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-03 Thread devzero
hi, we have a problem with our website for a while. I tracked it down to a memory-ressource-issue due to memory-requirements for compiling. We can throw memory at the problem to circumvent it, but it looks weird to me. Regardless we have set "development" to true or false in conf/web.xml, ,

Clustering and Context Container setup

2016-06-03 Thread Daniel Savard
Hi everyone, I am reviewing a clustering implementation I have done and after reading the documentation for Tomcat 8, which is the version I am using (8.0.35 + Oracle JDK1.8.0_92) I ran into the distributable attribute. I saw in my configuration the distributable="true" attribute is set at the

Re: AW: AW: How to cancel download on the server side

2016-06-03 Thread Mark Thomas
On 03/06/2016 15:14, Mark Thomas wrote: > On 01/06/2016 23:08, Steffen Heil (Mailinglisten) wrote: That's another story. I tried that. And the internet explorer as well as curl report an error, if the download stops without the ending 0\r\n. But I had to set "Connection:

Re: Getting HttpServletRequest in Login Module

2016-06-03 Thread Mark Thomas
On 03/06/2016 05:23, saurabh.su...@rbs.com.INVALID wrote: > I want it to get the IP address in the Login module. > > In JBoss 6 i got so: > > > 1.private String getIP() throws PolicyContextException { > 2. HttpServletRequest request = (HttpServletRequest) >

Re: AW: AW: How to cancel download on the server side

2016-06-03 Thread Mark Thomas
On 01/06/2016 23:08, Steffen Heil (Mailinglisten) wrote: >>> That's another story. >>> I tried that. And the internet explorer as well as curl report an error, if >>> the download stops without the ending 0\r\n. >>> >>> But I had to set "Connection: close" and "Transfer-Encoding: chunked" >>>

Re: How to cancel download on the server side

2016-06-03 Thread Olaf Kock
Am 03.06.2016 um 15:51 schrieb Steffen Heil (Mailinglisten): > NO. We want to stream the results to the client... It usually is > several times bigger than the memory at hand. I can think of three options right now: * Know the content-length upfront (which you don't) - with that clients could

AW: AW: How to cancel download on the server side

2016-06-03 Thread Steffen Heil (Mailinglisten)
Hi > > Yes, we thought about that. However it still leaves the problem of a > > lot of storage on the server that is used for no reason and increasing > > the time to download the backup.. > So it's better to buffer the huge download in memory instead of on the disk? > Maybe I don't understand

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-03 Thread Mark Thomas
On 02/06/2016 01:23, Sven Schleier wrote: > True, you are right. Do you have any suggestion or sample configuration that > should work you can share, or anyone else? https://www.youtube.com/watch?v=oCFwgMvouis You can use 8.5.x where you see 9.0.x. Setting org.apache.coyote.http2.level = FINE

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-03 Thread Sven Schleier
Hi Chris, ➜ apache-tomcat-8.5.2 nghttp -v https://127,0.0.1:8443 [ 0.000] Connected [ERROR] HTTP/2 protocol was not selected. (nghttp2 expects h2) Some requests were not processed. total=1, processed=0 I am not getting more information. Same behavior with hostname Thanks and cheers,