RE: Conditional logging

2014-07-25 Thread Dames, Kristopher J
t; > On 7/22/14, 10:22 AM, Dames, Kristopher J wrote: > >> > >> Kris, > >> > >> On 7/21/14, 6:43 PM, Dames, Kristopher J wrote: > >>> Can anyone point me to an example of conditional logging in > >>> Tomcat 6? Here is what I have

RE: Conditional logging

2014-07-22 Thread Dames, Kristopher J
> > Kris, > > On 7/21/14, 6:43 PM, Dames, Kristopher J wrote: > > Can anyone point me to an example of conditional logging in Tomcat > > 6? Here is what I have tried to no avail. I want requests that > > match /*/iaahb to not be logged. > > > > In my

Conditional logging

2014-07-21 Thread Dames, Kristopher J
Can anyone point me to an example of conditional logging in Tomcat 6? Here is what I have tried to no avail. I want requests that match /*/iaahb to not be logged. In my server.xml: in my web.xml: Set Do Not Log Attribute SetDoNotLogFilter DoNotL

Maximum HTTP parameters

2014-01-08 Thread Dames, Kristopher J
My webapp needs to pass several thousand parameters in an HTTP POST request. I am required to use RHEL's tomcat packages (currently on 6.0.24). I figured out Red Hat has capped the maximum HTTP parameters at 512 and to get around it, I have to add the Java parameter "-Dorg.apache.tomcat.util.ht

RE: What if my database is unavailable at startup?

2014-01-03 Thread Dames, Kristopher J
> -Original Message- > From: Jose MarĂ­a Zaragoza [mailto:demablo...@gmail.com] > Sent: Friday, December 13, 2013 2:33 PM > To: Tomcat Users List > Subject: Re: What if my database is unavailable at startup? > > 2013/12/13 Dames, Kristopher J : > >> With

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
> can/should we assume that your URL is referencing a database on a different > machine, same network/intranet/LAN? > > > url="jdbc:oracle:thin:@x.y.com:1521:x" > > it seems as though OP is referencing a database somewhere on the 'internet'. The database server is on the same network,

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
> With testOnBorrow="true" ( I think that is the default value in Tomcat > 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work > So you are saying my configuration should work as-is to allow Tomcat to create a database connection pool to a database that was unavailable when Tomcat was

RE: What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
Daniel, I use tomcat 6.0.32. Here is an example Resource tag: This email contains information which may be PROPRIETARY IN NATURE OR OTHERWISE PROTECTED BY LAW FROM DISCLOSURE and is intended only for the use of the addresses(s) named above. If you have received this email in error, please c

What if my database is unavailable at startup?

2013-12-13 Thread Dames, Kristopher J
Hi, I use tomcat 6 and have noticed if a database is not available when tomcat starts, tomcat will not try to connect once the database becomes available. Tomcat must be restarted to establish the database connection. What are best practices regarding this? Is there a way in tomcat to get it to