Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
* I put following in the $CATALINA_HOME/webapps/ROOT/META-INF/context.xml , but it's not working. Also, this file is not being copied as $CATALINA_HOME/conf/Catalina/localhost/ROOT.xml. * In addition to above file , I modified $CATALINA_HOME/conf/Catalina/localhost/manager.xml and $CA

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: > > > From: Johan Martin

RE: IP based request filters for admin/manager

2010-07-17 Thread Caldarale, Charles R
> From: Johan Martinez [mailto:jmart...@gmail.com] > Subject: Re: IP based request filters for admin/manager > > I don't want to replace the default ROOT webapp, in other > words, I don't want my specific webapp to be ROOT app. A little odd, but if that's your choice... > But I would like to r

Re: IP based request filters for admin/manager

2010-07-17 Thread Johan Martinez
Thanks for the reply Chuck. I don't want to replace the default ROOT webapp, in other words, I don't want my specific webapp to be ROOT app. But I would like to restrict/hide information normally exposed by the default ROOT webapp. I am thinking about renaming ROOT directory to some other-random-n

RE: IP based request filters for admin/manager

2010-07-17 Thread Caldarale, Charles R
> From: Johan Martinez [mailto:jmart...@gmail.com] > Subject: IP based request filters for admin/manager > > How can I deny access to default welcome/index page, > changelog, release-notes etc.? If you're deploying Tomcat in any kind of environment that requires securing access to various compon

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 admin, > ma

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 view (HTTP) request type , IP >

Re: tomcat access logs

2010-07-17 Thread Mark Thomas
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 > address etc. in my logs. Any suggestions or resources on how to configure > it? http://tomc

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 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Mark Thomas
On 17/07/2010 15:21, Edoardo Panfili wrote: > On 17/07/10 15.57, Mark Thomas wrote: >> On 17/07/2010 14:16, Edoardo Panfili wrote: >>> On 17/07/10 12.50, Mark Thomas wrote: The tag lib element is not correct. It should be: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="h

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Edoardo Panfili
On 17/07/10 15.57, Mark Thomas wrote: On 17/07/2010 14:16, Edoardo Panfili wrote: On 17/07/10 12.50, Mark Thomas wrote: The tag lib element is not correct. It should be: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocatio

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Mark Thomas
On 17/07/2010 14:16, Edoardo Panfili wrote: > On 17/07/10 12.50, Mark Thomas wrote: >> The tag lib element is not correct. It should be: >> >> http://java.sun.com/xml/ns/javaee"; >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>xsi:schemaLocation="http://java.sun.com/xml/n

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Edoardo Panfili
On 17/07/10 12.50, Mark Thomas wrote: On 16/07/2010 18:23, Edoardo Panfili wrote: Hy, I did I try with tomcat 7 uploading my application (that works fine with 6.0.26). the application does not starts up and I can see The tag lib element is not correct. It should be: http://java.sun.com/xml/n

Re: Is it possible to disable caching/force reloading of JNDI resources?

2010-07-17 Thread Marco Ehrentreich
Am 17.07.2010 12:56, schrieb Mark Thomas: > On 17/07/2010 09:50, Marco Ehrentreich wrote: >> Accordingly to the documentation an implementation of ObjectFactory >> should be accessed each time a web application looks it up with its JNDI >> key. But that's definitely not the case here. > > What doc

Re: Tomcat7 HTTPS APR Performance

2010-07-17 Thread Mladen Turk
On 07/16/2010 09:08 AM, shivanic wrote: Hello, For comparing performance of Apache Tomcat 7 with APR and Jboss Web Server with APR version 2.1.4 with Tomcat 7 we have done a load test of an app. Your results only show that you have used load testing wrongly. Hitting the server with the simp

Re: Is it possible to disable caching/force reloading of JNDI resources?

2010-07-17 Thread Mark Thomas
On 17/07/2010 09:50, Marco Ehrentreich wrote: > Accordingly to the documentation an implementation of ObjectFactory > should be accessed each time a web application looks it up with its JNDI > key. But that's definitely not the case here. What documentation? Mark --

Re: how to embed tomcat 7

2010-07-17 Thread Mark Thomas
On 16/07/2010 22:09, Caldarale, Charles R wrote: >> From: Ikonne, Ike [mailto:ike_iko...@stercomm.com] >> Subject: how to embed tomcat 7 >> >> can someone point to me on how I could go about embedding >> Tomcat into my application. > > I don't think anyone has properly documented how to do this,

Re: tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-17 Thread Mark Thomas
On 16/07/2010 18:23, Edoardo Panfili wrote: > Hy, > > I did I try with tomcat 7 uploading my application (that works fine with > 6.0.26). the application does not starts up and I can see The tag lib element is not correct. It should be: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http:/

Is it possible to disable caching/force reloading of JNDI resources?

2010-07-17 Thread Marco Ehrentreich
Hi guys, I'm stuck with a JNDI resource object factory problem. Hopefully you can help me out with this issue. My idea was to provide multiple web applications running inside a Tomcat instance with configuration properties from config files located outside the WAR file of the applications. I'm cu