Which mySQL driver should I be using?

2015-07-28 Thread Jerry Malcolm
I have been using Tomcat and mySQL for many years in a few different environments. Some of the configurations are using org.gjt.mm.mysql.Driver and some are using com.mysql.jdbc.Driver. I could even attempt to tell you the history of why I have one driver in some situations and the other

Re: Apache HTTPD (with SSL) + mod_jk + TomEE (Tomcat) nullify the ssl session id

2015-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 7/28/15 2:25 AM, Alex Soto wrote: Well the answer comes from httpd team do I expect they aware of this. Moreover they explained me this about ticketing and why it is normal this behaviour If this is expected behavior, it's certainly

Re: Apache HTTPD (with SSL) + mod_jk + TomEE (Tomcat) nullify the ssl session id

2015-07-28 Thread Alex Soto
I send you here the link so you can read it http://httpd.markmail.org/search/?q=Alex%20Soto#query:Alex%20Soto+page:1+mid:74py424qest6gnj3+state:results El dt., 28 jul. 2015 a les 17:33, Christopher Schultz ( ch...@christopherschultz.net) va escriure: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: [OT] Which mySQL driver should I be using?

2015-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 7/28/15 6:44 PM, Jerry Malcolm wrote: I have been using Tomcat and mySQL for many years in a few different environments. Some of the configurations are using org.gjt.mm.mysql.Driver and some are using com.mysql.jdbc.Driver. I could

Re: [OT] Which mySQL driver should I be using?

2015-07-28 Thread Jerry Malcolm
Thanks for the info Chris. I know it wasn't specifically a TC question. But I started having db connection problems after moving to TC 8 (see my latest post...) and I was just kinda grasping at straws thinking it might have had something to do with a back level jdbc driver. It appears the

Too Many Connections exceptions after moving to Tomcat 8

2015-07-28 Thread Jerry Malcolm
I am trying to move my client to Tomcat 8 from 7. We've been on 7 for a year or two and have not had any major issues. I read through the 7--8 migration instructions. As far as I can tell, I have renamed all of the resource config parameters that changed (maxTotal, maxWaitMillis,

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 7/28/15 2:29 PM, John Baker wrote: Hello, I'm not sure how long ago that was, but I don't live in the Windows world. I would have thought that someone at Apache Lounge would have balked if a release was broken. Were you building a

Re: TOMCAT 7 , Native CORS FILTER and Spring Security

2015-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maatari, On 7/23/15 10:49 AM, Maatari Daniel Okouya wrote: Hi, I am using TOMCAT 7, and I have enable the CORS FILTER as per the explanation on the official website: https://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filte r

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread John Baker
Hello, I'm not sure how long ago that was, but I don't live in the Windows world. I would have thought that someone at Apache Lounge would have balked if a release was broken. Were you building a release version, or trunk? I downloaded a release. This was a few years ago now. I suspect

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread Andy Wang
On 07/28/2015 02:03 PM, Christopher Schultz wrote: On 7/28/15 2:29 PM, John Baker wrote: Hello, I'm not sure how long ago that was, but I don't live in the Windows world. I would have thought that someone at Apache Lounge would have balked if a release was broken. Were you building a

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread Andy Wang
On 07/28/2015 03:02 PM, Andy Wang wrote: I'd also like a better way and after discussing with some security-geeks, we were wondering if there's some way we can implement a Valve that takes a username and a signature using a shared secret. The problem is signing in Apache: I've not looked too

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread John Baker
I haven't looked too closely, but I'm not sure what standard mechanisms there are to communicate this through a proxy. variables don't pass through a proxy, and a HEADER is NOT the proper solution here unless you also implement something similar to the Tomcat RemoteIpValve where you have

Re: Apache HTTPD (with SSL) + mod_jk + TomEE (Tomcat) nullify the ssl session id

2015-07-28 Thread Alex Soto
Well the answer comes from httpd team do I expect they aware of this. Moreover they explained me this about ticketing and why it is normal this behaviour Alex El dl., 27 de jul., 2015 a les 23.32 Christopher Schultz ch...@christopherschultz.net va escriure: -BEGIN PGP SIGNED MESSAGE-

Re: Tomcat, REMOTE_USER, getRemoteUser()

2015-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 7/28/15 4:10 PM, John Baker wrote: I haven't looked too closely, but I'm not sure what standard mechanisms there are to communicate this through a proxy. variables don't pass through a proxy, and a HEADER is NOT the proper solution