RE: Tomcat connection pool "bleeding" under heavy load

2013-11-18 Thread Caldarale, Charles R
> From: David Bullock [mailto:david.bull...@machaira.com.au] > Subject: Re: Tomcat connection pool "bleeding" under heavy load > In PooledConnection#borrow(int,String,String) when handling > InterruptedException, the code there does: >Thread.interrupted();//clear the flag, and bail out > bu

Re: setting the text or binary buffer size for websockets

2013-11-18 Thread Igor Urisman
Upgraded my environment to 8RC5 and this feature works for me. Don't know how much help this is, but here's my deployment descriptor: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://ja

Re: Tomcat connection pool "bleeding" under heavy load

2013-11-18 Thread David Bullock
In PooledConnection#borrow(int,String,String) when handling InterruptedException, the code there does: Thread.interrupted();//clear the flag, and bail out but if the comment is correct, then the code is wrong (should be Thread.isInterrupted()). However, the entire line is probably not necessa

Re: Tomcat connection pool "bleeding" under heavy load

2013-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marko, On 11/18/13, 3:48 AM, marko lugarič wrote: > We have received an issue from our customer that after some time in > production they get empty connection pool. After some time we > managed to reproduce their problem in our test environment wit

Re: Intermittent Digest Authentication User Lockout

2013-11-18 Thread Bruce Weertman
I’ll answer my own question. Short story: Everything was working as designed. The problem, as we now understand it, was in fact due to the LockOutRealm http://tomcat.apache.org/tomcat-7.0-doc/config/realm.html#LockOut_Realm_-_org.apache.catalina.realm.LockOutRealm The load balancer not being st

Intermittent Digest Authentication User Lockout

2013-11-18 Thread Bruce Weertman
I am running into an intermittent problem with Digest-Authentication. This is with tomcat 7.0.39 The issue appears to be that clients will occasionally get locked out for 5 minutes. The problem appears to happen with there is a combination of good password and then bad password, or the other wa

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
On Nov 18, 2013, at 12:21 PM, Konstantin Kolinko wrote: > 2013/11/18 Nick Williams : >> > >>> >>> Regarding the list() example, >>> "map(u -> [u.username, u.firstName, u.lastName])" creates a >>> List with 3 elements and you are asking for "lastName" >>> property on that list. >> >> No, thi

Re: [OT] RE: Baked-in context paths

2013-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 11/18/13, 9:35 AM, Konstantin Preißer wrote: > Hi, > >> -Original Message- From: Konstantin Preißer >> [mailto:kpreis...@apache.org] Sent: Wednesday, November 13, 2013 >> 6:14 PM To: 'Tomcat Users List' Subject: RE: [OT] RE:

Re: mySQL connector error

2013-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phillip, On 11/17/13, 1:56 PM, Philipp Kraus wrote: > Hello, > > I'm new with Tomcat, so I hope for some help. I try to run > www.icescrum.org on my Tomcat 7 on Ubuntu 12.04 with OpenJDK. I > have installed Tomcat with apt-get and also I have insta

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Konstantin Kolinko
2013/11/18 Nick Williams : > >> >> Regarding the list() example, >> "map(u -> [u.username, u.firstName, u.lastName])" creates a >> List with 3 elements and you are asking for "lastName" >> property on that list. > > No, this is not correct. The lambda expression "u -> [u.username, > u.firstName

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
On Nov 18, 2013, at 12:05 PM, Konstantin Kolinko wrote: > 2013/11/17 Nick Williams : >> >> On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: >> >>> 2013/11/17 Nick Williams : I have an EL 3.0 edge case that I need help understanding. Am I doing something wrong (I don't think so)

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Konstantin Kolinko
2013/11/17 Nick Williams : > > On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: > >> 2013/11/17 Nick Williams : >>> I have an EL 3.0 edge case that I need help understanding. Am I doing >>> something wrong (I don't think so) or is the Tomcat 8.0 implementation >>> missing something? >>> >>>

Re: Curious difference in connection behaviour on database side DBCP vs. JDBC?

2013-11-18 Thread Daniel Mikusa
On Nov 18, 2013, at 9:48 AM, Carl Boberg wrote: > Hello, > > We have recently migrated from dbcp pool to the newer tomcat-jdbc pool. As > I understand, it is supposed to be almost a "drop in replacement" for dbcp. *Almost* is the key word here. It's very similar, but there are differences (ty

Curious difference in connection behaviour on database side DBCP vs. JDBC?

2013-11-18 Thread Carl Boberg
Hello, We have recently migrated from dbcp pool to the newer tomcat-jdbc pool. As I understand, it is supposed to be almost a "drop in replacement" for dbcp. Everything works great except once small thing. Its a bit difficult for me to explain but our DBA is really annoyed by it... With the new

RE: [OT] RE: Baked-in context paths

2013-11-18 Thread Konstantin Preißer
Hi, > -Original Message- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Wednesday, November 13, 2013 6:14 PM > To: 'Tomcat Users List' > Subject: RE: [OT] RE: Baked-in context paths > > Hi Jeffrey, > > > -Original Message- > > From: Jeffrey Janner [mailto:jeffre

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Nick Williams
Being convinced now that this is a Tomcat bug in violation of the spec--and not something I am doing wrong--I'm going to go ahead and file a bug now. N On Nov 17, 2013, at 9:32 AM, Nick Williams wrote: > > On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: > >> 2013/11/17 Nick Williams :

Tomcat connection pool "bleeding" under heavy load

2013-11-18 Thread marko lugarič
Hello! We have received an issue from our customer that after some time in production they get empty connection pool. After some time we managed to reproduce their problem in our test environment with smaller number of pool connections. So generally we have a problem that if connection pool is un