Thanks for your help. I do understand now the concept. I am quite surprised
however how much code it actually took. Here is my filter configuration that
is working correctly.
This configuration basically filters out everything I don't want in my
access logs, including a couple of redundant frames
I have multiple subdirs under webapps/ . All of them work fine except a dir
called ondemand. It can not be access from browser. The permission has no
problem. Indeed I can access it at first, but after few days it's not
accessable. But if i rename it to, say mydir000, it works, but after few
days
The problem is that i cannot use copy truncate, coz the access log is
currently 200MB and we expect it to grow... it takes time to copy and in our
production system we dont want to loose the data. same issue when i use
a perl or other scripts
We are currently using tomcat 5 so option 2 i mo
Hi folks... I'm running Tomcat 6.0.18 on Windows XP and I'm trying to
use tcnative-1.dll 1.1.16... I drop the DLL in tomcat/bin and it's
picked up at startup as expected... however, trying to access any JSPs
on the server results in a blank page. If I remove the DLL everything
works fine.
Is
Mark
Your efforts to assist are greatly appreciated. Please don't take my next
question as a sign of laziness or stupidity. I'm a biginner when it comes
to programming and have been struggling with this one issue for ages.
I did everything in your suggested sollution. The one bit I need to
> From: johnrock [mailto:johnpi...@yahoo.com]
> Subject: How to configure Access logs to ignore images
>
> Checking the ServletRequest for a null attribute, however,
> does not intuitively appear to be applicable to filtering
> requests that are logged based on file extension.
Perhaps you're int
2009/5/22 Vijay :
> Hi,
> I am using a tomcat tailer which needs the file name to be the same and not
> changinging (Dont want to see the Date in the file name). hence i want a
> solution to have the logs rotated as well as the file name of the active log
> files to remain the same Do we have a
logrotate is designed to ease administration of systems that generate
large numbers of log files. It allows automatic rotation, compression,
removal, and mailing of log files. Each log file may be handled daily,
weekly, monthly, or when it grows too large.
http://ia
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
The message below was garbled when sent. Fortunately, it ended up being
preserved correctly in my sent message folder. Here it is.
- -chris
- Original Message
Subject: Re: Apache httpd vs Tomcat static content performance [mor
Sibusiso khoza wrote:
> Sure. This is how my web.xml file looks:
>
>
>
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>"http://java.sun.com/dtd/web-app_2_3.dtd";>
>
>
> Welcome to Tomcat
>
> Welcome to Tomcat
>
>
>
>
>invoker
>/servlet/*
I have set up an Access Log in Tomcat 6. Can someone tell me how to limit
access logging to only .jsp's and .html pages?
I have read numerous posts and it is amazing how many responses there are to
similiar questions that all point to the 'condition' parameter
documentation...which I have thorou
thank you!
I'm not sure how to set -XX:+HeapDumpOnOutOfMemoryError
I found somewhere I have to add it to JAVA_OPTS in catalina.sh
export JAVA_OPTS="-Xmx3200 -Djava.awt.headless=true
-XX:+HeapDumpOnOutOfMemoryError"
is that right? is catalina.sh in $CATALINA_HOME/bin right script to edit?
To
Hi Mark,
This is how my web.xml looks:
http://java.sun.com/dtd/web-app_2_3.dtd";>
Welcome to Tomcat
Welcome to Tomcat
invoker
/servlet/*
- Original Message -
From: "Mark Thomas"
To: "Tomcat Users List"
Sent: Monday, May 25, 2009 11:31 PM
Subject
Sure. This is how my web.xml file looks:
http://java.sun.com/dtd/web-app_2_3.dtd";>
Welcome to Tomcat
Welcome to Tomcat
invoker
/servlet/*
- Original Message -
From: "Patrick Herber"
To: "Tomcat Users List"
Sent: Monday, May 25, 2009 11:23 PM
Subj
Sibusiso khoza wrote:
> HI,
>
> I'm quite new at using tomcat. I've installed tomcat 4.1.
If you are new to Tomcat then start with the latest version (6.0.18).
The 4.1.x branch is about 1-2 months away from being de-supported.
> I've followed my book (Java Programming (Shelly Cashman Series)) a
Could you kindly send us an extract of your web.xml file, where the
Servlet and the serlvet mapping are defined?
Regards,
Patrick
Sibusiso khoza wrote:
HI,
I'm quite new at using tomcat. I've installed tomcat 4.1. I've followed my book (Java
Programming (Shelly Cashman Series)) and modifie
HI,
I'm quite new at using tomcat. I've installed tomcat 4.1. I've followed my
book (Java Programming (Shelly Cashman Series)) and modified my web.xml
("invoker") in the web-inf directory & enabled servlet reloading for tomcat.
Tomcat seems to be working well & all the servlet examples work
Vijay wrote:
Hi,
Any help will be useful... should i write a custom log4j class instead of
accessvalve class in tomcat?
...
Yeah, well, welcome to the beautiful and mysterious world of Tomcat
logging. It is unfortunately totally incomprehensible to mere mortals,
and you will need the assist
Hi,
Any help will be useful... should i write a custom log4j class instead of
accessvalve class in tomcat?
Regards,
On Thu, May 21, 2009 at 4:06 PM, Vijay wrote:
> Hi,
> I am using a tomcat tailer which needs the file name to be the same and not
> changinging (Dont want to see the Date in t
> From: Caldarale, Charles R
> Subject: RE: Apache httpd vs Tomcat static content performance [more
> results]
There are some extracts from the 2007 O'Reilly Tomcat book about benchmarking
on somewhat newer hardware than Chris is using:
http://www.devshed.com/c/b/BrainDump/
The interesting artic
any activity by DB would be moot if the servlet's connection to client has
already been torn down on 1 side
http://www.mail-archive.com/users@tomcat.apache.org/msg61272.html
can you run
netstat -an
to verify your connections are NOT in close_wait or time_wait?
we would need to see all connect
> From: dfobox [mailto:dfo...@gmail.com]
> Subject: Re: Migrating website from own server to hosting company
>
> Caused by: java.lang.OutOfMemoryError: Java heap space
>
> does it mean 32 Mb heap memory size isn't enough to
> resize 800 Kb picture?
Maybe. A 32 MB heap is hardly enough to do any
can anyone help me in this... i am trapped here ...
- Arvind S
"Many of lifes failure are people who did not realize how close they were to
success when they gave up."
-Thomas Edison
On Tue, May 19, 2009 at 12:57 AM, S Arvind wrote:
> Martin , i think its not session, since i tried same thi
thanks! I moved files to /lib and it worked... once
now it doesn't work
and there's error in log file
Error: One factory fails for the operation "jpeg"
Occurs in: javax.media.jai.ThreadSafeOperationRegistry
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImp
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Upload stop after 30 minutes: Processing of
> multipart/form-datarequest failed. Stream ended unexpectedly
>
> Bill Barker wrote:
>
> >>ProxyTimeout 3600
> >
> > This looks a lot like 30min ;)
> >
> Does it really ?
Maybe he was m
dfobox wrote:
Hi all,
we have a website running under Tomcat 4 on old Linux box. it works
flawlessly, but decision was made to move it to hosting company server with
Tomcat 6 on it.
I've copied website to freshly installed Tomcat 6.0.18 on my Mac, imported
database with phpMyAdmin, changed tomc
Hi all,
we have a website running under Tomcat 4 on old Linux box. it works
flawlessly, but decision was made to move it to hosting company server with
Tomcat 6 on it.
I've copied website to freshly installed Tomcat 6.0.18 on my Mac, imported
database with phpMyAdmin, changed tomcat-users.xml fil
Bill Barker wrote:
ProxyTimeout 3600
This looks a lot like 30min ;)
Does it really ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Thanks Chris for your reply.
Pls do send some of your scripts/configurations, it will be of great
help for us!
I also have one question what do you recommend here.
We have decided to have 4 physical app servers, and again 4 physcial
web server boxes. Most of the application are non critical and
29 matches
Mail list logo