NPE in SecureNioChannel (TC 8.5.5)

2016-09-20 Thread Colin Ingarfield
Hello, A thread from a day or two ago mentioned a NPE in SecureNioChannel when the connector is configured with Http11NioProtocol. OP mentioned using Http11Nio2Protocol resolves the issue. I am also seeing this exception and it is resolved by switching to the Nio2 protocol implementation. Is

Re: How to create an alias for a context name

2014-06-14 Thread Colin Ingarfield
On Fri, Jun 13, 2014 at 4:39 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 6/13/14, 4:11 PM, James H. H. Lampert wrote: When this thread first came up, I tried one obvious approach: creating a symbolic link in the file

Re: How to create an alias for a context name

2014-06-13 Thread Colin Ingarfield
On Fri, Jun 13, 2014 at 8:37 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2014-06-12 21:56 GMT+04:00 Colin Ingarfield colin...@gmail.com: Hello, Is it possible in Tomcat 6/7 to create an alias for a context? We have a context that includes an underscore and that is unfortunately

How to create an alias for a context name

2014-06-12 Thread Colin Ingarfield
Hello, Is it possible in Tomcat 6/7 to create an alias for a context? We have a context that includes an underscore and that is unfortunately causing problems w/ a load balancer and cookie paths. Our URLs resemble this: https://example.com/the_context/login.jsp Where we have deployed a war

Re: Deadlock when using jetty 8 JDBCSessionManager and Tomcat 7 JDBC Connector

2013-03-19 Thread Colin Ingarfield
: On 15/03/2013 21:36, Colin Ingarfield wrote: Short version: Your upgrade to the latest Connector/J will have fixed this particular problem. Long version: snip/ Found one Java-level deadlock: = snip Thread 1: Here are the stack traces: Thread 12820: (state

Re: Deadlock when using jetty 8 JDBCSessionManager and Tomcat 7 JDBC Connector

2013-03-15 Thread Colin Ingarfield
On Fri, Mar 15, 2013 at 2:21 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Colin, On 3/14/13 3:41 PM, Colin Ingarfield wrote: (Sorry I cannot reply correctly b/c I was on the digest list) The deadlocked threads: Deadlock

Deadlock when using jetty 8 JDBCSessionManager and Tomcat 7 JDBC Connector

2013-03-12 Thread Colin Ingarfield
Hello, We're using Jetty 8.1.3.v20120416 w/ JDBCSessionManager as our application server with Tomcat 7's JDBC Connection pool 7.0.28. We've run this particular combination in production since at least Sept 2012. (Java 6 64 bit/Ubuntu, Amazon RDS/MySQL db.) This morning one Jetty instance

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-26 Thread Colin Ingarfield
- Original Message - From: Colin Ingarfield colin...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 22, 2012 8:06:14 AM Subject: Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32) Ah, Wireshark. My friend calls

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
Chris, On Thu, Mar 22, 2012 at 7:40 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin, On 3/21/12 12:11 PM, Colin Ingarfield wrote: I added the 3 abandoned settings but I don't see any indication in the tomcat log

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
validation every single time by doing validationInterval=1 after that, if it was me, I'd start pulling in something like Wireshark to see what is going on Filip - Original Message - From: Colin Ingarfield colin...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
holding on to the flawed connection, cause there would have been several validations during the 2 hour period :) I think there is a loop somewhere that when it fails it just retries and retries, logAbandoned will show that though. Filip - Original Message - From: Colin Ingarfield

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-21 Thread Colin Ingarfield
-Original Message- From: Colin Ingarfield [mailto:colin...@gmail.com colin...@gmail.com] Sent: Monday, March 19, 2012 1:51 PM To: users@tomcat.apache.org Subject: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32) Hello, I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-21 Thread Colin Ingarfield
Hello, I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu x86_64. I would like to increase the logging from the pool to try and chase down connection timeouts. Where your 1.1.0.1 comes from? It is not an official release. Released versions of jdbc-pool come

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-21 Thread Colin Ingarfield
My configuration: Resource auth=Container name=jdbc/cdb.mysql defaultAutoCommit=false driverClassName=com.mysql.jdbc.Driver factory=org.apache.tomcat.jdbc.pool.DataSourceFactory url=jdbc:mysql://X.com/_dev?sessionVariables=TRANSACTION ISOLATION LEVEL READ COMMITTED

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-21 Thread Colin Ingarfield
- Original Message - From: Colin Ingarfield colin...@gmail.com To: users@tomcat.apache.org Sent: Wednesday, March 21, 2012 9:30:46 AM Subject: Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32) My configuration: Resource auth=Container name=jdbc/cdb.mysql

how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-19 Thread Colin Ingarfield
Hello, I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu x86_64. I would like to increase the logging from the pool to try and chase down connection timeouts. I added the following line to $CATALINA_BASE/conf/logging.properties: org.apache.tomcat.jdbc.pool.level=FINE (the