separate log4j configurations

2005-02-01 Thread Tony Tomcat
Is it safe to have 1 log4j.properties setup for all of tomcat and then override it for a webapp that might need slightly different logging? For example.. I place log4j.jar and the Jakarta commons-logging.jar into the $TOMCAT_HOME/common/lib directory and have a log4j properties file in

Server.xml parameters unavailable after reload

2005-02-17 Thread Tony Tomcat
I am unable to read init parameters in my server.xml file when my webapp is reloaded. This issue was documented in the following bug http://issues.apache.org/bugzilla/show_bug.cgi?id=19852 It said the bug was fixed but I am using Tomcat 5.0.28 and I have this issue. Was this bug re-introduced

crossContext=true ignored after restart

2005-02-18 Thread Tony Tomcat
After my war file is reloaded I can no longer access other webapp context's. Simple test.jsp follows. It prints everything is fine 1st time war file is deployed. If I rebuild the war file and it is auto reloaded I get cross context failed. test,jsp (does not live in /) % ServletContext

Performance monitoring

2005-04-05 Thread Tony Tomcat
I started writing a Filter for my tomcat to monitor performance but then I started wondering.. Is there a solution already out there that I can use? Can I pull data from Tomcat's MBeanServer? What I would like to know is how long my servlets are taking to run. I need the Min, Max and Average

Re: Performance monitoring

2005-04-05 Thread Tony Tomcat
in XML. there's this other project in jakarta called JMeter. It has a monitor for tomcat5.0.19 and newer that can monitor one or more Tomcat instances. so if you don't count the status servlet and tomcat, nothing exists :) peter On Apr 5, 2005 2:20 PM, Tony Tomcat [EMAIL PROTECTED

org.apache.catalina.valves.RemoteHostValve issue

2005-08-16 Thread Tony Tomcat
Does the RemoteHostValve work? There are no examples in the Tomcat 5 docs and the tomcat 4 docs have the following.. Valve className=org.apache.catalina.valves.RemoteHostValve allow=*.mycompany.com,www.yourcompany.com/ Any regex starting with * fails in Tomcat 5 and you can also see

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Tony Tomcat
-- Forwarded message -- From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Date: Wed, 17 Aug 2005 08:03:45 +0100 Subject: Re: org.apache.catalina.valves.RemoteHostValve issue Tony Tomcat wrote: Does the RemoteHostValve work

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Tony Tomcat
values for getRemoteHost calls. From: *Tony Tomcat [EMAIL PROTECTED]* Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: *Sep 20, 2005 4:35 PM* Subject: *Re: org.apache.catalina.valves.RemoteHostValve issue* Reply | Reply to all | Forward | Print | Add sender to Contacts list | Trash