RE: How to configure Access logs to ignore images

2009-05-25 Thread johnrock
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

Why a dir names "ondemand" is not accessable under webapps/ ?

2009-05-25 Thread meili100
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

Re: tomcat Access logs

2009-05-25 Thread Vijay
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

Blank page when native DLL used

2009-05-25 Thread Frank W. Zammetti
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

Re: Please help

2009-05-25 Thread Sibusiso khoza
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

RE: How to configure Access logs to ignore images

2009-05-25 Thread Caldarale, Charles R
> 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

Re: tomcat Access logs

2009-05-25 Thread Konstantin Kolinko
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

RE: tomcat Access logs

2009-05-25 Thread Martin Gainty
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

Re: Apache httpd vs Tomcat static content performance [more results]

2009-05-25 Thread Christopher Schultz
-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

Re: Please help

2009-05-25 Thread Mark Thomas
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/*

How to configure Access logs to ignore images

2009-05-25 Thread johnrock
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

RE: Migrating website from own server to hosting company

2009-05-25 Thread dfobox
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

Re: Please help

2009-05-25 Thread Sibusiso khoza
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

Re: Please help

2009-05-25 Thread Sibusiso khoza
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

Re: Please help

2009-05-25 Thread Mark Thomas
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

Re: Please help

2009-05-25 Thread Patrick Herber
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

Please help

2009-05-25 Thread Sibusiso khoza
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

Re: tomcat Access logs

2009-05-25 Thread André Warnier
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

Re: tomcat Access logs

2009-05-25 Thread Vijay
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

RE: Apache httpd vs Tomcat static content performance [more results]

2009-05-25 Thread Caldarale, Charles R
> 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

RE: maxwait in dbconnetion is not workiing for first time.

2009-05-25 Thread Martin Gainty
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

RE: Migrating website from own server to hosting company

2009-05-25 Thread Caldarale, Charles R
> 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

Re: maxwait in dbconnetion is not workiing for first time.

2009-05-25 Thread S Arvind
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

Re: Migrating website from own server to hosting company

2009-05-25 Thread dfobox
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

RE: Upload stop after 30 minutes: Processing of multipart/form-datarequest failed. Stream ended unexpectedly

2009-05-25 Thread Caldarale, Charles R
> 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

Re: Migrating website from own server to hosting company

2009-05-25 Thread André Warnier
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

Migrating website from own server to hosting company

2009-05-25 Thread dfobox
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

Re: Upload stop after 30 minutes: Processing of multipart/form-data request failed. Stream ended unexpectedly

2009-05-25 Thread André Warnier
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

Re: enterprise tomcat hosting, architecture. How will u do it?

2009-05-25 Thread List Member
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