How to rotate Tomcat Access Log file, by file size rather than by the date

2016-04-13 Thread Nikhil Agrawal
Hi , I am using Tomcat 7.0. Presently my access log is creating everyday(big size file) and keep on a accumulating. I want's to rotate Access Log files by file size. How to do that? Thanks, Nikhil

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Nikhil Dhankani
Yes my environment is a clustered one. Thanks Rainer for the quick response, this was really helpful. On Mon, Jul 23, 2012 at 3:40 PM, Rainer Jung rainer.j...@kippdata.dewrote: It seems you are doing clustering? The cluster needs to be able to serialize sessions in order to replicate them

Re: NullPointerException - org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130)

2009-08-13 Thread Rastogi Nikhil
try setting `RECYCLE_FACADES=true` in 6.0.20 catalina.bat and get back if required. Thanks, Nikhil -- View this message in context: http://www.nabble.com/NullPointerException---org.apache.tomcat.util.http.MimeHeaders.clear%28MimeHeaders.java%3A130%29-tp24950113p24954213.html Sent from

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-17 Thread Nikhil
!. :-) Regards, Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-16 Thread Nikhil
everytime I want to know a logged in account instead an already set (global) variable value (preferrably by httpd and passed onto the tomcat) would do. Regards, Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-16 Thread Nikhil
I tried using both getAttribute methods and getHeaderNames/getHeaders methods but unfortunately the variables are set to null On Wed, Jul 16, 2008 at 2:01 PM, André Warnier [EMAIL PROTECTED] wrote: Nikhil wrote: On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung [EMAIL PROTECTED] wrote: What do

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-16 Thread Nikhil
Thanks for the explanation, Rainer. Fine, I am going with using the method only then... Regards, Nikhil On Wed, Jul 16, 2008 at 3:22 PM, Rainer Jung [EMAIL PROTECTED] wrote: Nikhil schrieb: On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung [EMAIL PROTECTED] wrote: To repeat two of my

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-16 Thread Nikhil
On Wed, Jul 16, 2008 at 3:22 PM, Rainer Jung [EMAIL PROTECTED] wrote: Nikhil schrieb: On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung [EMAIL PROTECTED] wrote: To repeat two of my questions: What do you expect to be the value of the 'REMOTE_USER' variable? Do you expect something else

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
if I need to make any changes to configuration file. Thanks, Nikhil - ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
=(null) are being set ... but I wonder why? Do I have to look somewhere else to make any changes too ? On Tue, Jul 15, 2008 at 12:39 PM, Nikhil [EMAIL PROTECTED] wrote: I am still not able to get this straight. Looking at the server.xml tells me there is a userDatabase resource that is looked

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
On Tue, Jul 15, 2008 at 2:23 PM, Rainer Jung [EMAIL PROTECTED] wrote: Nikhil schrieb: [Tue Jul 15 12:57:40 2008] [20026:0001] [debug] mod_jk.c (607): Service protocol=HTTP/1.1 method=GET host=(null) addr=149.77.175.155 name= is3.hyd.deshaw.com port=8080 auth=(null) user=(null) laddr

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung [EMAIL PROTECTED] wrote: What do you expect to be the value of the 'REMOTE_USER' variable? Do you expoect something else, than what you get from request.getRemoteUser()? What do you mean by variable? Maybe an httpd environment Variable? Precisely.

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
=2 disableUploadTimeout=true / Thanks Rainer. I will try out the later releases.. may be tomcat6 itself. Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 4:22 PM, Nikhil [EMAIL PROTECTED] wrote: On Mon, Jul 14, 2008 at 2:39 PM, Rainer Jung [EMAIL PROTECTED] wrote: First of all 5.5.12 is very outdated and also very early in the 5.5 release cycle. You need to add 'tomcatAuthentication=false' in the Connector element

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
%/td td class=gray%= value %/td /tr % } } % -- Any suggestions? (Although I am still to try out the Tomcat6, but would prefer for fixing the existing installation unless there are any real problems in the tomcat version that I am using. Thanks, Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
Rainer, I seem to have found a related link on this but this is really old pertaining to the older versions of Tomcat.. any suggestions please. http://marc.info/?t=10431829842r=1w=2

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
I tried out Tomcat6 too and added 'tomcatAuthentication=false' to the ajp connector but that still not work. :-( On Mon, Jul 14, 2008 at 7:15 PM, Nikhil [EMAIL PROTECTED] wrote: Rainer, I seem to have found a related link on this but this is really old pertaining to the older versions

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
On Mon, Jul 14, 2008 at 7:46 PM, Rainer Jung [EMAIL PROTECTED] wrote: Use request.getRemoteUser() HTH Rainer Thanks Rainer. I am now using Tomcat6(latest stable release) and configured the server.xml with ajp connector to use tomcatAuthentication=false and I am still getting the 'null'

tomcat, apache with mod_jk and mod_auth_kerb

2008-07-13 Thread Nikhil
-- Are there any other ways? or I could be also missing any lines/directives in the configuration? Thanks, Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-13 Thread Nikhil
this attribute in the server.xml configuration. What is the equivalent of RemoteAddressValve for v5.5.12 ? Nikhil

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-13 Thread Nikhil
The remote user gets forwarded automatically, but in order to make Tomcat accept that info and not try to authenticate itself, you need to set tomcatAuthentication=false in the ajp connector element in server.xml. See also http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html If you