newbie logging question: JULI or log4j or both?

2010-05-20 Thread Johan Martinez
Hi, I am a developer and new to tomcat administration. I had to look into admin side for some urgent need. Following are my basic questions. I am not sure how is container is configured. How do I find out if I am using JULI or log4j for logging? I see configuration files for both of them. Does

Re: newbie logging question: JULI or log4j or both?

2010-05-21 Thread Johan Martinez
...@unisys.com wrote: From: Johan Martinez [mailto:jmart...@gmail.com] Subject: newbie logging question: JULI or log4j or both? I am a developer and new to tomcat administration. Tomcat version? JVM version? Platform? (Always provide the basics when making inquiries.) How do I find

Re: newbie logging question: JULI or log4j or both?

2010-05-21 Thread Johan Martinez
Subject: RE: newbie logging question: JULI or log4j or both? To: Tomcat Users List users@tomcat.apache.org From: Johan Martinez [mailto:jmart...@gmail.com] Subject: Re: newbie logging question: JULI or log4j or both? Tomcat was not installed using CentOS package manager, but it is a core binary

Heap size for two container sharing single JVM

2010-05-24 Thread Johan Martinez
Hi, I am using Tomcat 5.5.27 core package on CentOS 5.3. I need to add tomcat-6 on the same machine and it will share the same JDK instance. Do I need to setup java heap space separately for both containers? For a single container I am adding heap space (Xmx) option to JAVA_OPTS in catalina.sh

Re: Heap size for two container sharing single JVM

2010-05-31 Thread Johan Martinez
, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Johan Martinez [mailto:jmart...@gmail.com] Subject: Heap size for two container sharing single JVM it will share the same JDK instance. All that means is that the same JDK is used as the process templates for the each JVM instance

tomcat and log4j version - any dependency issues?

2010-06-01 Thread Johan Martinez
Hi, I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are there any dependency/support issues that I should consider? -- jM.

Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Johan Martinez
with DailyRollingFileAppender. Any thoughts? -- jM. On Tue, Jun 1, 2010 at 5:01 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 01.06.2010 23:07, Johan Martinez wrote: Hi, I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right now I have log4j 1.2 version, but I

securing tomcat before public internet access

2010-07-09 Thread Johan Martinez
Hi, I need to allow public internet access to my tomcat server / web application. Although it would be restricted to set of trusted IPs initially, later it may need to be open for public access. Is there any guide for securing tomcat setup or steps needed before allowing public access. Right now

log4j syslog appender - webapp and java package specific

2010-07-11 Thread Johan Martinez
Hi, A message appropriate on log4j mailing list, but wanted to get some feedback from tomcat users list as well. I have log4j 1.2 configured for webapps running in tomcat 5.5.28 using FilenameAppender. The logging is configured such that log4j writes to different files based on webapp and

tomcat access logs

2010-07-17 Thread Johan Martinez
Hi, How do we configure access logs for tomcat so that we get details similar to apache-httpd server? e.g. I would like to view (HTTP) request type , IP address etc. in my logs. Any suggestions or resources on how to configure it? Thanks, jM.

Re: tomcat access logs

2010-07-17 Thread Johan Martinez
Thanks a lot... -- jM. On Sat, Jul 17, 2010 at 4:26 PM, Mark Thomas ma...@apache.org wrote: On 17/07/2010 22:24, Johan Martinez wrote: Hi, How do we configure access logs for tomcat so that we get details similar to apache-httpd server? e.g. I would like to view (HTTP) request type

IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
I was wondering how to configure Request Filters to allow access to admin, manager, status-report, etc... I followed tomcat doc: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Request_Filters and I was able to restrict access by specifying webapp names, e.g.: [[[ Context

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
The first line should have been: I was wondering how to configure Request Filters to s/allow/RESTRICT/ access to admin, manager, status-report, etc.. :) jM. On Sat, Jul 17, 2010 at 11:19 PM, Johan Martinez jmart...@gmail.com wrote: I was wondering how to configure Request Filters to allow

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
works. I am not following how second link is working? Am I missing anything? Thanks, jM. On Sat, Jul 17, 2010 at 11:30 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Johan Martinez [mailto:jmart...@gmail.com] Subject: IP based request filters for admin/manager How

Re: IP based request filters for admin/manager

2010-07-18 Thread Johan Martinez
Thanks for the suggestions Chuck. Below is my reply inline. As you may have guessed out I am a newbie and this is turning out to be really interesting and educational. :) -- jM. On Sun, Jul 18, 2010 at 12:31 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Johan Martinez

Re: IP based request filters for admin/manager

2010-07-18 Thread Johan Martinez
/localhost/ROOT.xml. * In addition to above file , I modified $CATALINA_HOME/conf/Catalina/localhost/manager.xml and $CATALINA_HOME/conf/Catalina/localhost/host-manager.xml as well, but that's not working either. Am I missing anything? -- jM. On Sun, Jul 18, 2010 at 1:00 AM, Johan Martinez jmart

Re: IP based request filters for admin/manager

2010-07-18 Thread Johan Martinez
Started afresh and got it working finally. I tried with and without escape character and both worked. Thanks, jM. On Sun, Jul 18, 2010 at 1:09 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2010/7/18 Shantanu Pavgi pa...@uab.edu: I don't have a solution, but just wanted to comment