mod_jk load balancing method: Session vs Next

2015-06-29 Thread Yugo Nagata
Hi, I'm reading the document about load balancing method of mod_jk workers.properties. However, I don't understand why "Next" is better than "Session" if numbers of sessions is small. How does the count reducing method affect an election of the best worker? Could anyone explain the theory? Rega

Re: Question on warning message from catalina log file

2015-06-29 Thread André Warnier
minh tran wrote: Hello , I tried to deploy myproj war file to tomcat production server and I got this message from the catalina log file saying that "WARNING: A myproj docBase inside the host appBase has been specified, and will be ignored".I don't know what it meant but one thing I know that

re: Question on warning message from catalina log file

2015-06-29 Thread minh tran
Hello , I tried to deploy myproj war file to tomcat production server and I got this message from the catalina log file saying that "WARNING: A myproj docBase inside the host appBase has been specified, and will be ignored".I don't know what it meant but one thing I know that  myproj did not get

RE: [OT] Re: Filter behaviour

2015-06-29 Thread George Stanchev
Yeah, you're right. I don't see *MUST* in my reference either. They *must* /pun intended/ have dropped the language for SOAP 1.2. A little vague, with this table, though the table implicitly states that it *MUST* be 400 or 500 since there is no other code that and it is a complete table. I said

Re: [OT] Re: Filter behaviour

2015-06-29 Thread André Warnier
George Stanchev wrote: For SOAP, you *MUST* send back 500 or 400 with your SOAP fault back. [1] http://www.w3.org/TR/soap12-part2/#tabresstatereccodes Not to start a fight on SOAP on this Tomcat forum, but in the wording of the section referenced above, I definitely do not see that you *MUST*

Re: Tomcat - OOM Perm gen

2015-06-29 Thread Kiran Badi
Hi Chris, The number of users shouldn't impact your PermGen space. Perhaps only once you get to that stage are you hitting enough of your features to load classes into PermGen. (Or maybe you are using String.intern a lot...) I analysed some logs and I could see that users query features which mak

RE: [OT] Re: Filter behaviour

2015-06-29 Thread George Stanchev
For SOAP, you *MUST* send back 500 or 400 with your SOAP fault back. [1] http://www.w3.org/TR/soap12-part2/#tabresstatereccodes -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Saturday, June 27, 2015 11:45 PM To: Tomcat Users List Subject: [OT] Re: Filter behaviou

Re: SSL configuration using PFX as keystore

2015-06-29 Thread André Warnier
Mark Thomas wrote: On 26/06/2015 19:37, Mark Thomas wrote: On 22/06/2015 11:56, Mark Thomas wrote: On 22/06/2015 09:39, Mark Thomas wrote: Prompting for authentication in response to an untrusted certificate is bizarre to say the least. Microsoft generously provide MSDN subscriptions for A

Re: SSL configuration using PFX as keystore

2015-06-29 Thread Mark Thomas
On 26/06/2015 19:37, Mark Thomas wrote: > On 22/06/2015 11:56, Mark Thomas wrote: >> On 22/06/2015 09:39, Mark Thomas wrote: > > > >> Prompting for authentication in response to an untrusted certificate is >> bizarre to say the least. >> >> Microsoft generously provide MSDN subscriptions for Apa

Re: Distinct servlets for different domains in one web application

2015-06-29 Thread Christian
André, On 29.06.2015 12:15, André Warnier wrote: Christian wrote: André, On 28.06.2015 23:11, André Warnier wrote: Christian wrote: Mark, On 28.06.2015 19:58, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: Hello all, i

Re: Distinct servlets for different domains in one web application

2015-06-29 Thread André Warnier
Christian wrote: André, On 28.06.2015 23:11, André Warnier wrote: Christian wrote: Mark, On 28.06.2015 19:58, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 6/28/2015 9:01 AM, Christian wrote: Hello all, is it somehow possible to create a web application w

?????? why only 2 requests for async request can raise from a end-point?

2015-06-29 Thread ????
Hi, I wrote a test tool with c#, not with browser, and each request has it's own session, that browser not support now. And, PHP and IIS can change option to set the limitation of one end-point requests, so i can't agree browser has this limit. I have run tomcat in localhost, and 100 reques

Re: why only 2 requests for async request can raise from a end-point?

2015-06-29 Thread Ari Luoma
Hi, The number of concurrent connections is limited by the browser: http://stackoverflow.com/questions/561046/how-many-concurrent-ajax-xmlhttprequest-requests-are-allowed-in-popular-browse Best Regards, Ari Luoma On Mon, Jun 29, 2015 at 12:08 PM, 许明 wrote: > Hi, > > I am trying to bench async

why only 2 requests for async request can raise from a end-point?

2015-06-29 Thread ????
Hi, I am trying to bench async servlet, tomcat7 and tomcat8, now it's seems I can only start 2 request from a end-point. I make a simple tool, start 100 request same time, each request has own session, and write a simple async servlet, which pasted in the bottom of this mail. It's the resu

Re: why is Tomcat 7 invoking WebSocket protocol?

2015-06-29 Thread Mark Thomas
On 29/06/2015 07:12, Ric Bernat wrote: > > We have a Jersey application running on Tomcat 7.0.62. In production, > 99.9% of our web service calls run quickly (e.g., 100ms), but there are > about half a dozen web service calls per hour that take an extraordinary > amount of time to complete: 30-120