Re: Monitoring Tomcat - Delta Values

2013-05-04 Thread evernat
Hi Christopher and all, Since JavaMelody is quite often named to monitor Tomcat in this mailing list and is open-source, JavaMelody could be added in the FAQ/Monitoring wiki page indeed. I can send a one phrase description if you want. Or can someone add me in the ContributorsGroup of the Tomcat

Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serve 20 concurrent requests per seconds during business hours, with a page response time of 5 seconds, how would

Re: Monitoring Tomcat - Delta Values

2013-05-04 Thread Konstantin Kolinko
2013/5/4 evernat ever...@free.fr: Hi Christopher and all, Since JavaMelody is quite often named to monitor Tomcat in this mailing list and is open-source, JavaMelody could be added in the FAQ/Monitoring wiki page indeed. I can send a one phrase description if you want. Or can someone add me

Re: Designing for Load on TomCat

2013-05-04 Thread André Warnier
yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serve 20 concurrent requests per seconds during business hours, with a page response

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread André Warnier
Zachery wrote: Dear all, I have installed the apache-tomcat server on my local win8. The port I specified is . Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I can access my service by |http://localhost:| and

Re: Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
Thanks Andre and sorry for not mentioning about the other content that are actually requested by http get's from the jsp served., There is quite a lot of ajax calls and static content and that can be served out of httpd, but as of now it is not. I know not the best way, so i assume i have to

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Zachery
Regards, Zachery On 4 May, 2013, at 20:10, André Warnier a...@ice-sa.com wrote: Zachery wrote: Dear all, I have installed the apache-tomcat server on my local win8. The port I specified is . Additionally, I use the distributed binary version of apache tomcat. Not installing as a

RE: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Konstantin Preißer
Hi Zachery, -Original Message- From: Zachery [mailto:fang...@me.com] Sent: Saturday, May 4, 2013 2:22 PM Well, IF you turn off the Windows Firewall (just for a moment, just for testing), does it work ? Yes! This works! I can access my apache server from other machines! But this

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread André Warnier
Zachery wrote: ... Then only method I find by far is *turning off my windows firewall*! But this is not preferred since the potential security risk. Well, IF you turn off the Windows Firewall (just for a moment, just for testing), does it work ? Yes! This works! I can access my apache

Re: Designing for Load on TomCat

2013-05-04 Thread André Warnier
yogesh hingmire wrote: On Sat, May 4, 2013 at 7:07 AM, André Warnier a...@ice-sa.com wrote: yogesh hingmire wrote: While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the

Re: Designing for Load on TomCat

2013-05-04 Thread Yogesh
Well my question is Is it a common design practice from your experiences to configure one node (maxthreads) for the scenario where all other nodes amongst which the load was distribued fail ? On the cluster part, wrt tomcats talking to each other do you mean the session replication feature or

Re: Apache tomcat server win8 cannot be accessed outside of local host

2013-05-04 Thread Zachery
Hi Konstantin Regards, Zachery On 4 May, 2013, at 22:04, Konstantin Preißer verlag.preis...@t-online.de wrote: Hi Zachery, -Original Message- From: Zachery [mailto:fang...@me.com] Sent: Saturday, May 4, 2013 2:22 PM Well, IF you turn off the Windows Firewall (just for a moment,

proper context usage

2013-05-04 Thread Istvan Devai
Hi all, My problem is, that I'd like to configure a valve for only one deployed application (deployed as a .war file) Here are the ways I've already tried: - Putting the Context element into server.xml. This works, however, after doing this, the manager application won't let me redeploy the

Re: Designing for Load on TomCat

2013-05-04 Thread Mark Thomas
On 04/05/2013 16:01, Yogesh wrote: Well my question is Is it a common design practice from your experiences to configure one node (maxthreads) for the scenario where all other nodes amongst which the load was distribued fail ? You design for whatever level of resilience you need to meet the

Re: proper context usage

2013-05-04 Thread Mark Thomas
On 04/05/2013 17:15, Istvan Devai wrote: Questions: - Any idea how to have an external, application specific (that is, non-shared) context file that is not deleted on redeployment in the manager? - Or maybe deploy the app in a different way that retains the app-specific context file? - Any

Re: Designing for Load on TomCat

2013-05-04 Thread David Kerber
On 5/4/2013 1:24 PM, Mark Thomas wrote: On 04/05/2013 16:01, Yogesh wrote: Well my question is Is it a common design practice from your experiences to configure one node (maxthreads) for the scenario where all other nodes amongst which the load was distribued fail ? You design for whatever

Status 204 (no content) and Content-Type header

2013-05-04 Thread Rossen Stoyanchev
It appears that Tomcat ignores the Content-Type header when the status is set to 204 (No Content). I can see the rational for that, however is there a strong reason why Tomcat should care if it is set by the application? There are some corner cases [1]. Rossen [1]

Re: Status 204 (no content) and Content-Type header

2013-05-04 Thread Mark Thomas
On 04/05/2013 20:43, Rossen Stoyanchev wrote: It appears that Tomcat ignores the Content-Type header when the status is set to 204 (No Content). Correct. It happens in AbstractHttp11Processor.prepareResponse() I can see the rational for that, however is there a strong reason why Tomcat

Re: Status 204 (no content) and Content-Type header

2013-05-04 Thread Mark Thomas
On 04/05/2013 21:21, Mark Thomas wrote: On 04/05/2013 20:43, Rossen Stoyanchev wrote: It appears that Tomcat ignores the Content-Type header when the status is set to 204 (No Content). Correct. It happens in AbstractHttp11Processor.prepareResponse() I can see the rational for that,

Some help with Security Manager

2013-05-04 Thread Alejandro Garcia
Hi, I’m using Tomcat with JSF, ICEFaces, Spring and JPA. The configuracion and the app work very well when I deploy it with the security managed disabled. The problem is when I enable the security manager, I can’t deploy the app. In the I can see the next trace: INFO: Desplieque del