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
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
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
!. :-)
Regards, 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
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
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
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
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
=(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
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
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.
=2 disableUploadTimeout=true /
Thanks Rainer. I will try out the later releases.. may be tomcat6 itself.
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
%/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
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
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
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'
--
Are there any other ways? or I could be also missing any lines/directives in
the configuration?
Thanks, Nikhil
this attribute
in the server.xml configuration. What is the equivalent of
RemoteAddressValve for v5.5.12 ?
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
21 matches
Mail list logo