Re: Why is my Tomcat connection getting terminated/closed?!!

2014-06-17 Thread Jose María Zaragoza
> > > Hi, > > The issue still isnt resolved .I have tried putting in > validationquery,testOnborrow ,and removeabandoned=true. Are you try testOnReturn = true ? Looks like if when Apache Solr closes resources, and it requires to close the database connection, something has already closed the un

Re: Tomcat opening thousands of files

2014-06-17 Thread Prashant Deva
ok running on tomcat 8.0.8 with spring 4.0.5 and reactor 1.1.2, my log within minutes gets filled with these exceptions. Seems like it could be a tomcat issue after all: 11:35:37,922 ERROR http-nio-80-exec-37 handler.LoggingWebSocketHandlerDecorator:61 - Transport error for SockJS session id=hv4nc

Re: Tomcat opening thousands of files

2014-06-17 Thread Martin Grigorov
Hi Prashant, On Tue, Jun 17, 2014 at 2:40 PM, Prashant Deva wrote: > ok running on tomcat 8.0.8 with spring 4.0.5 and reactor 1.1.2, my log > within minutes gets filled with these exceptions. > > Seems like it could be a tomcat issue after all: > This error could be also read as: the client (th

mod_jk and session stickiness

2014-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've been using sticky sessions with mod_jk and I can see that there is a bit of a problem when attempting to take a backend Tomcat server out of load-balanced rotation: a user who never (or rarely) restarts their web browser will keep the same

Re: How to create an alias for a context name

2014-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Colin, On 6/14/14, 10:05 AM, Colin Ingarfield wrote: > On Fri, Jun 13, 2014 at 4:39 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> James, >> >> On 6/13/14, 4:11 PM, James H. H. Lampert wrote: >>> When t

Re: Major Minor Version issue when using jersey 2.9 with tomcat7 + java8

2014-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Selvakumar, On 6/17/14, 2:44 AM, Selvakumar wrote: > Recompiling sources on jdk8 didnt resolve the error? > > -Original Message- From: "Seshumadhav Chaturvedula" > Sent: ‎16-‎06-‎2014 12:15 PM To: > "users@tomcat.apache.org" Subject: Majo

Re: AW: Choosing provider to load pkcs12 keystore for ssl

2014-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steffen, On 6/16/14, 12:01 PM, Steffen Heil (Mailinglisten) wrote: > Okay, I must have overlooked the "keystoreProvider" attribute > completely. Sorry for that and thanks a lot for the hint. > > However that only solved the loading part of the prob

server.xml socketBuffer setting

2014-06-17 Thread David kerber
Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. What should I use as a guideline for setting the socketBuffer setting in server.xml? Should it just be big enough to handle a single response with a little headroom? Or does it handle more than one response at a time?

Re: Problems with excessive connection timeouts

2014-06-17 Thread Konstantin Kolinko
2014-06-16 19:44 GMT+04:00 Martin Knoblauch : > Hi, > > my environment is: > > OS SuSE SLES11/SP2 64-bit > HTTP frontend: Apache2-2.2.21 (64-bit) > mod_jk: 1.2.37 > > > Problem short: excessive connection timeouts with weird socket ids > Problem long: we frontend 4 Tomcats (7.0.42) using Apache2(2

How to protect a Tomcat server/Webapp from (D)DOS attacks

2014-06-17 Thread Lmhelp1
Hello, My question is not really "Tomcat" specific but, as my Webapp is a "Tomcat" Webapp, I thought I should post this question here. Below is what I would like to ask you: How do you usually protect your "Tomcat" servers and Webapps from (D)DOS ((Distributed) Denial-of-service) attacks? A

Re: How to protect a Tomcat server/Webapp from (D)DOS attacks

2014-06-17 Thread chris derham
Léa, > Below is what I would like to ask you: > How do you usually protect your "Tomcat" servers and Webapps from (D)DOS > ((Distributed) Denial-of-service) attacks? If you allow the DOS traffic to make it all the way up to the application layer before you detect it, then the DOS will still have

Any recommendations on heap settings for Tomcat on an AS/400?

2014-06-17 Thread James H. H. Lampert
We launch Tomcat from a CL program, with a command front-end, and currently we have the defaults set to 512M for the minimum heap space, and 2048M for the maximum, running 7.0.47 or 7.0.54, and using the JVM at /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit. Any recommendations about heap size, pa

Re: Any recommendations on heap settings for Tomcat on an AS/400?

2014-06-17 Thread Wang, John
I recommended you to set up the min Heap Size = Max Heap Size = 2048M. Don¹t forget to set up proper min and max permanent size as well. If your Tomcat needs to create a lot threads, think about reducing the stack size to accommodate more threads in a limit memory. It requires to set up proper valu

Re: Any recommendations on heap settings for Tomcat on an AS/400?

2014-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 6/17/14, 2:21 PM, James H. H. Lampert wrote: > We launch Tomcat from a CL program, with a command front-end, and > currently we have the defaults set to 512M for the minimum heap > space, and 2048M for the maximum, running 7.0.47 or 7.0.5

Release date of Tomcat 6.0.42 ?

2014-06-17 Thread Utkarsh Dave
Can i please know when Tomcat 6.0.42 will be released. If not exact an estimation will also help. -Thanks Utkarsh - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.ap

Re: Problems with excessive connection timeouts

2014-06-17 Thread Martin Knoblauch
Hi Konstantin, yeah, found out two hours after posting. Embarassing, isn't it. Thanks Martin On Tue, Jun 17, 2014 at 7:14 PM, Konstantin Kolinko wrote: > 2014-06-16 19:44 GMT+04:00 Martin Knoblauch : > > Hi, > > > > my environment is: > > > > OS SuSE SLES11/SP2 64-bit > > HTTP frontend: Apa

RE: Regarding JSESSIONIDSSO Cookie maintained by tomcat

2014-06-17 Thread Radha Krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at Cisco)
Hi Tomcat Users, We are using Tomcat 6.0.37 version. I have few questions regarding JSESSIONIDSSO cookie generated by tomcat. As you know, in general each cookie needs to set "httpOnly" and "Secure" flags. I understand both JSESSIONID and JSESSIONIDSSO cookies are maintained by Tomcat for sessi

Re: Release date of Tomcat 6.0.42 ?

2014-06-17 Thread Mark Thomas
On 18/06/2014 06:46, Utkarsh Dave wrote: > Can i please know when Tomcat 6.0.42 will be released. When it is ready. > If not exact an estimation will also help. 6.0.x releases happen less frequently than 7.0.x and 6.0.x so my guess is at least a month away if not more. Mark --