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 wrote: > 2010/7/18 Shantanu Pavgi : > > > > I don't have a solution, but just wanted to comment that examples in the > doc are

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
l 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 wrote: > > Thanks for the suggestions Chuck. > > Below is my reply inline. > > As you may ha

Re: IP based request filters for admin/manager

2010-07-17 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: > > &

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
ostname/manager/html 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 b

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 wrote: > I was wondering how to configure Request Filters to allow access to ad

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.: [[[

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 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

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.

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 package

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 t

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 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 log

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: 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

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 s

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

2010-05-21 Thread Johan Martinez
: Fri, May 21, 2010 at 5:32 PM Subject: RE: newbie logging question: JULI or log4j or both? To: Tomcat Users List > 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, b

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

2010-05-21 Thread Johan Martinez
ay 20, 2010 at 10:54 PM, Caldarale, Charles R < chuck.caldar...@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 versi

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 on