Re: Tomcat and MySQL in Azure Cloud

2010-07-17 Thread Pid
On 17 Jul 2010, at 03:12, Praveen Sripati praveensrip...@gmail.com wrote: Thanks for the reply. 1. The primary advantage of the cloud is scalability. We can increase servers from 1 to 100 within minutes based on the load. So, initially the JDBC URL might have 1 IP and it should be updated

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

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: taglib xmlns=http://java.sun.com/xml/ns/javaee;

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, but the

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

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

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

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: taglib xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

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: taglib xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

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: taglib xmlns=http://java.sun.com/xml/ns/javaee;

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

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

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

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