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 wrote: > > > It seems you are doing clustering? > > The cluster needs to be able to serialize sessions in order to replicate > them over the network.

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

2009-08-13 Thread Rastogi Nikhil
27;ll 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 fro

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

2009-08-13 Thread Rastogi Nikhil
uency. Any help on this will be appreciated. -Nikhil -- View this message in context: http://www.nabble.com/NullPointerException---org.apache.tomcat.util.http.MimeHeaders.clear%28MimeHeaders.java%3A130%29-tp24950113p24950113.html Sent from the Tomcat - User mailing list archive at Nabbl

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-17 Thread Nikhil
MOTE_USER variable via getAttribute method. I was blindly using two arguments to JkEnvVar earlier. Thanks a lot for all the patience and help!. :-) Regards, Nikhil

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 b

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]> >>

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

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-16 Thread Nikhil
from request.getRemoteUser()? No, but I would not want to have this method invoked 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-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? > > Precis

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 po

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
If noticed, auth=(null) and user=(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 >

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-15 Thread Nikhil
I need to make any changes to configuration file. Thanks, Nikhil - =

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 th

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 real

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=10431829842&r=1&w=2

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
String value = (String)e2.nextElement(); %> <%= name %> <%= value %> <% } } %> -- 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
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. >>

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-14 Thread Nikhil
by 'protocol="AJP/1.3"'. > > > Regards, > > Rainer > Oops.. here is the http connector line in my configuration: 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-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 >

Re: tomcat, apache with mod_jk and mod_auth_kerb

2008-07-13 Thread Nikhil
ks Chuck. I am using Tomcat 5.5.12 and I could not find this attribute in the server.xml configuration. What is the equivalent of RemoteAddressValve for v5.5.12 ? Nikhil

tomcat, apache with mod_jk and mod_auth_kerb

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